CVE-2025-21736Linux Kernel
Medium 5.5
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 16
- Auth required
- Yes
- Published
- Feb 27, 2025
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-190
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | ≥ 2.6.38 < 6.1.129 |
| linux | linux_kernel | ≥ 6.2 < 6.6.78 |
| linux | linux_kernel | ≥ 6.7 < 6.12.14 |
| linux | linux_kernel | ≥ 6.13 < 6.13.3 |
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org
- git.kernel.org Patch
- git.kernel.org
- git.kernel.org
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- lists.debian.org
- lists.debian.org