{"api_version":"1","generated_at":"2026-11-30T18:48:01+00:00","cve":"CVE-2026-138894","urls":{"html":"https://cve.report/CVE-2026-138894","api":"https://cve.report/api/cve/CVE-2026-138894.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-138894","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-138894"},"summary":{"title":"resource: fix lost wakeup when waiting for a muxed region","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nresource: fix lost wakeup when waiting for a muxed region\n\nA task waiting for a muxed region can sleep forever in\nTASK_UNINTERRUPTIBLE even though the region it waits for is already free. \n__request_region_locked() queues itself on muxed_resource_wait and drops\nresource_lock before setting TASK_UNINTERRUPTIBLE, while\n__release_region() wakes the queue after dropping the same lock.  A wakeup\nlanding in between finds TASK_RUNNING, does not match TASK_NORMAL and is\ndiscarded; callers hold a muxed region only across a bounded transaction,\nso no further release is coming.  The task is unkillable and its caller\nnever returns.\n\nThe window is one store wide, but an interrupt is enough to hold the\nwaiter in it, and the machine this was seen on runs PREEMPT_DYNAMIC in its\nvoluntary default.  Since v6.11 spd5118 exports the DDR5 sensors of AMD\nboards through i2c-piix4, which takes a muxed region per SMBus\ntransaction; a third of the in-tree users of request_muxed_region() are\nhwmon drivers, so reading a world-readable attribute is all an\nunprivileged user needs to drive the contention.  The blocked task sleeps\nholding the i2c adapter bus lock, and 27 more piled up behind it.\n\nReproduced by building a kernel with the two orderings selectable at\nruntime and a 2ms delay inside the window.  Switching only that knob, a\ntwo-thread barriered reproducer loses the wakeup 200 times out of 200\nbefore the fix and 0 out of 200 after it; without the delay it goes 20000\ntimes through the wait path and loses none.\n\nFix it by setting the task state before dropping resource_lock, as\nprepare_to_wait() does: the releasing side needs resource_lock to unlink\nthe resource, so it cannot reach the wakeup before the state is published.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:17:47","updated_at":"2026-11-30 14:17:47"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/98d3eeea3ca04261283e206565868b1176bc4244","name":"https://git.kernel.org/stable/c/98d3eeea3ca04261283e206565868b1176bc4244","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/eae5341c7aedf629e72463162f84d64b92bf913a","name":"https://git.kernel.org/stable/c/eae5341c7aedf629e72463162f84d64b92bf913a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/415179d0ef2515a9541dd9f70536f89a1c454125","name":"https://git.kernel.org/stable/c/415179d0ef2515a9541dd9f70536f89a1c454125","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6fa7a245a6b3df2134b61ed00f19e24b7b33fac5","name":"https://git.kernel.org/stable/c/6fa7a245a6b3df2134b61ed00f19e24b7b33fac5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/85487b21e1164f484f312f05b8a8fb3b98b15d25","name":"https://git.kernel.org/stable/c/85487b21e1164f484f312f05b8a8fb3b98b15d25","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/405c00e43a9c72a0b9b318cc2d2e298386ffb58e","name":"https://git.kernel.org/stable/c/405c00e43a9c72a0b9b318cc2d2e298386ffb58e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a1b937d0e196b32a6a99022b764f2c986e961838","name":"https://git.kernel.org/stable/c/a1b937d0e196b32a6a99022b764f2c986e961838","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/60ea6ea084c60bb31c4980bf34b398e5ab35d3d9","name":"https://git.kernel.org/stable/c/60ea6ea084c60bb31c4980bf34b398e5ab35d3d9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-138894","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138894","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0 eae5341c7aedf629e72463162f84d64b92bf913a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0 6fa7a245a6b3df2134b61ed00f19e24b7b33fac5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0 98d3eeea3ca04261283e206565868b1176bc4244 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0 85487b21e1164f484f312f05b8a8fb3b98b15d25 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0 415179d0ef2515a9541dd9f70536f89a1c454125 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0 a1b937d0e196b32a6a99022b764f2c986e961838 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0 60ea6ea084c60bb31c4980bf34b398e5ab35d3d9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0 405c00e43a9c72a0b9b318cc2d2e298386ffb58e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.35","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.35 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/resource.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"eae5341c7aedf629e72463162f84d64b92bf913a","status":"affected","version":"8b6d043b7ee2d1b819dc833d677ea2aead71a0c0","versionType":"git"},{"lessThan":"6fa7a245a6b3df2134b61ed00f19e24b7b33fac5","status":"affected","version":"8b6d043b7ee2d1b819dc833d677ea2aead71a0c0","versionType":"git"},{"lessThan":"98d3eeea3ca04261283e206565868b1176bc4244","status":"affected","version":"8b6d043b7ee2d1b819dc833d677ea2aead71a0c0","versionType":"git"},{"lessThan":"85487b21e1164f484f312f05b8a8fb3b98b15d25","status":"affected","version":"8b6d043b7ee2d1b819dc833d677ea2aead71a0c0","versionType":"git"},{"lessThan":"415179d0ef2515a9541dd9f70536f89a1c454125","status":"affected","version":"8b6d043b7ee2d1b819dc833d677ea2aead71a0c0","versionType":"git"},{"lessThan":"a1b937d0e196b32a6a99022b764f2c986e961838","status":"affected","version":"8b6d043b7ee2d1b819dc833d677ea2aead71a0c0","versionType":"git"},{"lessThan":"60ea6ea084c60bb31c4980bf34b398e5ab35d3d9","status":"affected","version":"8b6d043b7ee2d1b819dc833d677ea2aead71a0c0","versionType":"git"},{"lessThan":"405c00e43a9c72a0b9b318cc2d2e298386ffb58e","status":"affected","version":"8b6d043b7ee2d1b819dc833d677ea2aead71a0c0","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/resource.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.35"},{"lessThan":"2.6.35","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.35","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nresource: fix lost wakeup when waiting for a muxed region\n\nA task waiting for a muxed region can sleep forever in\nTASK_UNINTERRUPTIBLE even though the region it waits for is already free. \n__request_region_locked() queues itself on muxed_resource_wait and drops\nresource_lock before setting TASK_UNINTERRUPTIBLE, while\n__release_region() wakes the queue after dropping the same lock.  A wakeup\nlanding in between finds TASK_RUNNING, does not match TASK_NORMAL and is\ndiscarded; callers hold a muxed region only across a bounded transaction,\nso no further release is coming.  The task is unkillable and its caller\nnever returns.\n\nThe window is one store wide, but an interrupt is enough to hold the\nwaiter in it, and the machine this was seen on runs PREEMPT_DYNAMIC in its\nvoluntary default.  Since v6.11 spd5118 exports the DDR5 sensors of AMD\nboards through i2c-piix4, which takes a muxed region per SMBus\ntransaction; a third of the in-tree users of request_muxed_region() are\nhwmon drivers, so reading a world-readable attribute is all an\nunprivileged user needs to drive the contention.  The blocked task sleeps\nholding the i2c adapter bus lock, and 27 more piled up behind it.\n\nReproduced by building a kernel with the two orderings selectable at\nruntime and a 2ms delay inside the window.  Switching only that knob, a\ntwo-thread barriered reproducer loses the wakeup 200 times out of 200\nbefore the fix and 0 out of 200 after it; without the delay it goes 20000\ntimes through the wait path and loses none.\n\nFix it by setting the task state before dropping resource_lock, as\nprepare_to_wait() does: the releasing side needs resource_lock to unlink\nthe resource, so it cannot reach the wakeup before the state is published."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:25:58.668Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/eae5341c7aedf629e72463162f84d64b92bf913a"},{"url":"https://git.kernel.org/stable/c/6fa7a245a6b3df2134b61ed00f19e24b7b33fac5"},{"url":"https://git.kernel.org/stable/c/98d3eeea3ca04261283e206565868b1176bc4244"},{"url":"https://git.kernel.org/stable/c/85487b21e1164f484f312f05b8a8fb3b98b15d25"},{"url":"https://git.kernel.org/stable/c/415179d0ef2515a9541dd9f70536f89a1c454125"},{"url":"https://git.kernel.org/stable/c/a1b937d0e196b32a6a99022b764f2c986e961838"},{"url":"https://git.kernel.org/stable/c/60ea6ea084c60bb31c4980bf34b398e5ab35d3d9"},{"url":"https://git.kernel.org/stable/c/405c00e43a9c72a0b9b318cc2d2e298386ffb58e"}],"title":"resource: fix lost wakeup when waiting for a muxed region","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-138894","datePublished":"2026-11-30T13:25:58.668Z","dateReserved":"2026-11-30T13:22:15.902Z","dateUpdated":"2026-11-30T13:25:58.668Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:17:47","lastModifiedDate":"2026-11-30 14:17:47","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"138894","Ordinal":"1","Title":"resource: fix lost wakeup when waiting for a muxed region","CVE":"CVE-2026-138894","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"138894","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nresource: fix lost wakeup when waiting for a muxed region\n\nA task waiting for a muxed region can sleep forever in\nTASK_UNINTERRUPTIBLE even though the region it waits for is already free. \n__request_region_locked() queues itself on muxed_resource_wait and drops\nresource_lock before setting TASK_UNINTERRUPTIBLE, while\n__release_region() wakes the queue after dropping the same lock.  A wakeup\nlanding in between finds TASK_RUNNING, does not match TASK_NORMAL and is\ndiscarded; callers hold a muxed region only across a bounded transaction,\nso no further release is coming.  The task is unkillable and its caller\nnever returns.\n\nThe window is one store wide, but an interrupt is enough to hold the\nwaiter in it, and the machine this was seen on runs PREEMPT_DYNAMIC in its\nvoluntary default.  Since v6.11 spd5118 exports the DDR5 sensors of AMD\nboards through i2c-piix4, which takes a muxed region per SMBus\ntransaction; a third of the in-tree users of request_muxed_region() are\nhwmon drivers, so reading a world-readable attribute is all an\nunprivileged user needs to drive the contention.  The blocked task sleeps\nholding the i2c adapter bus lock, and 27 more piled up behind it.\n\nReproduced by building a kernel with the two orderings selectable at\nruntime and a 2ms delay inside the window.  Switching only that knob, a\ntwo-thread barriered reproducer loses the wakeup 200 times out of 200\nbefore the fix and 0 out of 200 after it; without the delay it goes 20000\ntimes through the wait path and loses none.\n\nFix it by setting the task state before dropping resource_lock, as\nprepare_to_wait() does: the releasing side needs resource_lock to unlink\nthe resource, so it cannot reach the wakeup before the state is published.","Type":"Description","Title":"resource: fix lost wakeup when waiting for a muxed region"}]}}}