# CVE-2024-50010: exec: don't WARN for racy path\_noexec check

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **Published:** 2024-10-21T18:54:02.974Z
- **Modified:** 2026-10-15T01:19:04.583Z

## Who should check

- Anyone running Linux \>= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, \< c9b77438077d5a20c79ead95bcdaf9bd4797baaf; \>= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, \< b723f96407a0a078cf75970e4dbf16b46d286a61; \>= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, \< 0bdf77be2330062b3a64f2bec39f62ab874a6796; \>= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, \< 0d16f53c91111cec914f0811fcc526a2ba77b20d; \>= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, \< 0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6
- Anyone running Linux 5.9

## 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

- Linux: \>= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, \< c9b77438077d5a20c79ead95bcdaf9bd4797baaf; \>= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, \< b723f96407a0a078cf75970e4dbf16b46d286a61; \>= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, \< 0bdf77be2330062b3a64f2bec39f62ab874a6796; \>= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, \< 0d16f53c91111cec914f0811fcc526a2ba77b20d; \>= 0fd338b2d2cdf827091ae819ae90ad760b94ad0c, \< 0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6 (cvelist)
- Linux: 5.9 (cvelist)

## Mitigation

- Upgrade Linux to 0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/b723f96407a0a078cf75970e4dbf16b46d286a61>
- patch: <https://git.kernel.org/stable/c/0bdf77be2330062b3a64f2bec39f62ab874a6796>
- patch: <https://git.kernel.org/stable/c/0d16f53c91111cec914f0811fcc526a2ba77b20d>
- patch: <https://git.kernel.org/stable/c/0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6>
- other: <https://git.kernel.org/stable/c/c9b77438077d5a20c79ead95bcdaf9bd4797baaf>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50010>

HTML: <https://flawdb.com/CVE-2024-50010> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50010>
