CVE-2024-50010: exec: don't WARN for racy path_noexec check
Vulnerability summary
CVE-2024-50010 is a medium (CVSS 4.7) vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 14% of scored vulnerabilities.
Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 28 · Related 28Timeline
- 21-10-2024PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: exec: don't WARN for racy path_noexec check Both i_mode and noexec checks wrapped in WARN_ON stem from an artifact of the previous implementation. They used to legitimately check for the condition, but that got moved up in two commits: 633fb6ac3980 ("exec: move S_ISREG() check earlier") 0fd338b2d2cd ("exec: move path_noexec() check earlier") Instead of being removed said checks are WARN_ON'ed instead, which has some debug value. However, the spurious path_noexec check is racy, resulting in unwarranted warnings should someone race with setting the noexec flag. One can note there is more to perm-checking whether execve is allowed and none of the conditions are guaranteed to still hold after they were tested for. Additionally this does not validate whether the code path did any perm checking to begin with -- it will pass if the inode happens to be regular. Keep the redundant path_noexec() check even though it's mindless nonsense checking for guarantee that isn't given so drop the WARN. Reword the commentary and do small tidy ups while here. [brauner: keep redundant path_noexec() check]
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu123 products
- linux< 5.15.0-133.144 | < 6.8.0-58.60
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1078.85 | < 6.8.0-1027.29
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < c9b77438077d5a20c79ead95bcdaf9bd4797baaf | ≥ 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < b723f96407a0a078cf75970e4dbf16b46d286a61 | ≥ 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0bdf77be2330062b3a64f2bec39f62ab874a6796 | ≥ 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0d16f53c91111cec914f0811fcc526a2ba77b20d | ≥ 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6 | 5.9
- linux_kernel< 6.11.3
Debian1 product
- linux< 6.1.115-1 | < 6.11.4-1
3 vendors · 126 products