CVE-2025-21736

Medium

Description

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedFeb 27, 2025
First seenFeb 27, 2025

How to fix

Update
  • linux linux_kernel6.1.129, 6.6.78, 6.12.14, 6.13.3 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel2.6.38 ≤ v < 6.1.129, 6.2 ≤ v < 6.6.78, 6.7 ≤ v < 6.12.14, 6.13 ≤ v < 6.13.36.1.129, 6.6.78, 6.12.14, 6.13.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.