PT-2024-31378 · Linux+6 · Linux Kernel+6

Published

2024-08-05

·

Updated

2025-09-29

·

CVE-2024-45025

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to bitmap corruption on close range() with CLOSE RANGE UNSHARE. The function copy fd bitmaps() is expected to copy the first count/BITS PER LONG bits from old->full fds bits[] and fill the rest with zeroes. However, if all bits past the cutoff point are not clear, there is a risk of garbage from the last word being copied. This can lead to observably wrong behavior, such as a child process ending up with an incorrect descriptor after close range() is called. The minimally invasive fix would be to deal with this issue in dup fd(). A new helper function, bitmap copy and expand(), has been added to address this problem.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-12053
ALT-PU-2024-12535
ALT-PU-2024-12537
ALT-PU-2024-12541
ALT-PU-2024-12543
ALT-PU-2024-12790
ALT-PU-2024-13121
ALT-PU-2024-13260
ALT-PU-2024-13979
ALT-PU-2024-14046
AZL-49188
AZL-49233
BDU:2025-01783
CVE-2024-45025
DLA-3912-1
DLA-4008-1
DSA-5782-1
OESA-2024-2181
OESA-2024-2182
OESA-2024-2183
OESA-2024-2184
OESA-2024-2218
OPENSUSE-SU-2024_3983-1
OPENSUSE-SU-2024_3984-1
OPENSUSE-SU-2024_3985-1
OPENSUSE-SU-2024_3986-1
SUSE-SU-2024:3983-1
SUSE-SU-2024:3984-1
SUSE-SU-2024:3985-1
SUSE-SU-2024:3986-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4364-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-7088-1
USN-7088-2
USN-7088-3
USN-7088-4
USN-7088-5
USN-7100-1
USN-7100-2
USN-7119-1
USN-7123-1
USN-7144-1
USN-7154-1
USN-7154-2
USN-7155-1
USN-7156-1
USN-7194-1
USN-7196-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu