5.5

CVE-2025-21736: nilfs2: fix possible int overflows in nilfs_fiemap()

Modified
AliasesUBUNTU-CVE-2025-21736DEBIAN-CVE-2025-21736
Published 27-02-2025Last modified 11-05-2026

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 18.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 51 · Related 50

Timeline

  1. 27-02-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last 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

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

18%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.25% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu137 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 · 140 products

References

57 links
Show all 57 references