{"id":"CVE-2024-41020","summary":"filelock: Fix fcntl/close race recovery compat path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfilelock: Fix fcntl/close race recovery compat path\n\nWhen I wrote commit 3cad1bc01041 (\"filelock: Remove locks reliably when\nfcntl/close race is detected\"), I missed that there are two copies of the\ncode I was patching: The normal version, and the version for 64-bit offsets\non 32-bit kernels.\nThanks to Greg KH for stumbling over this while doing the stable\nbackport...\n\nApply exactly the same fix to the compat path for 32-bit kernels.","modified":"2026-04-02T10:15:01.370090Z","published":"2024-07-29T13:34:21.617Z","related":["MGASA-2024-0277","MGASA-2024-0278","SUSE-SU-2024:3189-1","SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3251-1","SUSE-SU-2024:3252-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41020.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4c43ad4ab41602201d34c66ac62130fe339d686f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/53e21cfa68a7d12de378b7116c75571f73e0dfa2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02"},{"type":"WEB","url":"https://git.kernel.org/stable/c/73ae349534ebc377328e7d21891e589626c6e82c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/911cc83e56a2de5a40758766c6a70d6998248860"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a561145f3ae973ebf3e0aee41624e92a6c5cb38d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ed898f9ca3fa32c56c858b463ceb9d9936cc69c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f4d0775c6e2f1340ca0725f0337de149aaa989ca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f8138f2ad2f745b9a1c696a05b749eabe44337ea"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41020.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41020"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c293621bbf678a3d85e3ed721c3921c8a670610d"},{"fixed":"a561145f3ae973ebf3e0aee41624e92a6c5cb38d"},{"fixed":"4c43ad4ab41602201d34c66ac62130fe339d686f"},{"fixed":"911cc83e56a2de5a40758766c6a70d6998248860"},{"fixed":"53e21cfa68a7d12de378b7116c75571f73e0dfa2"},{"fixed":"f4d0775c6e2f1340ca0725f0337de149aaa989ca"},{"fixed":"73ae349534ebc377328e7d21891e589626c6e82c"},{"fixed":"5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02"},{"fixed":"ed898f9ca3fa32c56c858b463ceb9d9936cc69c4"},{"fixed":"f8138f2ad2f745b9a1c696a05b749eabe44337ea"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41020.json"}}],"schema_version":"1.7.5"}