{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-41020","id":"CVE-2024-41020","title":"filelock: Fix fcntl/close race recovery compat path","description":"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 ","descriptionLong":"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.","published":"2024-07-29T13:34:21.617Z","updated":"2026-10-28T02:31:08.551750637Z","reserved":"2024-07-12T12:17:45.613Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"a561145f3ae973ebf3e0aee41624e92a6c5cb38d","status":"affected","versionType":"git"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"4c43ad4ab41602201d34c66ac62130fe339d686f","status":"affected","versionType":"git"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"911cc83e56a2de5a40758766c6a70d6998248860","status":"affected","versionType":"git"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"53e21cfa68a7d12de378b7116c75571f73e0dfa2","status":"affected","versionType":"git"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"f4d0775c6e2f1340ca0725f0337de149aaa989ca","status":"affected","versionType":"git"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"73ae349534ebc377328e7d21891e589626c6e82c","status":"affected","versionType":"git"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02","status":"affected","versionType":"git"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"ed898f9ca3fa32c56c858b463ceb9d9936cc69c4","status":"affected","versionType":"git"},{"version":"c293621bbf678a3d85e3ed721c3921c8a670610d","lessThan":"f8138f2ad2f745b9a1c696a05b749eabe44337ea","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.13","status":"affected"},{"version":"0","lessThan":"2.6.13","status":"unaffected","versionType":"semver"},{"version":"4.19.319","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.281","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.223","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.164","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.102","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.43","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.12","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10.2","lessThanOrEqual":"6.10.*","status":"unaffected","versionType":"semver"},{"version":"6.11","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-362"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/a561145f3ae973ebf3e0aee41624e92a6c5cb38d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/4c43ad4ab41602201d34c66ac62130fe339d686f","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/911cc83e56a2de5a40758766c6a70d6998248860","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/53e21cfa68a7d12de378b7116c75571f73e0dfa2","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/f4d0775c6e2f1340ca0725f0337de149aaa989ca","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/73ae349534ebc377328e7d21891e589626c6e82c","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/5b0af8e4c70e4b884bb94ff5f0cd49ecf1273c02","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/ed898f9ca3fa32c56c858b463ceb9d9936cc69c4","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/f8138f2ad2f745b9a1c696a05b749eabe44337ea","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41020.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41020","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00195,"epssPercentile":0.09402,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-41020","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41020","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-41020","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-41020","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}