CVE-2025-21736: linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2025-21736 is a medium (CVSS 5.5) Integer Overflow or Wraparound vulnerability in linux. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 16.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 51 · Related 50Timeline
- 27-02-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
+0.01 pp
From 0.25% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu136 products
- linuxAll versions (No fix recorded) | < 5.4.0-216.236 | < 5.15.0-140.150 | < 6.8.0-64.67
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1146.156 | < 5.15.0-1084.91 | < 6.8.0-1032.34
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < 7649937987fed51ed09985da4019d50189fc534e | ≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < 58b1c6881081f5ddfb9a14dc241a74732c0f855c | ≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < 8f41df5fd4c11d26e929a85f7239799641f92da7 | ≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < f3d80f34f58445355fa27b9579a449fb186aa64e | ≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < f2bd0f1ab47822fe5bd699c8458b896c4b2edea1 | ≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < b9495a9109abc31d3170f7aad7d48aa64610a1a2 | ≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < 250423300b4b0335918be187ef3cade248c06e6a | ≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < 6438ef381c183444f7f9d1de18f22661cba1e946 | 2.6.38
- linux_kernel≥ 2.6.38, < 6.1.129 | ≥ 6.2, < 6.6.78 | ≥ 6.7, < 6.12.14 | ≥ 6.13, < 6.13.3
Debian1 product
- linux< 6.1.129-1 | < 6.12.15-1
3 vendors · 139 products