CVE-2026-138894

resource: fix lost wakeup when waiting for a muxed region

No CVSS score yet EPSS 0.22%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-138894

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138894 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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 TASK_UNINTERRUPTIBLE even though the region it waits for is already free. __request_region_locked() queues itself on muxed_resource_wait and drops resource_lock before setting TASK_UNINTERRUPTIBLE, while __release_region() wakes the queue after dropping the same lock. A wakeup landing in between finds TASK_RUNNING, does not match TASK_NORMAL 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 PREEMPT_DYNAMIC 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 request_muxed_region() 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 resource_lock, as prepare_to_wait() does: the releasing side needs resource_lock to unlink the resource, so it cannot reach the wakeup before the state is published.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0, before eae5341c7aedf629e72463162f84d64b92bf913a
affected from 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0, before 6fa7a245a6b3df2134b61ed00f19e24b7b33fac5
affected from 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0, before 98d3eeea3ca04261283e206565868b1176bc4244
affected from 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0, before 85487b21e1164f484f312f05b8a8fb3b98b15d25
affected from 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0, before 415179d0ef2515a9541dd9f70536f89a1c454125
affected from 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0, before a1b937d0e196b32a6a99022b764f2c986e961838
affected from 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0, before 60ea6ea084c60bb31c4980bf34b398e5ab35d3d9
affected from 8b6d043b7ee2d1b819dc833d677ea2aead71a0c0, before 405c00e43a9c72a0b9b318cc2d2e298386ffb58e
Other versions: unaffected
Linux
affected 2.6.35
unaffected before 2.6.35
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.63 up to and including 6.18.*
unaffected from 7.3.4 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138894 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138894

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-138894
trivy image --scanners vuln IMAGE | grep CVE-2026-138894

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-138894 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.