CVE-2025-21736: Linux kernel · nilfs2: fix possible int overflows in nilfs_fiemap()
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 01:13 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been applied in the Linux kernel source code by casting the relevant expression to a wider integer type to prevent overflow. Users should update to the latest kernel version containing this fix once available.
Description
CVE-2025-21736 is a medium severity vulnerability in the Linux kernel's nilfs2 filesystem code. It involves a possible integer overflow in the nilfs_fiemap() function due to calculations that may exceed the maximum integer value when processing block counts. Although exploitation is extremely unlikely, the issue was identified and fixed to prevent potential denial of service.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21736 (opens in a new tab)
- git.kernel.org/stable/c/250423300b4b0335918be187ef3cade248c06e6a (opens in a new tab)
- git.kernel.org/stable/c/58b1c6881081f5ddfb9a14dc241a74732c0f855c (opens in a new tab)
- git.kernel.org/stable/c/6438ef381c183444f7f9d1de18f22661cba1e946 (opens in a new tab)
- git.kernel.org/stable/c/7649937987fed51ed09985da4019d50189fc534e (opens in a new tab)
- git.kernel.org/stable/c/8f41df5fd4c11d26e929a85f7239799641f92da7 (opens in a new tab)
- git.kernel.org/stable/c/b9495a9109abc31d3170f7aad7d48aa64610a1a2 (opens in a new tab)
- git.kernel.org/stable/c/f2bd0f1ab47822fe5bd699c8458b896c4b2edea1 (opens in a new tab)
- git.kernel.org/stable/c/f3d80f34f58445355fa27b9579a449fb186aa64e (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)