{"id":"CVE-2026-99574","aliases":[],"title":"f2fs: bound the SIT/NAT bitmaps by the checkpoint pack","originalDescription":"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.","severity":{"cvss":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00198,"percentile":0.10096},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=3.8.0, <6.12.118","fixed":"6.12.118"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.64","fixed":"6.18.64"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"vendor","name":"Linux","range":">=39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5, <080833a32fd5dc10b3acf2fa9af9b3213e6cb617","fixed":"080833a32fd5dc10b3acf2fa9af9b3213e6cb617"},{"ecosystem":"vendor","name":"Linux","range":">=39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5, <415b142b03b4daf770340761db1431d638d188e2","fixed":"415b142b03b4daf770340761db1431d638d188e2"},{"ecosystem":"vendor","name":"Linux","range":">=39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5, <47897ae5e050c40ee80994507dd7eb504174e27f","fixed":"47897ae5e050c40ee80994507dd7eb504174e27f"},{"ecosystem":"vendor","name":"Linux","range":">=39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5, <7f88cd38394a16c326073c8813e7f1f1445bf3ba","fixed":"7f88cd38394a16c326073c8813e7f1f1445bf3ba"},{"ecosystem":"vendor","name":"Linux","range":">=39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5, <8beac82c7cc9f7d0b060a4c67d912c1b6a66a1f8","fixed":"8beac82c7cc9f7d0b060a4c67d912c1b6a66a1f8"},{"ecosystem":"vendor","name":"Linux","range":">=39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5, <9b08fc2d092171af388f83030d54488b87453155","fixed":"9b08fc2d092171af388f83030d54488b87453155"},{"ecosystem":"vendor","name":"Linux","range":">=39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5, <daf5987d2c48d9965534c3adc0a200bcb6e9d726","fixed":"daf5987d2c48d9965534c3adc0a200bcb6e9d726"},{"ecosystem":"vendor","name":"Linux","range":">=39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5, <ddb9848fd6b2f4e9ed5ef78b20c9720c65a29df5","fixed":"ddb9848fd6b2f4e9ed5ef78b20c9720c65a29df5"}],"references":[{"url":"https://git.kernel.org/stable/c/ddb9848fd6b2f4e9ed5ef78b20c9720c65a29df5","type":"other"},{"url":"https://git.kernel.org/stable/c/9b08fc2d092171af388f83030d54488b87453155","type":"other"},{"url":"https://git.kernel.org/stable/c/7f88cd38394a16c326073c8813e7f1f1445bf3ba","type":"other"},{"url":"https://git.kernel.org/stable/c/080833a32fd5dc10b3acf2fa9af9b3213e6cb617","type":"other"},{"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":"advisory"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://git.kernel.org/stable/c/8beac82c7cc9f7d0b060a4c67d912c1b6a66a1f8","type":"other"},{"url":"https://git.kernel.org/stable/c/415b142b03b4daf770340761db1431d638d188e2","type":"other"},{"url":"https://git.kernel.org/stable/c/47897ae5e050c40ee80994507dd7eb504174e27f","type":"other"},{"url":"https://git.kernel.org/stable/c/daf5987d2c48d9965534c3adc0a200bcb6e9d726","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.402Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99574","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:45.791Z"},{"name":"osv","at":"2026-11-22T13:31:47.294Z","url":"https://osv.dev/vulnerability/CVE-2026-99574","license":"CC-BY 4.0","firstSeenAt":"2026-11-22T13:31:47.275Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:56.250Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99574","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:11.458Z"}],"firstSeenAt":"2026-11-20T06:28:11.458Z","publishedAt":"2026-11-20T05:49:07.960Z","modifiedAt":"2026-11-23T08:17:59.250Z"}