CVEBrief

Home / Linux / Linux / CVE-2025-40341

CVE-2025-40341: is it exploited, and which versions of Linux are affected and fixed?

CVE-2025-40341 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: Linux from 2.6.17 until the fixed versions (CVE record by Linux). Fixed in 6.1.159, 6.6.117, 6.12.58, 6.17.8 and 1 more (CVE record by Linux).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 28, 2026, 17:36 UTC and NVD November 19, 2026, 07:15 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:38 UTC
Affected
Linux from 2.6.17 until the fixed versions
CVE record by Linux
Fixed in
6.1.159, 6.6.117, 6.12.58, 6.17.8 and 1 more
CVE record by Linux
Exploit odds (EPSS)
0.25% in 30 days
higher than 17% of CVEs; FIRST, December 2, 2026

What is CVE-2025-40341?

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.

From the CVE record by Linux, last updated May 11, 2026, 21:47 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxnot stated
LinuxLinuxfrom 2.6.17 until the fixed versions6.1.159, 6.6.117, 6.12.58, 6.17.8, 6.18

As the CVE record by Linux states it, last updated May 11, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Is CVE-2025-40341 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.25% probability of exploitation activity in the next 30 days, percentile 16.9 (FIRST EPSS, scores of December 2, 2026)

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 16, 2025
Published
December 9, 2025, 04:09 UTC
CVE record updated
May 11, 2026, 21:47 UTC by Linux
NVD
Deferred, last modified October 14, 2026, 21:10 UTC
Last checked
CVE list November 28, 2026, 17:36 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2025-40341

Is CVE-2025-40341 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.25% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Linux are affected by CVE-2025-40341?

Linux from 2.6.17 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2025-40341?

6.1.159, 6.6.117, 6.12.58, 6.17.8 and 6.18, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

Where is the official record of CVE-2025-40341?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.