{"id":"CVE-2025-40200","published":"2025-11-12T21:56:33Z","modified":"2026-05-11T21:44:41Z","title":"Squashfs: reject negative file sizes in squashfs_read_inode()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nSquashfs: reject negative file sizes in squashfs_read_inode()\n\nSyskaller reports a \"WARNING in ovl_copy_up_file\" in overlayfs.\n\nThis warning is ultimately caused because the underlying Squashfs file\nsystem returns a file with a negative file size.\n\nThis commit checks for a negative file size and returns EINVAL.\n\n[phillip@squashfs.org.uk: only need to check 64 bit quantity]","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00211,"percentile":0.11461,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/54170057a5fadd24a37b70de41e61d39284d9bd7","tags":[]},{"url":"https://git.kernel.org/stable/c/2871c74caa3f4f05b429e6bfefebac62dbf1b408","tags":[]},{"url":"https://git.kernel.org/stable/c/fbfc745db628de31f5c089147deeb87e95b89e66","tags":[]},{"url":"https://git.kernel.org/stable/c/8118f66124895829443d09c207e654adcb2f9321","tags":[]},{"url":"https://git.kernel.org/stable/c/8c7aad76751816207fee556d44aa88a710824810","tags":[]},{"url":"https://git.kernel.org/stable/c/875fb3f87ae0225b881319ba016a1a8c4ffd5812","tags":[]},{"url":"https://git.kernel.org/stable/c/f271155ff31aca8ef82c61c8df23ca97e9a77dd4","tags":[]},{"url":"https://git.kernel.org/stable/c/9f1c14c1de1bdde395f6cc893efa4f80a2ae3b2b","tags":[]}],"priority":{"score":2.3,"factors":[{"name":"EPSS percentile","points":2.29}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 54170057a5fadd24a37b70de41e61d39284d9bd7",">= 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 2871c74caa3f4f05b429e6bfefebac62dbf1b408",">= 6545b246a2c815a8fcd07d58240effb6ec3481b1, < fbfc745db628de31f5c089147deeb87e95b89e66",">= 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 8118f66124895829443d09c207e654adcb2f9321",">= 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 8c7aad76751816207fee556d44aa88a710824810",">= 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 875fb3f87ae0225b881319ba016a1a8c4ffd5812",">= 6545b246a2c815a8fcd07d58240effb6ec3481b1, < f271155ff31aca8ef82c61c8df23ca97e9a77dd4",">= 6545b246a2c815a8fcd07d58240effb6ec3481b1, < 9f1c14c1de1bdde395f6cc893efa4f80a2ae3b2b"]},{"vendor":"Linux","product":"Linux","versions":["2.6.29"]}],"euvd":{"id":"EUVD-2025-150374","exploited":false,"provenance":"source"}}