VDB

CVE-2026-74658

CVE-2026-74658 PUBLISHED

futex: Prevent robust futex exit race some more

Reported by linux · Published August 22, 2026

In the Linux kernel, the following vulnerability has been resolved: futex: Prevent robust futex exit race some more A robust futex unlock stores 0 over the whole futex value - wiping FUTEX_WAITERS - and wakes a single waiter. That wakeup is a one-shot notification: the protocol relies on its recipient to either acquire the futex (and eventually unlock while aware of the remaining contention) or re-arm FUTEX_WAITERS before sleeping again. If the woken waiter is killed before it can do either, the kernel must jump in and wake the next task down the line. This is a known complication of the futex protocol with a previous partial fix in commit ca16d5bee598 ("futex: Prevent robust futex exit race"). Unfortunately, that fix is insufficient. If a third task re-acquired the futex through the uncontended fast path in the meantime, the notification is lost: robust exit processing sees that it is owned by another task and does nothing, while the new owner sees no FUTEX_WAITERS when it unlocks and wakes nobody. The remaining waiters sleep forever behind a free futex: A owns the futex, B and C sleep in FUTEX_WAIT uval == A | FUTEX_WAITERS A robust unlock: store 0, FUTEX_WAKE(1) wakes B uval == 0 D fast path acquire: cmpxchg(0 -> D) uval == D, no FUTEX_WAITERS B killed before acting on the wakeup B exit walk, pending op: owner D != B -> no action D unlock: no FUTEX_WAITERS -> no wake C sleeps forever This is clearly a shortcoming in the implementation, which fails to keep the FUTEX_WAITERS bit consistent. Work around this by augmenting the robust list exit processing to also perform the extra wakeup if the futex word is owned by another thread but FUTEX_WAITERS is not set. This does not fix the problem of a non-contended take over/release and free sequence, which has been discussed for years and has been addressed by commit 3ca9595d9fb6 ("futex: Add support for unlocking robust futexes") and subsequent changes, but failed to take the problem described above into account. A more complete solution which is based on the in kernel unlock of contended robust futexes has been discussed in the context of this change and should show up in mainline sooner than later. [ tglx: Amend change log slightly and fixup coding style ]

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12Amazon Linux1:6.12.110-135.201.amzn2023
perf6.18Amazon Linux1:6.18.48-107.148.amzn2023
kernel-livepatch-6.1.186-228.374Amazon Linux1:1.0-0.amzn2023
kernel6.12-develAmazon Linux1:6.12.110-135.201.amzn2023
kernel-livepatch-6.12.110-135.201Amazon Linux1:1.0-0.amzn2023
kernel6.18Amazon Linux1:6.18.48-107.148.amzn2023
LinuxLinux5.5

Affected products

VendorProductVersions
LinuxLinuxca16d5bee59807bf04deaab0a8eccecd5061528c, ca16d5bee59807bf04deaab0a8eccecd5061528c, ca16d5bee59807bf04deaab0a8eccecd5061528c
LinuxLinux5.5, 0, 5.10.265
amazon:2023kernel6.120
amazon:2023perf6.180
amazon:2023kernel-livepatch-6.1.186-228.3740
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023kernel6.180
LinuxLinux6.1.183, 5.15.216, 5.10.265
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023python3-perf6.120
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-tools0
amazon:2023python3-perf0
amazon:2023kernel-modules-extra0
linuxlinux_kernel5.3.14, 5.4.1, 4.14.158

…and 18 more

Timeline

  • Aug 22, 2026 Coalition ESS Score
  • Aug 22, 2026 CVE Published
  • Aug 23, 2026 EPSS Score (13 in total, the first dated here)
  • Sep 3, 2026 Security Advisory
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74658
vulnetix vdb fixes CVE-2026-74658

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74658/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›