CVE-2025-40200: Linux
EPSS: 0.2% chance of exploitation in the next 30 days.
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]
Affected products
- Linux Linux: from 2.6.29, before 5.4.301 (fixed in 5.4.301); from 5.5, before 5.10.246 (fixed in 5.10.246); from 5.11, before 5.15.195 (fixed in 5.15.195); from 5.16, before 6.1.157 (fixed in 6.1.157); from 6.2, before 6.6.113 (fixed in 6.6.113); from 6.7, before 6.12.54 (fixed in 6.12.54); …
Published 2025-11-12. Last modified 2026-06-17.