CVE-2025-21736
Linux Kernel Nilfs2 Integer Overflow Vulnerability
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.
INFO
Published Date :
Feb. 27, 2025, 3:15 a.m.
Last Modified :
March 13, 2025, 1:15 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-21736
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-21736
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-21736
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Mar. 13, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/58b1c6881081f5ddfb9a14dc241a74732c0f855c Added Reference https://git.kernel.org/stable/c/7649937987fed51ed09985da4019d50189fc534e Added Reference https://git.kernel.org/stable/c/8f41df5fd4c11d26e929a85f7239799641f92da7 -
Initial Analysis by [email protected]
Mar. 06, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-190 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 from (excluding) 6.13.3 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 from (excluding) 6.6.78 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 from (excluding) 6.12.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.38 from (excluding) 6.1.129 Added Reference Type kernel.org: https://git.kernel.org/stable/c/250423300b4b0335918be187ef3cade248c06e6a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6438ef381c183444f7f9d1de18f22661cba1e946 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b9495a9109abc31d3170f7aad7d48aa64610a1a2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f2bd0f1ab47822fe5bd699c8458b896c4b2edea1 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f3d80f34f58445355fa27b9579a449fb186aa64e Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Feb. 27, 2025
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
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-21736
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-21736
weaknesses.