{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-39469","id":"CVE-2024-39469","title":"nilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors\n\nThe error handling in nilfs_empty_dir() when a directory folio/page read\nfails is incorrect, as in the old ext2 implementation, and if the\nfolio/page cannot be read or nilfs_check_folio() fails, it will falsely\ndetermine the directory as empty and corrupt the ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors\n\nThe error handling in nilfs_empty_dir() when a directory folio/page read\nfails is incorrect, as in the old ext2 implementation, and if the\nfolio/page cannot be read or nilfs_check_folio() fails, it will falsely\ndetermine the directory as empty and corrupt the file system.\n\nIn addition, since nilfs_empty_dir() does not immediately return on a\nfailed folio/page read, but continues to loop, this can cause a long loop\nwith I/O if i_size of the directory's inode is also corrupted, causing the\nlog writer thread to wait and hang, as reported by syzbot.\n\nFix these issues by making nilfs_empty_dir() immediately return a false\nvalue (0) if it fails to get a directory folio/page.","published":"2024-06-25T14:28:55.581Z","updated":"2026-10-28T02:31:01.506748435Z","reserved":"2024-06-25T14:23:23.745Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2ba466d74ed74f073257f86e61519cb8f8f46184","lessThan":"2ac8a2fe22bdde9eecce2a42cf5cab79333fb428","status":"affected","versionType":"git"},{"version":"2ba466d74ed74f073257f86e61519cb8f8f46184","lessThan":"405b71f1251e5ae865f53bd27c45114e6c83bee3","status":"affected","versionType":"git"},{"version":"2ba466d74ed74f073257f86e61519cb8f8f46184","lessThan":"c77ad608df6c091fe64ecb91f41ef7cb465587f1","status":"affected","versionType":"git"},{"version":"2ba466d74ed74f073257f86e61519cb8f8f46184","lessThan":"11a2edb70356a2202dcb7c9c189c8356ab4752cd","status":"affected","versionType":"git"},{"version":"2ba466d74ed74f073257f86e61519cb8f8f46184","lessThan":"129dcd3e7d036218db3f59c82d82004b9539ed82","status":"affected","versionType":"git"},{"version":"2ba466d74ed74f073257f86e61519cb8f8f46184","lessThan":"d18b05eda7fa77f02114f15b02c009f28ee42346","status":"affected","versionType":"git"},{"version":"2ba466d74ed74f073257f86e61519cb8f8f46184","lessThan":"59f14875a96ef93f05b82ad3c980605f2cb444b5","status":"affected","versionType":"git"},{"version":"2ba466d74ed74f073257f86e61519cb8f8f46184","lessThan":"7373a51e7998b508af7136530f3a997b286ce81c","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.30","status":"affected"},{"version":"0","lessThan":"2.6.30","status":"unaffected","versionType":"semver"},{"version":"4.19.317","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.279","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.221","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.162","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.95","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.35","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.5","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/2ac8a2fe22bdde9eecce2a42cf5cab79333fb428","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/405b71f1251e5ae865f53bd27c45114e6c83bee3","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/c77ad608df6c091fe64ecb91f41ef7cb465587f1","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/11a2edb70356a2202dcb7c9c189c8356ab4752cd","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/129dcd3e7d036218db3f59c82d82004b9539ed82","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/d18b05eda7fa77f02114f15b02c009f28ee42346","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/59f14875a96ef93f05b82ad3c980605f2cb444b5","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/7373a51e7998b508af7136530f3a997b286ce81c","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39469.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39469","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.00251,"epssPercentile":0.16922,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-39469","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39469","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-39469","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-39469","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}