{"id":"CVE-2024-50116","summary":"nilfs2: fix kernel bug due to missing clearing of buffer delay flag","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix kernel bug due to missing clearing of buffer delay flag\n\nSyzbot reported that after nilfs2 reads a corrupted file system image\nand degrades to read-only, the BUG_ON check for the buffer delay flag\nin submit_bh_wbc() may fail, causing a kernel bug.\n\nThis is because the buffer delay flag is not cleared when clearing the\nbuffer state flags to discard a page/folio or a buffer head. So, fix\nthis.\n\nThis became necessary when the use of nilfs2's own page clear routine\nwas expanded.  This state inconsistency does not occur if the buffer\nis written normally by log writing.","modified":"2026-04-02T12:21:17.649846Z","published":"2024-11-05T17:10:47.336Z","related":["MGASA-2024-0368","MGASA-2024-0369","SUSE-SU-2024:4314-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4316-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50116.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/033bc52f35868c2493a2d95c56ece7fc155d7cb3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/27524f65621f490184f2ace44cd8e5f3685af4a3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/412a30b1b28d6073ba29c46a2b0f324c5936293f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ed469df0bfbef3e4b44fca954a781919db9f7ab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/743c78d455e784097011ea958b27396001181567"},{"type":"WEB","url":"https://git.kernel.org/stable/c/822203f6355f4b322d21e7115419f6b98284be25"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f2ab98371c2f2488bf3bf3f9b2a73510545e9c1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c6f58ff2d4c552927fe9a187774e668ebba6c7aa"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50116.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50116"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8c26c4e2694a163d525976e804d81cd955bbb40c"},{"fixed":"033bc52f35868c2493a2d95c56ece7fc155d7cb3"},{"fixed":"412a30b1b28d6073ba29c46a2b0f324c5936293f"},{"fixed":"9f2ab98371c2f2488bf3bf3f9b2a73510545e9c1"},{"fixed":"822203f6355f4b322d21e7115419f6b98284be25"},{"fixed":"27524f65621f490184f2ace44cd8e5f3685af4a3"},{"fixed":"743c78d455e784097011ea958b27396001181567"},{"fixed":"c6f58ff2d4c552927fe9a187774e668ebba6c7aa"},{"fixed":"6ed469df0bfbef3e4b44fca954a781919db9f7ab"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50116.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}