PT-2024-6398

CVE-2024-41012

·

Published

2024-07-02

·

Updated

2025-09-29

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a race condition between fcntl setlk() and close() in the Linux kernel, which can lead to use-after-free reads when userspace reads /proc/locks. This can potentially allow an attacker to read arbitrary kernel memory, but it cannot corrupt kernel memory. The problem arises when fcntl setlk() races with close(), removing the created lock with do lock file wait(), and Linux Security Modules (LSMs) allow the first do lock file wait() while denying the second. Additionally, posix lock file() may fail to remove a lock due to GFP KERNEL allocation failure.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
ALSA-2024:7000
ALSA-2024:7001
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-10465
ALT-PU-2024-12537
ALT-PU-2024-13121
ALT-PU-2024-13979
ALT-PU-2024-14046
CESA-2024_7000
CESA-2024_7001
DLA-4008-1
DSA-5747-1
INFSA-2024_7000
INFSA-2024_7001
INFSA-2024_9315
OESA-2024-1992
OESA-2024-1994
OESA-2024-1995
OESA-2024-1996
OESA-2024-2124
OPENSUSE-SU-2024_2947-1
RHSA-2024:7000
RHSA-2024_7000
RHSA-2024:7001
RHSA-2024_7001
RHSA-2024:9315
RHSA-2024_9315
RLSA-2024:7001
SUSE-SU-2024:2894-1
SUSE-SU-2024:2902-1
SUSE-SU-2024:2929-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2947-1
SUSE-SU-2024:3189-1
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3251-1
SUSE-SU-2024:3252-1
SUSE-SU-2024:3383-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-7088-1
USN-7088-2
USN-7088-3
USN-7088-4
USN-7088-5
USN-7089-1
USN-7089-2
USN-7089-3
USN-7089-4
USN-7089-5
USN-7089-6
USN-7089-7
USN-7090-1
USN-7095-1
USN-7100-1
USN-7100-2
USN-7119-1
USN-7123-1
USN-7144-1
USN-7156-1
USN-7194-1
USN-7233-1
USN-7233-2
USN-7233-3
USN-7262-1
USN-7262-2
Found an issue in the description? Have something to add? Feel free to write us 👾