cbcvebase.
CVE-2025-40200
published 2025-11-12

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…

PriorityP421high7.8
EPSS
0.20%
9.7th percentile
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]

Affected

32 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
debianlinux-6.1< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
linuxlinux
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < 54170057a5fadd24a37b70de41e61d39284d9bd754170057a5fadd24a37b70de41e61d39284d9bd7
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < 2871c74caa3f4f05b429e6bfefebac62dbf1b4082871c74caa3f4f05b429e6bfefebac62dbf1b408
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < fbfc745db628de31f5c089147deeb87e95b89e66fbfc745db628de31f5c089147deeb87e95b89e66
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < 8118f66124895829443d09c207e654adcb2f93218118f66124895829443d09c207e654adcb2f9321
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < 8c7aad76751816207fee556d44aa88a7108248108c7aad76751816207fee556d44aa88a710824810
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < 875fb3f87ae0225b881319ba016a1a8c4ffd5812875fb3f87ae0225b881319ba016a1a8c4ffd5812
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < f271155ff31aca8ef82c61c8df23ca97e9a77dd4f271155ff31aca8ef82c61c8df23ca97e9a77dd4
linuxlinux>= 6545b246a2c815a8fcd07d58240effb6ec3481b1 < 9f1c14c1de1bdde395f6cc893efa4f80a2ae3b2b9f1c14c1de1bdde395f6cc893efa4f80a2ae3b2b
linuxlinux_kernel>= 0 < 5.10.247-15.10.247-1
linuxlinux_kernel>= 0 < 6.1.158-16.1.158-1
linuxlinux_kernel>= 0 < 6.12.57-16.12.57-1
linuxlinux_kernel>= 0 < 6.17.6-16.17.6-1
linuxlinux_kernel>= 0 < 5.15.0-170.1805.15.0-170.180
linuxlinux_kernel>= 0 < 6.8.0-106.1066.8.0-106.106
linuxlinux_kernel>= 0 < 6.17.0-14.146.17.0-14.14
linuxlinux_kernel>= 2.6.29 < 5.4.3015.4.301
linuxlinux_kernel>= 5.11.0 < 5.15.1955.15.195
linuxlinux_kernel>= 5.16.0 < 6.1.1576.1.157
linuxlinux_kernel>= 5.5.0 < 5.10.2465.10.246
linuxlinux_kernel>= 6.13.0 < 6.17.46.17.4
linuxlinux_kernel>= 6.2.0 < 6.6.1136.6.113
linuxlinux_kernel>= 6.7.0 < 6.12.546.12.54

CVSS provenance

osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_msrc5.5MEDIUM
vendor_redhat4.4LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.