CVE-2026-138894: resource: fix lost wakeup when waiting for a muxed region

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

resource: fix lost wakeup when waiting for a muxed region

A task waiting for a muxed region can sleep forever in TASKUNINTERRUPTIBLE even though the region it waits for is already free. requestregionlocked() queues itself on muxedresourcewait and drops resourcelock before setting TASKUNINTERRUPTIBLE, while releaseregion() wakes the queue after dropping the same lock. A wakeup landing in between finds TASKRUNNING, does not match TASKNORMAL and is discarded; callers hold a muxed region only across a bounded transaction, so no further release is coming. The task is unkillable and its caller never returns.

The window is one store wide, but an interrupt is enough to hold the waiter in it, and the machine this was seen on runs PREEMPTDYNAMIC in its voluntary default. Since v6.11 spd5118 exports the DDR5 sensors of AMD boards through i2c-piix4, which takes a muxed region per SMBus transaction; a third of the in-tree users of requestmuxedregion() are hwmon drivers, so reading a world-readable attribute is all an unprivileged user needs to drive the contention. The blocked task sleeps holding the i2c adapter bus lock, and 27 more piled up behind it.

Reproduced by building a kernel with the two orderings selectable at runtime and a 2ms delay inside the window. Switching only that knob, a two-thread barriered reproducer loses the wakeup 200 times out of 200 before the fix and 0 out of 200 after it; without the delay it goes 20000 times through the wait path and loses none.

Fix it by setting the task state before dropping resourcelock, as preparetowait() does: the releasing side needs resourcelock to unlink the resource, so it cannot reach the wakeup before the state is published.

Affected Software

12 affected componentsFixes available
Linux Linux kernel
linux/kernel>=2.6.35<5.10.275
5.10.275
linux/kernel>=5.11.0<5.15.226
5.15.226
linux/kernel>=5.16.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.117
6.12.117
linux/kernel>=6.13.0<6.18.63
6.18.63
linux/kernel>=6.19.0<7.3.4
7.3.4
debian/linux*
debian/linux<6.12.117-1
6.12.117-1
debian/linux<7.3.4-1
7.3.4-1
debian/linux<=6.1.176-1, <=6.1.192-3
6.12.117-17.3.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.275
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.226
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.117
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.63
  7. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.4
  8. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1
  9. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.4-1
  10. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.117-1Fixed in 7.3.4-1
  11. Compensating control

    In Linux kernel __request_region_locked(), set the task state before dropping resource_lock.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:25 PM
Data Sourced
via MITRE·01:25 PM
Description
Data Sourced
via OSV·01:25 PM
DescriptionAffected Software
Data Sourced
via NVD·02:17 PM
Description

Frequently Asked Questions

1

Who can realistically trigger this issue?

On affected systems where a muxed region is used by a world-readable hardware-monitoring attribute, an unprivileged user can trigger contention simply by reading that attribute. The described example is DDR5 sensor access on AMD boards through i2c-piix4 and spd5118, available since v6.11.

2

What conditions are needed for exploitation?

A task must be waiting for a muxed region while another task releases that region during the narrow interval before the waiter enters TASK_UNINTERRUPTIBLE. An interrupt can prolong this interval enough for the lost wakeup to occur.

3

What is the operational impact if a system is affected?

The waiting task can remain indefinitely in TASK_UNINTERRUPTIBLE even after the region is free, making it unkillable. Its caller never returns because no later release may occur to wake it.

4

Does the reported configuration involve nondefault scheduling behavior?

No. The issue was observed on a machine using PREEMPT_DYNAMIC in its voluntary default mode.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203