# protect the fetch of ->fd\[fd\] in do_dup2() from mispredictions

CVE record · `CVE-2024-42265`

- **Identifiers:** `CVE-2024-42265`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 17 Aug 2024
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 17 Aug 2024, 08:54 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `8280d16172243702ed43432f826ca6130edb4086 to before ed42e8ff509d2a61c6642d1825032072dab79f26` (git)
  - affected: `8280d16172243702ed43432f826ca6130edb4086 to before 41a6c31df77bd8e050136b0a200b537da9e1084a` (git)
  - affected: `8280d16172243702ed43432f826ca6130edb4086 to before 08775b3d6ed117cf4518754ec7300ee42b6a5368` (git)
  - affected: `8280d16172243702ed43432f826ca6130edb4086 to before 3f480493550b6a23d3a65d095d6569d4a7f56a0f` (git)
  - affected: `8280d16172243702ed43432f826ca6130edb4086 to before 5db999fff545b924b24c9afd368ef5c17279b176` (git)
  - affected: `8280d16172243702ed43432f826ca6130edb4086 to before da72e783afd27d9f487836b2e6738146c0edd149` (git)
  - affected: `8280d16172243702ed43432f826ca6130edb4086 to before 1171ceccabfd596ca370c5d2cbb47d110c3f2fe1` (git)
  - affected: `8280d16172243702ed43432f826ca6130edb4086 to before 8aa37bde1a7b645816cda8b80df4753ecf172bf1` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.7`
  - unaffected: `before 3.7` (semver)
  - unaffected: `4.19.320 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.282 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.224 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.165 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.104 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.45 to 6.6.*, inclusive` (semver)
  - unaffected: `6.10.4 to 6.10.*, inclusive` (semver)
  - unaffected: `6.11 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0028, the 20th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 17 Aug 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-42265](https://www.cve.org/CVERecord?id=CVE-2024-42265)
- [NVD: CVE-2024-42265](https://nvd.nist.gov/vuln/detail/CVE-2024-42265)

### References from the CNA

- <https://git.kernel.org/stable/c/ed42e8ff509d2a61c6642d1825032072dab79f26>
- <https://git.kernel.org/stable/c/41a6c31df77bd8e050136b0a200b537da9e1084a>
- <https://git.kernel.org/stable/c/08775b3d6ed117cf4518754ec7300ee42b6a5368>
- <https://git.kernel.org/stable/c/3f480493550b6a23d3a65d095d6569d4a7f56a0f>
- <https://git.kernel.org/stable/c/5db999fff545b924b24c9afd368ef5c17279b176>
- <https://git.kernel.org/stable/c/da72e783afd27d9f487836b2e6738146c0edd149>
- <https://git.kernel.org/stable/c/1171ceccabfd596ca370c5d2cbb47d110c3f2fe1>
- <https://git.kernel.org/stable/c/8aa37bde1a7b645816cda8b80df4753ecf172bf1>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-42265>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-42265/>. Everything for agents: <https://agentprime.io/llms.txt>.
