CVE-2025-21736

NameCVE-2025-21736
DescriptionIn the Linux kernel, the following vulnerability has been resolved: nilfs2: fix possible int overflows in nilfs_fiemap() Since nilfs_bmap_lookup_contig() in nilfs_fiemap() calculates its result by being prepared to go through potentially maxblocks == INT_MAX blocks, the value in n may experience an overflow caused by left shift of blkbits. While it is extremely unlikely to occur, play it safe and cast right hand expression to wider type to mitigate the issue. Found by Linux Verification Center (linuxtesting.org) with static analysis tool SVACE.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4102-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bullseye5.10.223-1vulnerable
bullseye (security)5.10.234-1vulnerable
bookworm6.1.129-1fixed
bookworm (security)6.1.128-1vulnerable
trixie6.12.20-1fixed
sid6.12.21-1fixed
linux-6.1 (PTS)bullseye (security)6.1.129-1~deb11u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcebookworm6.1.129-1
linuxsource(unstable)6.12.15-1
linux-6.1sourcebullseye6.1.129-1~deb11u1DLA-4102-1

Notes

https://git.kernel.org/linus/6438ef381c183444f7f9d1de18f22661cba1e946 (6.14-rc1)

Search for package or bug name: Reporting problems