Skip to main content
Network Thinking Solutions Logo

CVE-2025-21736

Linux kernel: nilfs2: fix possible int overflows in nilfs_fiemap()

All CVEs
CVE-2025-21736Published 2/27/2025

Linux kernel: nilfs2: fix possible int overflows in nilfs_fiemap()

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
2/27/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.38, < 6.1.129

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.78

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.14

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.3

Verify advisory

Source
Linux
Linux
≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < 7649937987fed51ed09985da4019d50189fc534e

Verify advisory

Source
Linux
Linux
≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < 58b1c6881081f5ddfb9a14dc241a74732c0f855c

Verify advisory

Source
Linux
Linux
≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < 8f41df5fd4c11d26e929a85f7239799641f92da7

Verify advisory

Source
Linux
Linux
≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < f3d80f34f58445355fa27b9579a449fb186aa64e

Verify advisory

Source
Linux
Linux
≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < f2bd0f1ab47822fe5bd699c8458b896c4b2edea1

Verify advisory

Source
Linux
Linux
≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < b9495a9109abc31d3170f7aad7d48aa64610a1a2

Verify advisory

Source
Linux
Linux
≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < 250423300b4b0335918be187ef3cade248c06e6a

Verify advisory

Source
Linux
Linux
≥ 622daaff0a8975fb5c5b95f24f3234550ba32e92, < 6438ef381c183444f7f9d1de18f22661cba1e946

Verify advisory

Source
Linux
Linux
2.6.38

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.