CVE-2024-41020
JSON

7.8high

filelock: Fix fcntl/close race recovery compat path

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom c293621bbf678a3d85e3ed721c3921c8a670610d before a561145f3ae973ebf3e0aee41624e92a6c5cb38d, from c293621bbf678a3d85e3ed721c3921c8a670610d before 4c43ad4ab41602201d34c66ac62130fe339d686f, from c293621bbf678a3d85e3ed721c3921c8a670610d before 911cc83e56a2de5a40758766c6a70d6998248860, from c293621bbf678a3d85e3ed721c3921c8a670610d before 53e21cfa68a7d12de378b7116c75571f73e0dfa2, from c293621bbf678a3d85e3ed721c3921c8a670610d before f4d0775c6e2f1340ca0725f0337de149aaa989ca, from c293621bbf678a3d85e3ed721c3921c8a670610d before 73ae349534ebc377328e7d21891e589626c6e82c, from c293621bbf678a3d85e3ed721c3921c8a670610d before 5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02, from c293621bbf678a3d85e3ed721c3921c8a670610d before ed898f9ca3fa32c56c858b463ceb9d9936cc69c4 and 2 more
Not affected: before 2.6.13, from 4.19.319 up to 4.19.*, from 5.4.281 up to 5.4.*, from 5.10.223 up to 5.10.*, from 5.15.164 up to 5.15.*, from 6.1.102 up to 6.1.*
CVE List
linux linux_kernelfrom 2.6.14 before 4.19.319, from 4.20 before 5.4.281, from 5.5 before 5.10.223, from 5.11 before 5.15.164, from 5.16 before 6.1.102, from 6.2 before 6.6.43, from 6.7 before 6.9.12, from 6.10 before 6.10.2 and 1 moreNVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: filelock: corrige la ruta de compatibilidad de recuperación de fcntl/close race Cuando escribí la confirmación 3cad1bc01041 ("filelock: elimina los bloqueos de manera confiable cuando se detecta fcntl/close race"), me perdí que hay dos copias del código que estaba parcheando: la versión normal y la versión para compensaciones de 64 bits en núcleos de 32 bits. Gracias a Greg KH por tropezar con esto mientras hacía el backport estable... Aplique exactamente la misma solución a la ruta de compatibilidad para kernels de 32 bits.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-41020 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-41020 changed 2026-08-04Public domain