{"id":"CVE-2026-99574","aliases":["CVE-2026-99574"],"related":[],"kind":"vulnerability","state":"published","title":"f2fs: bound the SIT/NAT bitmaps by the checkpoint pack","summary":"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->ckpt, 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->ckpt, 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.","source":"cvelist"}],"published":"2026-11-20T05:49:07.960Z","modified":"2026-11-23T08:17:59.250Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5","fixed":"8beac82c7cc9f7d0b060a4c67d912c1b6a66a1f8","status":"affected"},{"type":"git","introduced":"39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5","fixed":"415b142b03b4daf770340761db1431d638d188e2","status":"affected"},{"type":"git","introduced":"39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5","fixed":"47897ae5e050c40ee80994507dd7eb504174e27f","status":"affected"},{"type":"git","introduced":"39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5","fixed":"daf5987d2c48d9965534c3adc0a200bcb6e9d726","status":"affected"},{"type":"git","introduced":"39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5","fixed":"ddb9848fd6b2f4e9ed5ef78b20c9720c65a29df5","status":"affected"},{"type":"git","introduced":"39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5","fixed":"9b08fc2d092171af388f83030d54488b87453155","status":"affected"},{"type":"git","introduced":"39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5","fixed":"7f88cd38394a16c326073c8813e7f1f1445bf3ba","status":"affected"},{"type":"git","introduced":"39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5","fixed":"080833a32fd5dc10b3acf2fa9af9b3213e6cb617","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.8","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8beac82c7cc9f7d0b060a4c67d912c1b6a66a1f8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/415b142b03b4daf770340761db1431d638d188e2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/47897ae5e050c40ee80994507dd7eb504174e27f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/daf5987d2c48d9965534c3adc0a200bcb6e9d726","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ddb9848fd6b2f4e9ed5ef78b20c9720c65a29df5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b08fc2d092171af388f83030d54488b87453155","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f88cd38394a16c326073c8813e7f1f1445bf3ba","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/080833a32fd5dc10b3acf2fa9af9b3213e6cb617","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99574","url":"https://www.cve.org/CVERecord?id=CVE-2026-99574","licence":"CVE Terms of Use","modified":"2026-11-23T08:04:32.968Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99574","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99574","licence":"Public domain","modified":"2026-11-23T08:17:59.250Z"}],"updatedAt":"2026-11-25T22:59:52.266Z","epss":{"score":0.00198,"percentile":0.10105,"date":"2026-12-01T12:00:22.000Z"}}