cbcvebase.
CVE-2024-42265
published 2024-08-17

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…

PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.28%
20.4th percentile
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.

Affected

26 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.106-1 (bookworm)linux 6.1.106-1 (bookworm)
debianlinux-6.1< linux 6.1.106-1 (bookworm)linux 6.1.106-1 (bookworm)
linuxlinux
linuxlinux>= 8280d16172243702ed43432f826ca6130edb4086 < ed42e8ff509d2a61c6642d1825032072dab79f26ed42e8ff509d2a61c6642d1825032072dab79f26
linuxlinux>= 8280d16172243702ed43432f826ca6130edb4086 < 41a6c31df77bd8e050136b0a200b537da9e1084a41a6c31df77bd8e050136b0a200b537da9e1084a
linuxlinux>= 8280d16172243702ed43432f826ca6130edb4086 < 08775b3d6ed117cf4518754ec7300ee42b6a536808775b3d6ed117cf4518754ec7300ee42b6a5368
linuxlinux>= 8280d16172243702ed43432f826ca6130edb4086 < 3f480493550b6a23d3a65d095d6569d4a7f56a0f3f480493550b6a23d3a65d095d6569d4a7f56a0f
linuxlinux>= 8280d16172243702ed43432f826ca6130edb4086 < 5db999fff545b924b24c9afd368ef5c17279b1765db999fff545b924b24c9afd368ef5c17279b176
linuxlinux>= 8280d16172243702ed43432f826ca6130edb4086 < da72e783afd27d9f487836b2e6738146c0edd149da72e783afd27d9f487836b2e6738146c0edd149
linuxlinux>= 8280d16172243702ed43432f826ca6130edb4086 < 1171ceccabfd596ca370c5d2cbb47d110c3f2fe11171ceccabfd596ca370c5d2cbb47d110c3f2fe1
linuxlinux>= 8280d16172243702ed43432f826ca6130edb4086 < 8aa37bde1a7b645816cda8b80df4753ecf172bf18aa37bde1a7b645816cda8b80df4753ecf172bf1
linuxlinux_kernel< 4.19.3204.19.320
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.226-15.10.226-1
linuxlinux_kernel>= 0 < 6.1.106-16.1.106-1
linuxlinux_kernel>= 0 < 6.10.4-16.10.4-1
linuxlinux_kernel>= 0 < 6.10.4-16.10.4-1
linuxlinux_kernel>= 0 < 5.4.0-200.2205.4.0-200.220
linuxlinux_kernel>= 0 < 5.15.0-125.1355.15.0-125.135
linuxlinux_kernel>= 0 < 6.8.0-50.516.8.0-50.51
linuxlinux_kernel>= 4.20 < 5.4.2825.4.282
linuxlinux_kernel>= 5.11 < 5.15.1655.15.165
linuxlinux_kernel>= 5.16 < 6.1.1046.1.104
linuxlinux_kernel>= 5.5 < 5.10.2245.10.224
linuxlinux_kernel>= 6.2 < 6.6.456.6.45

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.