CVE-2025-40200: Squashfs: reject negative file sizes in squashfs_read_inode()
Vulnerability summary
CVE-2025-40200 is a high (CVSS 7.1) vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 12% of scored vulnerabilities.
Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 06-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 47 · Related 45Timeline
- 12-11-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: Squashfs: reject negative file sizes in squashfs_read_inode() Syskaller reports a "WARNING in ovl_copy_up_file" in overlayfs. This warning is ultimately caused because the underlying Squashfs file system returns a file with a negative file size. This commit checks for a negative file size and returns EINVAL. [[email protected]: only need to check 64 bit quantity]
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu154 products
- linuxAll versions (No fix recorded) | < 5.15.0-170.180 | < 6.8.0-106.106 | < 6.17.0-14.14
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1100.107 | < 6.8.0-1050.53 | < 6.17.0-1007.7
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linux< 6.1.158-1 | < 6.12.57-1 | < 6.17.6-1
Linux1 product
- linux≥ 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 54170057a5fadd24a37b70de41e61d39284d9bd7 | ≥ 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 2871c74caa3f4f05b429e6bfefebac62dbf1b408 | ≥ 6545b246a2c815a8fcd07d58240effb6ec3481b1, < fbfc745db628de31f5c089147deeb87e95b89e66 | ≥ 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 8118f66124895829443d09c207e654adcb2f9321 | ≥ 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 8c7aad76751816207fee556d44aa88a710824810 | ≥ 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 875fb3f87ae0225b881319ba016a1a8c4ffd5812 | ≥ 6545b246a2c815a8fcd07d58240effb6ec3481b1, < f271155ff31aca8ef82c61c8df23ca97e9a77dd4 | ≥ 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 9f1c14c1de1bdde395f6cc893efa4f80a2ae3b2b | 2.6.29
3 vendors · 156 products