{"id":"CVE-2024-41020","aliases":["CVE-2024-41020"],"related":[],"kind":"vulnerability","state":"published","title":"filelock: Fix fcntl/close race recovery compat path","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-07-29T13:34:21.617Z","modified":"2026-08-05T11:34:46.395Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"c293621bbf678a3d85e3ed721c3921c8a670610d","fixed":"a561145f3ae973ebf3e0aee41624e92a6c5cb38d","status":"affected"},{"type":"git","introduced":"c293621bbf678a3d85e3ed721c3921c8a670610d","fixed":"4c43ad4ab41602201d34c66ac62130fe339d686f","status":"affected"},{"type":"git","introduced":"c293621bbf678a3d85e3ed721c3921c8a670610d","fixed":"911cc83e56a2de5a40758766c6a70d6998248860","status":"affected"},{"type":"git","introduced":"c293621bbf678a3d85e3ed721c3921c8a670610d","fixed":"53e21cfa68a7d12de378b7116c75571f73e0dfa2","status":"affected"},{"type":"git","introduced":"c293621bbf678a3d85e3ed721c3921c8a670610d","fixed":"f4d0775c6e2f1340ca0725f0337de149aaa989ca","status":"affected"},{"type":"git","introduced":"c293621bbf678a3d85e3ed721c3921c8a670610d","fixed":"73ae349534ebc377328e7d21891e589626c6e82c","status":"affected"},{"type":"git","introduced":"c293621bbf678a3d85e3ed721c3921c8a670610d","fixed":"5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02","status":"affected"},{"type":"git","introduced":"c293621bbf678a3d85e3ed721c3921c8a670610d","fixed":"ed898f9ca3fa32c56c858b463ceb9d9936cc69c4","status":"affected"},{"type":"git","introduced":"c293621bbf678a3d85e3ed721c3921c8a670610d","fixed":"f8138f2ad2f745b9a1c696a05b749eabe44337ea","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.13","status":"unaffected"},{"type":"semver","introduced":"4.19.319","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.281","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.223","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.164","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.102","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.43","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.12","lastAffected":"6.9.*","status":"unaffected"},{"type":"semver","introduced":"6.10.2","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.14","fixed":"4.19.319"},{"status":"affected","introduced":"4.20","fixed":"5.4.281"},{"status":"affected","introduced":"5.5","fixed":"5.10.223"},{"status":"affected","introduced":"5.11","fixed":"5.15.164"},{"status":"affected","introduced":"5.16","fixed":"6.1.102"},{"status":"affected","introduced":"6.2","fixed":"6.6.43"},{"status":"affected","introduced":"6.7","fixed":"6.9.12"},{"status":"affected","introduced":"6.10","fixed":"6.10.2"},{"status":"affected","version":"2.6.13"},{"status":"affected","version":"2.6.13"},{"status":"affected","version":"2.6.13"},{"status":"affected","version":"2.6.13"},{"status":"affected","version":"2.6.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a561145f3ae973ebf3e0aee41624e92a6c5cb38d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4c43ad4ab41602201d34c66ac62130fe339d686f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/911cc83e56a2de5a40758766c6a70d6998248860","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/53e21cfa68a7d12de378b7116c75571f73e0dfa2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f4d0775c6e2f1340ca0725f0337de149aaa989ca","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73ae349534ebc377328e7d21891e589626c6e82c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ed898f9ca3fa32c56c858b463ceb9d9936cc69c4","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f8138f2ad2f745b9a1c696a05b749eabe44337ea","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:24:28.681Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-41020","url":"https://www.cve.org/CVERecord?id=CVE-2024-41020","licence":"CVE Terms of Use","modified":"2026-08-05T11:34:46.395Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-41020","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41020","licence":"Public domain","modified":"2026-08-04T11:19:18.830Z"}],"updatedAt":"2026-11-25T22:58:43.285Z","epss":{"score":0.00195,"percentile":0.09696,"date":"2026-12-01T12:00:22.000Z"}}