CVE Database
/

CVE-2025-40200

Back to search

CVE-2025-40200

Published: Nov 12, 2025

Modified: May 11, 2026

PUBLISHED

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]

VendorProductVersions

Linux

Linux

affected
6545b246a2c815a8fcd07d58240effb6ec3481b1 - < 54170057a5fadd24a37b70de41e61d39284d9bd7
affected
6545b246a2c815a8fcd07d58240effb6ec3481b1 - < 2871c74caa3f4f05b429e6bfefebac62dbf1b408
affected
6545b246a2c815a8fcd07d58240effb6ec3481b1 - < fbfc745db628de31f5c089147deeb87e95b89e66
affected
6545b246a2c815a8fcd07d58240effb6ec3481b1 - < 8118f66124895829443d09c207e654adcb2f9321
affected
6545b246a2c815a8fcd07d58240effb6ec3481b1 - < 8c7aad76751816207fee556d44aa88a710824810

+3 more versions

Linux

Linux

affected
2.6.29
unaffected
0 - < 2.6.29
unaffected
5.4.301 - <= 5.4.*
unaffected
5.10.246 - <= 5.10.*
unaffected
5.15.195 - <= 5.15.*

+5 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now