{"id":"CVE-2026-99574","summary":"f2fs: bound the SIT/NAT bitmaps by the checkpoint pack","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: bound the SIT/NAT bitmaps by the checkpoint pack\n\nsit_ver_bitmap_bytesize and nat_ver_bitmap_bytesize are used as memcpy\nlengths into and out of sbi-\u003eckpt, which is sized from cp_payload alone,\nand nothing compares either length against that allocation.\n\nsanity_check_ckpt() has checked these two fields since c77ec61ca0a4, which\nadded them after a crafted image overran build_sit_info(). That check ties\neach length to a segment count; it never compares either against the\nallocation, which is the half this adds.\n\nMounting over-reads in build_sit_info() and build_node_manager(), and the\nfirst checkpoint writes the same lengths back through the same pointers,\nso the over-read's contents reach the on-disk checkpoint. An unmount is\nenough; the filesystem does not have to be used.\n\nBound both ends the way __bitmap_ptr() lays them out. The three branches\ndiffer, so a single sum of the two lengths would still admit a small\noverflow when cp_payload is non-zero.","modified":"2026-11-23T20:46:30.009969217Z","published":"2026-11-20T05:49:07.960Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99574.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/080833a32fd5dc10b3acf2fa9af9b3213e6cb617"},{"type":"WEB","url":"https://git.kernel.org/stable/c/415b142b03b4daf770340761db1431d638d188e2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/47897ae5e050c40ee80994507dd7eb504174e27f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f88cd38394a16c326073c8813e7f1f1445bf3ba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8beac82c7cc9f7d0b060a4c67d912c1b6a66a1f8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b08fc2d092171af388f83030d54488b87453155"},{"type":"WEB","url":"https://git.kernel.org/stable/c/daf5987d2c48d9965534c3adc0a200bcb6e9d726"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ddb9848fd6b2f4e9ed5ef78b20c9720c65a29df5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99574.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99574"},{"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":"39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5"},{"fixed":"8beac82c7cc9f7d0b060a4c67d912c1b6a66a1f8"},{"fixed":"415b142b03b4daf770340761db1431d638d188e2"},{"fixed":"47897ae5e050c40ee80994507dd7eb504174e27f"},{"fixed":"daf5987d2c48d9965534c3adc0a200bcb6e9d726"},{"fixed":"ddb9848fd6b2f4e9ed5ef78b20c9720c65a29df5"},{"fixed":"9b08fc2d092171af388f83030d54488b87453155"},{"fixed":"7f88cd38394a16c326073c8813e7f1f1445bf3ba"},{"fixed":"080833a32fd5dc10b3acf2fa9af9b3213e6cb617"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99574.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99574.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}