{"id":"CVE-2024-50230","published":"2024-11-09T10:14:40Z","modified":"2026-08-05T11:42:39Z","title":"nilfs2: fix kernel bug due to missing clearing of checked flag","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix kernel bug due to missing clearing of checked flag\n\nSyzbot reported that in directory operations after nilfs2 detects\nfilesystem corruption and degrades to read-only,\n__block_write_begin_int(), which is called to prepare block writes, may\nfail the BUG_ON check for accesses exceeding the folio/page size,\ntriggering a kernel bug.\n\nThis was found to be because the \"checked\" flag of a page/folio was not\ncleared when it was discarded by nilfs2's own routine, which causes the\nsanity check of directory entries to be skipped when the directory\npage/folio is reloaded.  So, fix that.\n\nThis was necessary when the use of nilfs2's own page discard routine was\napplied to more than just metadata files.","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.00355,"percentile":0.2159,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://git.kernel.org/stable/c/994b2fa13a6c9cf3feca93090a9c337d48e3d60d","tags":[]},{"url":"https://git.kernel.org/stable/c/64afad73e4623308d8943645e5631f2c7a2d7971","tags":[]},{"url":"https://git.kernel.org/stable/c/aa0cee46c5d3fd9a39575a4c8a4f65f25f095b89","tags":[]},{"url":"https://git.kernel.org/stable/c/f05dbebb8ee34882505d53d83af7d18f28a49248","tags":[]},{"url":"https://git.kernel.org/stable/c/cd0cdb51b15203fa27d4b714be83b7dfffa0b752","tags":[]},{"url":"https://git.kernel.org/stable/c/f2f1fa446676c21edb777e6d2bc4fa8f956fab68","tags":[]},{"url":"https://git.kernel.org/stable/c/56c6171932a7fb267ac6cb4ff8759b93ee1d0e2e","tags":[]},{"url":"https://git.kernel.org/stable/c/41e192ad2779cae0102879612dfe46726e4396aa","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":4.32},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 994b2fa13a6c9cf3feca93090a9c337d48e3d60d",">= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 64afad73e4623308d8943645e5631f2c7a2d7971",">= 8c26c4e2694a163d525976e804d81cd955bbb40c, < aa0cee46c5d3fd9a39575a4c8a4f65f25f095b89",">= 8c26c4e2694a163d525976e804d81cd955bbb40c, < f05dbebb8ee34882505d53d83af7d18f28a49248",">= 8c26c4e2694a163d525976e804d81cd955bbb40c, < cd0cdb51b15203fa27d4b714be83b7dfffa0b752",">= 8c26c4e2694a163d525976e804d81cd955bbb40c, < f2f1fa446676c21edb777e6d2bc4fa8f956fab68",">= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 56c6171932a7fb267ac6cb4ff8759b93ee1d0e2e",">= 8c26c4e2694a163d525976e804d81cd955bbb40c, < 41e192ad2779cae0102879612dfe46726e4396aa"]},{"vendor":"Linux","product":"Linux","versions":["3.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-10-01T20:16:44.018414Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-44732","exploited":false,"provenance":"source"}}