CVE-2025-40200
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]
- EPSS
- 0.2% chance of exploitation in the next 30 days; higher than 11% of CVEs (scores of 2026-10-25)
- Published
- Modified
- Record from
- the NVD, synced
References
- https://git.kernel.org/stable/c/2871c74caa3f4f05b429e6bfefebac62dbf1b408
- https://git.kernel.org/stable/c/54170057a5fadd24a37b70de41e61d39284d9bd7
- https://git.kernel.org/stable/c/8118f66124895829443d09c207e654adcb2f9321
- https://git.kernel.org/stable/c/875fb3f87ae0225b881319ba016a1a8c4ffd5812
- https://git.kernel.org/stable/c/8c7aad76751816207fee556d44aa88a710824810