{"id":"CVE-2024-41020","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2024-07-29T14:15:03.773","lastModified":"2026-08-04T11:19:18.830","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":" 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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/locks.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"a561145f3ae973ebf3e0aee41624e92a6c5cb38d","versionType":"git","status":"affected"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"4c43ad4ab41602201d34c66ac62130fe339d686f","versionType":"git","status":"affected"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"911cc83e56a2de5a40758766c6a70d6998248860","versionType":"git","status":"affected"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"53e21cfa68a7d12de378b7116c75571f73e0dfa2","versionType":"git","status":"affected"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"f4d0775c6e2f1340ca0725f0337de149aaa989ca","versionType":"git","status":"affected"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"73ae349534ebc377328e7d21891e589626c6e82c","versionType":"git","status":"affected"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02","versionType":"git","status":"affected"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"ed898f9ca3fa32c56c858b463ceb9d9936cc69c4","versionType":"git","status":"affected"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"f8138f2ad2f745b9a1c696a05b749eabe44337ea","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/locks.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2.6.13","status":"affected"},{"version":"0","lessThan":"2.6.13","versionType":"semver","status":"unaffected"},{"version":"4.19.319","lessThanOrEqual":"4.19.*","versionType":"semver","status":"unaffected"},{"version":"5.4.281","lessThanOrEqual":"5.4.*","versionType":"semver","status":"unaffected"},{"version":"5.10.223","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.164","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.102","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.43","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.9.12","lessThanOrEqual":"6.9.*","versionType":"semver","status":"unaffected"},{"version":"6.10.2","lessThanOrEqual":"6.10.*","versionType":"semver","status":"unaffected"},{"version":"6.11","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.0,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-09-10T16:24:28.681942Z","id":"CVE-2024-41020","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-362"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.14","versionEndExcluding":"4.19.319","matchCriteriaId":"AFC892FB-F4C8-4297-AC34-BC99FD7AC35D"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.4.281","matchCriteriaId":"92317F4D-6FF1-4A82-8834-52B023F0A242"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.223","matchCriteriaId":"12CD4E48-26A1-40B4-AF6A-1CC066193F4C"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.164","matchCriteriaId":"3D6B1E23-6E6C-4761-ACD4-EA687A95F56F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.102","matchCriteriaId":"DD81B9D5-907B-4C89-A482-4DCE63A05D95"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.43","matchCriteriaId":"BDD6B9FA-1296-4930-9297-583025594F79"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.9.12","matchCriteriaId":"485D2038-744E-4250-A95B-5AFCF6DFC943"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.10.2","matchCriteriaId":"46382BCB-BEE6-47C9-9F1F-92782F199A62"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.13:-:*:*:*:*:*:*","matchCriteriaId":"F106AE6E-7BDB-46A0-B434-AAFC44FCCF78"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.13:rc4:*:*:*:*:*:*","matchCriteriaId":"5D9F976B-1328-40FE-A1F2-C1DF3F836604"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.13:rc5:*:*:*:*:*:*","matchCriteriaId":"9B627DE3-2702-4EB2-9733-253D315FB594"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.13:rc6:*:*:*:*:*:*","matchCriteriaId":"10E1B011-8D20-448E-9DD5-023DD30D1FE1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:2.6.13:rc7:*:*:*:*:*:*","matchCriteriaId":"2A29A4BC-0442-458E-A874-BF0D0F2870FC"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/4c43ad4ab41602201d34c66ac62130fe339d686f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/53e21cfa68a7d12de378b7116c75571f73e0dfa2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/73ae349534ebc377328e7d21891e589626c6e82c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/911cc83e56a2de5a40758766c6a70d6998248860","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a561145f3ae973ebf3e0aee41624e92a6c5cb38d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ed898f9ca3fa32c56c858b463ceb9d9936cc69c4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/f4d0775c6e2f1340ca0725f0337de149aaa989ca","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/f8138f2ad2f745b9a1c696a05b749eabe44337ea","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/4c43ad4ab41602201d34c66ac62130fe339d686f","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/53e21cfa68a7d12de378b7116c75571f73e0dfa2","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/73ae349534ebc377328e7d21891e589626c6e82c","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/911cc83e56a2de5a40758766c6a70d6998248860","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a561145f3ae973ebf3e0aee41624e92a6c5cb38d","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ed898f9ca3fa32c56c858b463ceb9d9936cc69c4","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/f4d0775c6e2f1340ca0725f0337de149aaa989ca","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/f8138f2ad2f745b9a1c696a05b749eabe44337ea","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","source":"af854a3a-2127-422b-91ae-364da2661108"}]}