U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2025-21736

Change History

New CVE Received from kernel.org 2/26/2025 10:15:14 PM

Action Type Old Value New Value
Added 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.
Added Reference

								
							
							
						
https://git.kernel.org/stable/c/250423300b4b0335918be187ef3cade248c06e6a
Added Reference

								
							
							
						
https://git.kernel.org/stable/c/6438ef381c183444f7f9d1de18f22661cba1e946
Added Reference

								
							
							
						
https://git.kernel.org/stable/c/b9495a9109abc31d3170f7aad7d48aa64610a1a2
Added Reference

								
							
							
						
https://git.kernel.org/stable/c/f2bd0f1ab47822fe5bd699c8458b896c4b2edea1
Added Reference

								
							
							
						
https://git.kernel.org/stable/c/f3d80f34f58445355fa27b9579a449fb186aa64e