CVE-2025-21736
Last modified
CVE-2025-21736 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| 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 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-21736?
How severe is CVE-2025-21736?
How do I fix CVE-2025-21736?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-21730In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21731In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-21732In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-21733In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21734In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-21735In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-21737In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21738In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21739In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-2174A vulnerability was found in libzvbi up to 0.2.43. It has be…7.5
- CVE-2025-21740Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-21741In the Linux kernel, the following vulnerability has been re…7.1
Are you affected by CVE-2025-21736?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
