CVE-2024-41020

filelock: Fix fcntl/close race recovery compat path

MEDIUM
4.7
CVSS Score
Published: July 29, 2024 at 01:34 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: filelock: Fix fcntl/close race recovery compat path When I wrote commit 3cad1bc01041 ("filelock: Remove locks reliably when fcntl/close race is detected"), I missed that there are two copies of the code I was patching: The normal version, and the version for 64-bit offsets on 32-bit kernels. Thanks to Greg KH for stumbling over this while doing the stable backport... Apply exactly the same fix to the compat path for 32-bit kernels.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.13 ≤ v < 4.19.3192.6.13 ≤ v < 5.10.2232.6.13 ≤ v < 5.15.1642.6.13 ≤ v < 5.4.2812.6.13 ≤ v < 6.1.1022.6.13 ≤ v < 6.10.22.6.13 ≤ v < 6.112.6.13 ≤ v < 6.6.432.6.13 ≤ v < 6.9.122.6.14 ≤ v < 4.19.3194.20 ≤ v < 5.4.2815.11 ≤ v < 5.15.1645.16 ≤ v < 6.1.1025.5 ≤ v < 5.10.2236.10 ≤ v < 6.10.26.2 ≤ v < 6.6.436.7 ≤ v < 6.9.122.6.132.6.13 rc42.6.13 rc52.6.13 rc62.6.13 rc7c293621bbf678a3d85e3ed721c3921c8a670610d
Vendor states this is fixed in 4c43ad4ab41602201d34c66ac62130fe339d686f (fixed)
Vendor states this is fixed in 53e21cfa68a7d12de378b7116c75571f73e0dfa2 (fixed)
Vendor states this is fixed in 5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02 (fixed)
Vendor states this is fixed in 73ae349534ebc377328e7d21891e589626c6e82c (fixed)
Vendor states this is fixed in 911cc83e56a2de5a40758766c6a70d6998248860 (fixed)
Vendor states this is fixed in a561145f3ae973ebf3e0aee41624e92a6c5cb38d (fixed)
Vendor states this is fixed in ed898f9ca3fa32c56c858b463ceb9d9936cc69c4 (fixed)
Vendor states this is fixed in f4d0775c6e2f1340ca0725f0337de149aaa989ca (fixed)
Vendor states this is fixed in f8138f2ad2f745b9a1c696a05b749eabe44337ea (fixed)
Vendor states this is fixed in 2.6.13 (unaffected)
Vendor states this is fixed in 4.19.319 (unaffected)
Vendor states this is fixed in 5.10.223 (unaffected)
Vendor states this is fixed in 5.15.164 (unaffected)
Vendor states this is fixed in 5.4.281 (unaffected)
Vendor states this is fixed in 6.1.102 (unaffected)
Vendor states this is fixed in 6.10.2 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.43 (unaffected)
Vendor states this is fixed in 6.9.12 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4c43ad4ab41602201d34c66ac62130fe339d686f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/53e21cfa68a7d12de378b7116c75571f73e0dfa2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/73ae349534ebc377328e7d21891e589626c6e82c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/911cc83e56a2de5a40758766c6a70d6998248860
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a561145f3ae973ebf3e0aee41624e92a6c5cb38d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ed898f9ca3fa32c56c858b463ceb9d9936cc69c4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f4d0775c6e2f1340ca0725f0337de149aaa989ca

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card