AZL-115300: CVE-2026-99574 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
f2fs: bound the SIT/NAT bitmaps by the checkpoint pack
sitverbitmapbytesize and natverbitmapbytesize are used as memcpy lengths into and out of sbi->ckpt, which is sized from cppayload alone, and nothing compares either length against that allocation.
sanitycheckckpt() has checked these two fields since c77ec61ca0a4, which added them after a crafted image overran buildsitinfo(). That check ties each length to a segment count; it never compares either against the allocation, which is the half this adds.
Mounting over-reads in buildsitinfo() and buildnodemanager(), and the first checkpoint writes the same lengths back through the same pointers, so the over-read's contents reach the on-disk checkpoint. An unmount is enough; the filesystem does not have to be used.
Bound both ends the way bitmapptr() lays them out. The three branches differ, so a single sum of the two lengths would still admit a small overflow when cppayload is non-zero.