| lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
|
Open Source and information security mailing list archives
| ||
|
Message-ID: <2025111246-CVE-2025-40200-c514@gregkh> Date: Wed, 12 Nov 2025 17:01:03 -0500 From: Greg Kroah-Hartman <gregkh@...uxfoundation.org> To: linux-cve-announce@...r.kernel.org Cc: Greg Kroah-Hartman <gregkh@...nel.org> Subject: CVE-2025-40200: Squashfs: reject negative file sizes in squashfs_read_inode() From: Greg Kroah-Hartman <gregkh@...nel.org> 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. [phillip@...ashfs.org.uk: only need to check 64 bit quantity] The Linux kernel CVE team has assigned CVE-2025-40200 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.29 with commit 6545b246a2c815a8fcd07d58240effb6ec3481b1 and fixed in 5.4.301 with commit 54170057a5fadd24a37b70de41e61d39284d9bd7 Issue introduced in 2.6.29 with commit 6545b246a2c815a8fcd07d58240effb6ec3481b1 and fixed in 5.10.246 with commit 2871c74caa3f4f05b429e6bfefebac62dbf1b408 Issue introduced in 2.6.29 with commit 6545b246a2c815a8fcd07d58240effb6ec3481b1 and fixed in 5.15.195 with commit fbfc745db628de31f5c089147deeb87e95b89e66 Issue introduced in 2.6.29 with commit 6545b246a2c815a8fcd07d58240effb6ec3481b1 and fixed in 6.1.157 with commit 8118f66124895829443d09c207e654adcb2f9321 Issue introduced in 2.6.29 with commit 6545b246a2c815a8fcd07d58240effb6ec3481b1 and fixed in 6.6.113 with commit 8c7aad76751816207fee556d44aa88a710824810 Issue introduced in 2.6.29 with commit 6545b246a2c815a8fcd07d58240effb6ec3481b1 and fixed in 6.12.54 with commit 875fb3f87ae0225b881319ba016a1a8c4ffd5812 Issue introduced in 2.6.29 with commit 6545b246a2c815a8fcd07d58240effb6ec3481b1 and fixed in 6.17.4 with commit f271155ff31aca8ef82c61c8df23ca97e9a77dd4 Issue introduced in 2.6.29 with commit 6545b246a2c815a8fcd07d58240effb6ec3481b1 and fixed in 6.18-rc1 with commit 9f1c14c1de1bdde395f6cc893efa4f80a2ae3b2b Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-40200 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/squashfs/inode.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/54170057a5fadd24a37b70de41e61d39284d9bd7 https://git.kernel.org/stable/c/2871c74caa3f4f05b429e6bfefebac62dbf1b408 https://git.kernel.org/stable/c/fbfc745db628de31f5c089147deeb87e95b89e66 https://git.kernel.org/stable/c/8118f66124895829443d09c207e654adcb2f9321 https://git.kernel.org/stable/c/8c7aad76751816207fee556d44aa88a710824810 https://git.kernel.org/stable/c/875fb3f87ae0225b881319ba016a1a8c4ffd5812 https://git.kernel.org/stable/c/f271155ff31aca8ef82c61c8df23ca97e9a77dd4 https://git.kernel.org/stable/c/9f1c14c1de1bdde395f6cc893efa4f80a2ae3b2b
Powered by blists - more mailing lists