Skip to main content
Network Thinking Solutions Logo

CVE-2024-42265

In the Linux kernel, the following vulnerability has been resolved: protect the fetch of ->fd[fd] in do_dup2() from mispredictions both callers have verified that fd is not greater than ->max_fds; however, misprediction might end up with tofree = fdt->fd[fd]; being speculatively executed.

All CVEs
CVE-2024-42265Published 8/17/2024

In the Linux kernel, the following vulnerability has been resolved: protect the fetch of ->fd[fd] in do_dup2() from mispredictions both callers have verified that fd is not greater than ->max_fds; however, misprediction might end up with tofree = fdt->fd[fd]; being speculatively executed.

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: protect the fetch of ->fd[fd] in do_dup2() from mispredictions both callers have verified that fd is not greater than ->max_fds; however, misprediction might end up with tofree = fdt->fd[fd]; being speculatively executed. That's wrong for the same reasons why it's wrong in close_fd()/file_close_fd_locked(); the same solution applies - array_index_nospec(fd, fdt->max_fds) could differ from fd only in case of speculative execution on mispredicted path.

Published
8/17/2024
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 4.19.320

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.282

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.224

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.165

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.104

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.45

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.10.4

Verify advisory

Source
linux kernel
linux
6.11

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 8280d16172243702ed43432f826ca6130edb4086, < ed42e8ff509d2a61c6642d1825032072dab79f26

Verify advisory

Source
Linux
Linux
≥ 8280d16172243702ed43432f826ca6130edb4086, < 41a6c31df77bd8e050136b0a200b537da9e1084a

Verify advisory

Source
Linux
Linux
≥ 8280d16172243702ed43432f826ca6130edb4086, < 08775b3d6ed117cf4518754ec7300ee42b6a5368

Verify advisory

Source
Linux
Linux
≥ 8280d16172243702ed43432f826ca6130edb4086, < 3f480493550b6a23d3a65d095d6569d4a7f56a0f

Verify advisory

Source
Linux
Linux
≥ 8280d16172243702ed43432f826ca6130edb4086, < 5db999fff545b924b24c9afd368ef5c17279b176

Verify advisory

Source
Linux
Linux
≥ 8280d16172243702ed43432f826ca6130edb4086, < da72e783afd27d9f487836b2e6738146c0edd149

Verify advisory

Source
Linux
Linux
≥ 8280d16172243702ed43432f826ca6130edb4086, < 1171ceccabfd596ca370c5d2cbb47d110c3f2fe1

Verify advisory

Source
Linux
Linux
≥ 8280d16172243702ed43432f826ca6130edb4086, < 8aa37bde1a7b645816cda8b80df4753ecf172bf1

Verify advisory

Source
Linux
Linux
3.7

Verify advisory

Source
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Siemens
< V1.1.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.