2

CVE-2025-40341: futex: Don't leak robust_list pointer on exec race

Deferred
AliasesUBUNTU-CVE-2025-40341DEBIAN-CVE-2025-40341
Published 09-12-2025Last modified 11-05-2026

Vulnerability summary

CVE-2025-40341 is a low (CVSS 2.0) vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
2.0/10
010
Low · v4.0 (OSV · Ubuntu), selected by version preference
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 29 · Related 26

Timeline

  1. 09-12-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: futex: Don't leak robust_list pointer on exec race sys_get_robust_list() and compat_get_robust_list() use ptrace_may_access() to check if the calling task is allowed to access another task's robust_list pointer. This check is racy against a concurrent exec() in the target process. During exec(), a task may transition from a non-privileged binary to a privileged one (e.g., setuid binary) and its credentials/memory mappings may change. If get_robust_list() performs ptrace_may_access() before this transition, it may erroneously allow access to sensitive information after the target becomes privileged. A racy access allows an attacker to exploit a window during which ptrace_may_access() passes before a target process transitions to a privileged state via exec(). For example, consider a non-privileged task T that is about to execute a setuid-root binary. An attacker task A calls get_robust_list(T) while T is still unprivileged. Since ptrace_may_access() checks permissions based on current credentials, it succeeds. However, if T begins exec immediately afterwards, it becomes privileged and may change its memory mappings. Because get_robust_list() proceeds to access T->robust_list without synchronizing with exec() it may read user-space pointers from a now-privileged process. This violates the intended post-exec access restrictions and could expose sensitive memory addresses or be used as a primitive in a larger exploit chain. Consequently, the race can lead to unauthorized disclosure of information across privilege boundaries and poses a potential security risk. Take a read lock on signal->exec_update_lock prior to invoking ptrace_may_access() and accessing the robust_list/compat_robust_list. This ensures that the target task's exec state remains stable during the check, allowing for consistent and synchronized validation of credentials.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

14%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.23% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu154 products
  • linuxAll versions (No fix recorded) | < 6.8.0-106.106 | < 6.17.0-14.14
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1050.53 | < 6.17.0-1007.7
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.1.159-1 | < 6.12.63-1 | < 6.17.8-1
Linux1 product
  • linux≥ 0771dfefc9e538f077d0b43b6dec19a5a67d0e70, < 6511984d1aa1360181bcafb1ca75df7f291ef237 | ≥ 0771dfefc9e538f077d0b43b6dec19a5a67d0e70, < 4aced32596ead1820b7dbd8e40d30b30dc1f3ad4 | ≥ 0771dfefc9e538f077d0b43b6dec19a5a67d0e70, < 3b4222494489f6d4b8705a496dab03384b7ca998 | ≥ 0771dfefc9e538f077d0b43b6dec19a5a67d0e70, < b524455a51feb6013df3a5dba3160487b2e8e22a | ≥ 0771dfefc9e538f077d0b43b6dec19a5a67d0e70, < 6b54082c3ed4dc9821cdf0edb17302355cc5bb45 | 2.6.17

3 vendors · 156 products

References

25 links
Show all 25 references