MEDIUM · CVSS 5.5 Published: 2025-02-27

CVE-2025-21736 — Technical Security Advisory & CVSS Profile

In 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.

Technical Metadata

IdentifierCVE-2025-21736
Base Severity / ScoreMEDIUM (5.5 / 10.0)
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness ClassificationCWE-190
Archive CategoriesMEDIUM Advisories · 2025 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-21737 MEDIUM 5.5
CVE-2025-21733 MEDIUM 5.5
CVE-2025-2174 MEDIUM 5.3
CVE-2025-21744 MEDIUM 5.5
CVE-2025-21745 MEDIUM 5.5
CVE-2025-21746 MEDIUM 4.7