CVE-2025-40200
Squashfs: reject negative file sizes in squashfs_read_inode()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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. [phillip@squashfs.org.uk: only need to check 64 bit quantity]
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
2.6.29
References 8
git.kernel.org
- stable/c/54170057a5fadd24a37b70de41e61d39284d9bd7
- stable/c/2871c74caa3f4f05b429e6bfefebac62dbf1b408
- stable/c/fbfc745db628de31f5c089147deeb87e95b89e66
- stable/c/8118f66124895829443d09c207e654adcb2f9321
- stable/c/8c7aad76751816207fee556d44aa88a710824810
- stable/c/875fb3f87ae0225b881319ba016a1a8c4ffd5812
- stable/c/f271155ff31aca8ef82c61c8df23ca97e9a77dd4
- stable/c/9f1c14c1de1bdde395f6cc893efa4f80a2ae3b2b