CVE-2024-50010
exec: don't WARN for racy path_noexec check
Mitigation
- Upgrade Linux to 0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6 or later.
Who should check
- Anyone running Linux >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < c9b77438077d5a20c79ead95bcdaf9bd4797baaf; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < b723f96407a0a078cf75970e4dbf16b46d286a61; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0bdf77be2330062b3a64f2bec39f62ab874a6796; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0d16f53c91111cec914f0811fcc526a2ba77b20d; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6
- Anyone running Linux 5.9
Vulnerability facts
- Affected
- Linux >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < c9b77438077d5a20c79ead95bcdaf9bd4797baaf; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < b723f96407a0a078cf75970e4dbf16b46d286a61; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0bdf77be2330062b3a64f2bec39f62ab874a6796; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0d16f53c91111cec914f0811fcc526a2ba77b20d; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6; Linux 5.9
- Fixed in
- Linux 0bdf77be2330062b3a64f2bec39f62ab874a6796, Linux 0d16f53c91111cec914f0811fcc526a2ba77b20d, Linux 0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
- Modified
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]
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < c9b77438077d5a20c79ead95bcdaf9bd4797baaf; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < b723f96407a0a078cf75970e4dbf16b46d286a61; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0bdf77be2330062b3a64f2bec39f62ab874a6796; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0d16f53c91111cec914f0811fcc526a2ba77b20d; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6 | — | cvelist |
| Linux | 5.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-50010. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-50010.md Affected: Linux >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < c9b77438077d5a20c79ead95bcdaf9bd4797baaf; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < b723f96407a0a078cf75970e4dbf16b46d286a61; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0bdf77be2330062b3a64f2bec39f62ab874a6796; >= 0fd338b2d2cdf827091ae81… Fixed in: Linux 0bdf77be2330062b3a64f2bec39f62ab874a6796, Linux 0d16f53c91111cec914f0811fcc526a2ba77b20d, Linux 0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2024-50010 being exploited?
There is no confirmed exploitation: CVE-2024-50010 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-50010?
Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-50010?
Linux >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < c9b77438077d5a20c79ead95bcdaf9bd4797baaf; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < b723f96407a0a078cf75970e4dbf16b46d286a61; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0bdf77be2330062b3a64f2bec39f62ab874a6796; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0d16f53c91111cec914f0811fcc526a2ba77b20d; >= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, < 0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6; Linux 5.9.
Is there a fix for CVE-2024-50010?
Yes. Fixed in Linux 0bdf77be2330062b3a64f2bec39f62ab874a6796, Linux 0d16f53c91111cec914f0811fcc526a2ba77b20d, Linux 0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6. Upgrade Linux to 0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6 or later.
How do I check if I'm affected by CVE-2024-50010?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.