{"id":"CVE-2024-50116","state":"PUBLISHED","title":"nilfs2: fix kernel bug due to missing clearing of buffer delay flag","description":"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.","publishedAt":"2024-11-05T17:10:47.336Z","updatedAt":"2026-05-11T20:45:43.986Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"033bc52f35868c2493a2d95c56ece7fc155d7cb3","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"412a30b1b28d6073ba29c46a2b0f324c5936293f","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"9f2ab98371c2f2488bf3bf3f9b2a73510545e9c1","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"822203f6355f4b322d21e7115419f6b98284be25","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"27524f65621f490184f2ace44cd8e5f3685af4a3","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"743c78d455e784097011ea958b27396001181567","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"c6f58ff2d4c552927fe9a187774e668ebba6c7aa","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"6ed469df0bfbef3e4b44fca954a781919db9f7ab","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nilfs2/page.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.10","versionType":"semver"},{"version":"4.19.323","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.285","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.229","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.170","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.115","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.59","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.6","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nilfs2/page.c"]}],"references":["https://git.kernel.org/stable/c/033bc52f35868c2493a2d95c56ece7fc155d7cb3","https://git.kernel.org/stable/c/412a30b1b28d6073ba29c46a2b0f324c5936293f","https://git.kernel.org/stable/c/9f2ab98371c2f2488bf3bf3f9b2a73510545e9c1","https://git.kernel.org/stable/c/822203f6355f4b322d21e7115419f6b98284be25","https://git.kernel.org/stable/c/27524f65621f490184f2ace44cd8e5f3685af4a3","https://git.kernel.org/stable/c/743c78d455e784097011ea958b27396001181567","https://git.kernel.org/stable/c/c6f58ff2d4c552927fe9a187774e668ebba6c7aa","https://git.kernel.org/stable/c/6ed469df0bfbef3e4b44fca954a781919db9f7ab","https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/50xxx/CVE-2024-50116.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50116","state":"PUBLISHED","datePublished":"2024-11-05T17:10:47.336Z","dateUpdated":"2026-05-11T20:45:43.986Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-10-21T19:36:19.948Z"},"containers":{"cna":{"title":"nilfs2: fix kernel bug due to missing clearing of buffer delay flag","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"033bc52f35868c2493a2d95c56ece7fc155d7cb3","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"412a30b1b28d6073ba29c46a2b0f324c5936293f","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"9f2ab98371c2f2488bf3bf3f9b2a73510545e9c1","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"822203f6355f4b322d21e7115419f6b98284be25","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"27524f65621f490184f2ace44cd8e5f3685af4a3","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"743c78d455e784097011ea958b27396001181567","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"c6f58ff2d4c552927fe9a187774e668ebba6c7aa","versionType":"git"},{"version":"8c26c4e2694a163d525976e804d81cd955bbb40c","status":"affected","lessThan":"6ed469df0bfbef3e4b44fca954a781919db9f7ab","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nilfs2/page.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.10","versionType":"semver"},{"version":"4.19.323","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.285","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.229","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.170","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.115","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.59","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.11.6","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nilfs2/page.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/033bc52f35868c2493a2d95c56ece7fc155d7cb3"},{"url":"https://git.kernel.org/stable/c/412a30b1b28d6073ba29c46a2b0f324c5936293f"},{"url":"https://git.kernel.org/stable/c/9f2ab98371c2f2488bf3bf3f9b2a73510545e9c1"},{"url":"https://git.kernel.org/stable/c/822203f6355f4b322d21e7115419f6b98284be25"},{"url":"https://git.kernel.org/stable/c/27524f65621f490184f2ace44cd8e5f3685af4a3"},{"url":"https://git.kernel.org/stable/c/743c78d455e784097011ea958b27396001181567"},{"url":"https://git.kernel.org/stable/c/c6f58ff2d4c552927fe9a187774e668ebba6c7aa"},{"url":"https://git.kernel.org/stable/c/6ed469df0bfbef3e4b44fca954a781919db9f7ab"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:45:43.986Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"4.19.323"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"5.4.285"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"5.10.229"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"5.15.170"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"6.1.115"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"6.6.59"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"6.11.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-50116","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T20:21:52.828394Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T20:27:16.956Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:25:40.078Z"}}]}}}