0.0
NA
CVE-2026-74658
futex: Prevent robust futex exit race some more
Description

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 ]

INFO

Published Date :

Aug. 22, 2026, 4:16 p.m.

Last Modified :

Aug. 22, 2026, 4:16 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-74658 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Address a race condition in the futex protocol to prevent indefinite sleeping.
  • Apply the patch to resolve the futex race condition.
  • Update the Linux kernel to the latest stable version.
  • Monitor system stability after applying the fix.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-74658 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-74658 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-74658 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-74658 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 22, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'ca16d5bee59807bf04deaab0a8eccecd5061528c', 'lessThan': '83b0f71d5a313a765754acab51d2ecc5de76e0b9', 'versionType': 'git'}, {'status': 'affected', 'version': 'ca16d5bee59807bf04deaab0a8eccecd5061528c', 'lessThan': 'a1c2b7b86a946b6b172bce44d74553da2323a36c', 'versionType': 'git'}, {'status': 'affected', 'version': 'ca16d5bee59807bf04deaab0a8eccecd5061528c', 'lessThan': '33bfa85458105d6169ebdb697f692b8bb8025bae', 'versionType': 'git'}, {'status': 'affected', 'version': 'ca16d5bee59807bf04deaab0a8eccecd5061528c', 'lessThan': 'aa5c571901c6b22b58373693a4bf889ecab11ff5', 'versionType': 'git'}, {'status': 'affected', 'version': 'ca16d5bee59807bf04deaab0a8eccecd5061528c', 'lessThan': '925628656b73b70930972ccde421de4f758d8650', 'versionType': 'git'}, {'status': 'affected', 'version': 'ca16d5bee59807bf04deaab0a8eccecd5061528c', 'lessThan': '7b8c53263f8878bdd12c87e147ac6feca5c05211', 'versionType': 'git'}, {'status': 'affected', 'version': 'ca16d5bee59807bf04deaab0a8eccecd5061528c', 'lessThan': '7cf710e70f9bb8ea75f759ebed09871801315992', 'versionType': 'git'}, {'status': 'affected', 'version': 'ca16d5bee59807bf04deaab0a8eccecd5061528c', 'lessThan': '6d4514ca9cdf61fec4ec634cf50386f6f7e69748', 'versionType': 'git'}, {'status': 'affected', 'version': '8dd558881e0f4d6942c19bd8f7b1a7c19becb59e', 'versionType': 'git'}, {'status': 'affected', 'version': 'b90aa237f469c3575190a5e6a855b76ad1d2ce94', 'versionType': 'git'}, {'status': 'affected', 'version': '3e24098da750991f75819069c79e090dfd029219', 'versionType': 'git'}, {'status': 'affected', 'version': '2819f4030f43057238992a4adcd950d7c95aff65', 'versionType': 'git'}, {'status': 'affected', 'version': '2c60b44d8ba9d62c2693d2692f118177f212b1a8', 'versionType': 'git'}, {'status': 'affected', 'version': '82ca3ab31b9cf23b86436a85381e4c5757bc6b80', 'versionType': 'git'}, {'status': 'affected', 'version': '3.16.82', 'lessThan': '3.17', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.9.264', 'lessThan': '4.10', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.14.158', 'lessThan': '4.15', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.19.87', 'lessThan': '4.20', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.3.14', 'lessThan': '5.4', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.4.1', 'lessThan': '5.5', 'versionType': 'semver'}], 'programFiles': ['kernel/futex/core.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.265', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.216', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.183', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.152', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.104', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.45', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.9', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['kernel/futex/core.c'], 'defaultStatus': 'affected'}]
    Added Description 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 ]
    Added Reference https://git.kernel.org/stable/c/33bfa85458105d6169ebdb697f692b8bb8025bae
    Added Reference https://git.kernel.org/stable/c/6d4514ca9cdf61fec4ec634cf50386f6f7e69748
    Added Reference https://git.kernel.org/stable/c/7b8c53263f8878bdd12c87e147ac6feca5c05211
    Added Reference https://git.kernel.org/stable/c/7cf710e70f9bb8ea75f759ebed09871801315992
    Added Reference https://git.kernel.org/stable/c/83b0f71d5a313a765754acab51d2ecc5de76e0b9
    Added Reference https://git.kernel.org/stable/c/925628656b73b70930972ccde421de4f758d8650
    Added Reference https://git.kernel.org/stable/c/a1c2b7b86a946b6b172bce44d74553da2323a36c
    Added Reference https://git.kernel.org/stable/c/aa5c571901c6b22b58373693a4bf889ecab11ff5
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.