CVE-2025-40200
publishedSquashfs: reject negative file sizes in squashfs_read_inode()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6545b246a2c815a8fcd07d58240effb6ec3481b1 to < 54170057a5fadd24a37b70de41e61d39284d9bd7 · 6545b246a2c815a8fcd07d58240effb6ec3481b1 to < 2871c74caa3f4f05b429e6bfefebac62dbf1b408 · 6545b246a2c815a8fcd07d58240effb6ec3481b1 to < fbfc745db628de31f5c089147deeb87e95b89e66 · 6545b246a2c815a8fcd07d58240effb6ec3481b1 to < 8118f66124895829443d09c207e654adcb2f9321 · 6545b246a2c815a8fcd07d58240effb6ec3481b1 to < 8c7aad76751816207fee556d44aa88a710824810 · 6545b246a2c815a8fcd07d58240effb6ec3481b1 to < 875fb3f87ae0225b881319ba016a1a8c4ffd5812 · 6545b246a2c815a8fcd07d58240effb6ec3481b1 to < f271155ff31aca8ef82c61c8df23ca97e9a77dd4 · 6545b246a2c815a8fcd07d58240effb6ec3481b1 to < 9f1c14c1de1bdde395f6cc893efa4f80a2ae3b2b · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.29 (affected) · 0 to < 2.6.29 (unaffected · semver) · 5.4.301 through 5.4.* (unaffected · semver) · 5.10.246 through 5.10.* (unaffected · semver) · 5.15.195 through 5.15.* (unaffected · semver) · 6.1.157 through 6.1.* (unaffected · semver) · 6.6.113 through 6.6.* (unaffected · semver) · 6.12.54 through 6.12.* (unaffected · semver) · 6.17.4 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2026-112 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-095 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-114 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | linux | Advisory build | 5.10.247-1 | DLA-4404-1 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1297 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1316 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.158-1~deb11u1 | DLA-4379-1 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el7uek | ELSA-2025-28049 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.350.3.1.el8uek | ELSA-2025-28049 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-315.196.5.1.el8uek | ELSA-2025-28048 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek64kaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek64k-coreaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek64k-develaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek64k-modulesaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| Oracle Linux | 9 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:5.15.0-315.196.5.1.el9uek | ELSA-2025-28048 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.290.1 | SUSE-SU-2026:0316-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6545b246a2c815a8fcd07d58240effb6ec3481b1 to < 54170057a5fadd24a37b70de41e61d39284d9bd7 (affected · git)6545b246a2c815a8fcd07d58240effb6ec3481b1 to < 2871c74caa3f4f05b429e6bfefebac62dbf1b408 (affected · git)6545b246a2c815a8fcd07d58240effb6ec3481b1 to < fbfc745db628de31f5c089147deeb87e95b89e66 (affected · git)6545b246a2c815a8fcd07d58240effb6ec3481b1 to < 8118f66124895829443d09c207e654adcb2f9321 (affected · git)6545b246a2c815a8fcd07d58240effb6ec3481b1 to < 8c7aad76751816207fee556d44aa88a710824810 (affected · git)6545b246a2c815a8fcd07d58240effb6ec3481b1 to < 875fb3f87ae0225b881319ba016a1a8c4ffd5812 (affected · git)6545b246a2c815a8fcd07d58240effb6ec3481b1 to < f271155ff31aca8ef82c61c8df23ca97e9a77dd4 (affected · git)6545b246a2c815a8fcd07d58240effb6ec3481b1 to < 9f1c14c1de1bdde395f6cc893efa4f80a2ae3b2b (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.29 (affected)0 to < 2.6.29 (unaffected · semver)5.4.301 through 5.4.* (unaffected · semver)5.10.246 through 5.10.* (unaffected · semver)5.15.195 through 5.15.* (unaffected · semver)6.1.157 through 6.1.* (unaffected · semver)6.6.113 through 6.6.* (unaffected · semver)6.12.54 through 6.12.* (unaffected · semver)6.17.4 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/2871c74caa3f4f05b429e6bfefebac62dbf1b408
- https://git.kernel.org/stable/c/54170057a5fadd24a37b70de41e61d39284d9bd7
- https://git.kernel.org/stable/c/8118f66124895829443d09c207e654adcb2f9321
- https://git.kernel.org/stable/c/875fb3f87ae0225b881319ba016a1a8c4ffd5812
- https://git.kernel.org/stable/c/8c7aad76751816207fee556d44aa88a710824810
- https://git.kernel.org/stable/c/9f1c14c1de1bdde395f6cc893efa4f80a2ae3b2b
- https://git.kernel.org/stable/c/f271155ff31aca8ef82c61c8df23ca97e9a77dd4
- https://git.kernel.org/stable/c/fbfc745db628de31f5c089147deeb87e95b89e66
Provider assertions
1Linux · cna
Squashfs: reject negative file sizes in squashfs_read_inode()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d69f24ce98f89a98509db2b2abe801371212030635310b34da16c8b7145b2dfb
- Ingested
- 23 Sep 2026, 08:48:04 UTC
- Source record
- Official CVE record