{"id":"CVE-2024-41034","published":"2024-07-29T14:31:49Z","modified":"2026-08-05T11:34:51Z","title":"nilfs2: fix kernel bug on rename operation of broken directory","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix kernel bug on rename operation of broken directory\n\nSyzbot reported that in rename directory operation on broken directory on\nnilfs2, __block_write_begin_int() called to prepare block write may fail\nBUG_ON check for access exceeding the folio/page size.\n\nThis is because nilfs_dotdot(), which gets parent directory reference\nentry (\"..\") of the directory to be moved or renamed, does not check\nconsistency enough, and may return location exceeding folio/page size for\nbroken directories.\n\nFix this issue by checking required directory entries (\".\" and \"..\") in\nthe first chunk of the directory in nilfs_dotdot().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00352,"percentile":0.21235,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ff9767ba2cb949701e45e6e4287f8af82986b703","tags":[]},{"url":"https://git.kernel.org/stable/c/24c1c8566a9b6be51f5347be2ea76e25fc82b11e","tags":[]},{"url":"https://git.kernel.org/stable/c/a9a466a69b85059b341239766a10efdd3ee68a4b","tags":[]},{"url":"https://git.kernel.org/stable/c/7000b438dda9d0f41a956fc9bffed92d2eb6be0d","tags":[]},{"url":"https://git.kernel.org/stable/c/1a8879c0771a68d70ee2e5e66eea34207e8c6231","tags":[]},{"url":"https://git.kernel.org/stable/c/60f61514374e4a0c3b65b08c6024dd7e26150bfd","tags":[]},{"url":"https://git.kernel.org/stable/c/298cd810d7fb687c90a14d8f9fd1b8719a7cb8a5","tags":[]},{"url":"https://git.kernel.org/stable/c/a9e1ddc09ca55746079cc479aa3eb6411f0d99d4","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":4.25},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 2ba466d74ed74f073257f86e61519cb8f8f46184, < ff9767ba2cb949701e45e6e4287f8af82986b703",">= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 24c1c8566a9b6be51f5347be2ea76e25fc82b11e",">= 2ba466d74ed74f073257f86e61519cb8f8f46184, < a9a466a69b85059b341239766a10efdd3ee68a4b",">= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 7000b438dda9d0f41a956fc9bffed92d2eb6be0d",">= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 1a8879c0771a68d70ee2e5e66eea34207e8c6231",">= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 60f61514374e4a0c3b65b08c6024dd7e26150bfd",">= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 298cd810d7fb687c90a14d8f9fd1b8719a7cb8a5",">= 2ba466d74ed74f073257f86e61519cb8f8f46184, < a9e1ddc09ca55746079cc479aa3eb6411f0d99d4"]},{"vendor":"Linux","product":"Linux","versions":["2.6.30"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:23:37.441886Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-39324","exploited":false,"provenance":"source"}}