CVE-2024-42265 json
protect the fetch of ->fd[fd] in do_dup2() from mispredictions
published 2024-08-17 2 y ago modified 2026-10-15 25 d ago also EUVD-2024-39488
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.19.320, 5.4.282, 5.10.224, 5.15.165, 6.1.104, 6.6.45, 6.10.4, 6.11
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1.1
- linux Debian 12 6.1.106-1
- linux Debian 14, Debian 13 6.10.4-1
debian advisories DEBIAN-CVE-2024-42265
- linux Ubuntu 20.04 LTS 5.4.0-200.220
- linux Ubuntu 22.04 LTS 5.15.0-125.135
- linux Ubuntu 24.04 LTS 6.8.0-50.51
- linux-aws Ubuntu 20.04 LTS 5.4.0-1135.145
- linux-aws Ubuntu 22.04 LTS 5.15.0-1072.78
- linux-aws Ubuntu 24.04 LTS 6.8.0-1020.22
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1139.148
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1071.79
ubuntu advisories UBUNTU-CVE-2024-42265
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 9 5.14.0-570.12.1.el9_6
- rv RHEL 9 5.14.0-570.12.1.el9_6
- perf RHEL 9 5.14.0-570.12.1.el9_6
- rtla RHEL 9 5.14.0-570.12.1.el9_6
- libperf RHEL 9 5.14.0-570.12.1.el9_6
- kernel-rt RHEL 9 5.14.0-570.12.1.el9_6
- kernel-64k RHEL 9 5.14.0-570.12.1.el9_6
- kernel-core RHEL 9 5.14.0-570.12.1.el9_6
red hat advisories RHSA-2025:6966RHSA-2025:3215RHSA-2024:7000
- kernel-rt SLE Micro 5.2, SLE Micro 5.1 5.3.18-150300.220.1
- kernel-source-rt SLE Micro 5.2, SLE Micro 5.1 5.3.18-150300.220.1
- kernel-64kb SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS, SLE High Performance Computing 15 SP5-ESPOS 5.14.21-150500.55.121.2
- kernel-syms SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.121.1
- kernel-source SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.121.2
- kernel-default SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +3 more 5.14.21-150500.55.121.2
- kernel-obs-build SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.121.1
- kernel-default-base SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.121.2.150500.6.57.2
suse advisories SUSE-SU-2025:03384-1SUSE-SU-2025:03344-1SUSE-SU-2025:03310-1SUSE-SU-2025:03283-1SUSE-SU-2025:02851-1SUSE-SU-2025:02849-1
- kernel AlmaLinux 8 4.18.0-553.22.1.el8_10
- perf AlmaLinux 8 4.18.0-553.22.1.el8_10
- bpftool AlmaLinux 8 4.18.0-553.22.1.el8_10
- kernel-core AlmaLinux 8 4.18.0-553.22.1.el8_10
- kernel-tools AlmaLinux 8 4.18.0-553.22.1.el8_10
- python3-perf AlmaLinux 8 4.18.0-553.22.1.el8_10
- kernel-modules AlmaLinux 8 4.18.0-553.22.1.el8_10
- kernel-zfcpdump AlmaLinux 8 4.18.0-553.22.1.el8_10
almalinux advisories ALSA-2024:7000
- kernel Rocky Linux 8 4.18.0-553.22.1.el8_10
rocky linux advisories RLSA-2024:7000
- git.kernel.org/stable/c/ed42e8ff509d2a61c6642d1825032072dab79f26 commit
- git.kernel.org/stable/c/41a6c31df77bd8e050136b0a200b537da9e1084a commit
- git.kernel.org/stable/c/08775b3d6ed117cf4518754ec7300ee42b6a5368 commit
- git.kernel.org/stable/c/3f480493550b6a23d3a65d095d6569d4a7f56a0f commit
- git.kernel.org/stable/c/5db999fff545b924b24c9afd368ef5c17279b176 commit
- git.kernel.org/stable/c/da72e783afd27d9f487836b2e6738146c0edd149 commit
- git.kernel.org/stable/c/1171ceccabfd596ca370c5d2cbb47d110c3f2fe1 commit
- git.kernel.org/stable/c/8aa37bde1a7b645816cda8b80df4753ecf172bf1 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-42265 updated cvss 5.5
kernel: protect the fetch of ->fd[fd] in do_dup2() from mispredictions
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 moreaffected: no fix available
-
Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 moreaffected: no fix planned “Will not fix”
-
Red Hat CodeReady Linux Builder EUS (v.9.4) libperf 5.14.0-427.61.1.el9_4, kernel-debuginfo-common-s390x 5.14.0-427.61.1.el9_4, kernel-debuginfo-common-x86_64 5.14.0-427.61.1.el9_4, kernel-debuginfo-common-aarch64 5.14.0-427.61.1.el9_4, kernel-debuginfo-common-ppc64le 5.14.0-427.61.1.el9_4fixed: vendor fix RHSA-2025:3215
-
Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-570.12.1.el9_6, perf 5.14.0-570.12.1.el9_6, rtla 5.14.0-570.12.1.el9_6, python3-perf 5.14.0-570.12.1.el9_6, kernel-devel-matched 5.14.0-570.12.1.el9_6, kernel-64k-devel-matched 5.14.0-570.12.1.el9_6, +7 morefixed: vendor fix RHSA-2025:6966
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) rv 5.14.0-427.61.1.el9_4, perf 5.14.0-427.61.1.el9_4, rtla 5.14.0-427.61.1.el9_4, kernel-devel-matched 5.14.0-427.61.1.el9_4, kernel-64k-devel-matched 5.14.0-427.61.1.el9_4, kernel-debug-devel-matched 5.14.0-427.61.1.el9_4, +6 morefixed: vendor fix RHSA-2025:3215
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.22.1.el8_10, kernel 4.18.0-553.22.1.el8_10, bpftool 4.18.0-553.22.1.el8_10, kernel-core 4.18.0-553.22.1.el8_10, kernel-tools 4.18.0-553.22.1.el8_10, python3-perf 4.18.0-553.22.1.el8_10, +15 morefixed: vendor fix RHSA-2024:7000
-
Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-570.12.1.el9_6, kernel-64k 5.14.0-570.12.1.el9_6, kernel-core 5.14.0-570.12.1.el9_6, kernel-tools 5.14.0-570.12.1.el9_6, kernel-modules 5.14.0-570.12.1.el9_6, kernel-64k-core 5.14.0-570.12.1.el9_6, +27 morefixed: vendor fix RHSA-2025:6966
show 8 moreshow fewer
-
Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool 7.3.0-427.61.1.el9_4, kernel 5.14.0-427.61.1.el9_4, kernel-64k 5.14.0-427.61.1.el9_4, kernel-core 5.14.0-427.61.1.el9_4, kernel-tools 5.14.0-427.61.1.el9_4, python3-perf 5.14.0-427.61.1.el9_4, +28 morefixed: vendor fix RHSA-2025:3215
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) libperf 5.14.0-570.12.1.el9_6, kernel-debuginfo-common-s390x 5.14.0-570.12.1.el9_6, kernel-debuginfo-common-x86_64 5.14.0-570.12.1.el9_6, kernel-debuginfo-common-aarch64 5.14.0-570.12.1.el9_6, kernel-debuginfo-common-ppc64le 5.14.0-570.12.1.el9_6fixed: vendor fix RHSA-2025:6966
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.22.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.22.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.22.1.el8_10fixed: vendor fix RHSA-2024:7000
-
Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-570.12.1.el9_6, kernel-rt-64k 5.14.0-570.12.1.el9_6, kernel-rt-core 5.14.0-570.12.1.el9_6, kernel-rt-modules 5.14.0-570.12.1.el9_6, kernel-rt-64k-core 5.14.0-570.12.1.el9_6, kernel-rt-debug-core 5.14.0-570.12.1.el9_6, +14 morefixed: vendor fix RHSA-2025:6966
-
Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt 5.14.0-427.61.1.el9_4, kernel-rt-core 5.14.0-427.61.1.el9_4, kernel-rt-modules 5.14.0-427.61.1.el9_4, kernel-rt-debug-core 5.14.0-427.61.1.el9_4, kernel-rt-modules-core 5.14.0-427.61.1.el9_4, kernel-rt-debug-modules 5.14.0-427.61.1.el9_4, +4 morefixed: vendor fix RHSA-2025:3215
-
Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-570.12.1.el9_6, kernel-rt-kvm 5.14.0-570.12.1.el9_6, kernel-rt-core 5.14.0-570.12.1.el9_6, kernel-rt-modules 5.14.0-570.12.1.el9_6, kernel-rt-debug-kvm 5.14.0-570.12.1.el9_6, kernel-rt-debug-core 5.14.0-570.12.1.el9_6, +6 morefixed: vendor fix RHSA-2025:6966
-
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt 5.14.0-427.61.1.el9_4, kernel-rt-kvm 5.14.0-427.61.1.el9_4, kernel-rt-core 5.14.0-427.61.1.el9_4, kernel-rt-modules 5.14.0-427.61.1.el9_4, kernel-rt-debug-kvm 5.14.0-427.61.1.el9_4, kernel-rt-debug-core 5.14.0-427.61.1.el9_4, +6 morefixed: vendor fix RHSA-2025:3215
-
Red Hat OpenShift AI 8 rhoai/odh-rhel8-operator v2.13.1-2, rhoai/odh-dashboard-rhel8 v2.13.1-1, rhoai/odh-modelmesh-rhel8 v2.13.1-1, rhoai/odh-operator-bundle v2.13.1-2, rhoai/odh-rhel8-operator v2.14.0-24, rhoai/odh-dashboard-rhel8 v2.14.0-11, +56 morefixed: vendor fix RHBA-2024:8413
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-24-102-01 updated cvss 5.5
Siemens SIMATIC S7-1500 TM MFP
-
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystemaffected: mitigation, no fix available
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
- Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/ed42e8ff509d2a61c6642d1825032072dab79f26
patch
-
git.kernel.org
/stable/c/41a6c31df77bd8e050136b0a200b537da9e1084a
patch
-
git.kernel.org
/stable/c/08775b3d6ed117cf4518754ec7300ee42b6a5368
patch
-
git.kernel.org
/stable/c/3f480493550b6a23d3a65d095d6569d4a7f56a0f
patch
-
git.kernel.org
/stable/c/5db999fff545b924b24c9afd368ef5c17279b176
patch
-
git.kernel.org
/stable/c/da72e783afd27d9f487836b2e6738146c0edd149
patch
-
git.kernel.org
/stable/c/1171ceccabfd596ca370c5d2cbb47d110c3f2fe1
patch
-
git.kernel.org
/stable/c/8aa37bde1a7b645816cda8b80df4753ecf172bf1
patch
- lists.debian.org /debian-lts-announce/2025/01/msg00001.html
- lists.debian.org /debian-lts-announce/2024/10/msg00003.html
- cert-portal.siemens.com /productcert/html/ssa-265688.html
Sources
- CVE List CVE-2024-42265
- NVD CVE-2024-42265
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.