In the Linux kernel, the following vulnerability has been resolved:
Squashfs: reject negative file sizes in squashfsreadinode()
Syskaller reports a "WARNING in ovlcopyup_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]
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40200.json",
"cna_assigner": "Linux"
}