CVE-2024-26982

Squashfs: check the inode number is not the invalid value of zero

HIGH
7.1
CVSS Score
Published: May 1, 2024 at 05:27 AM UTC
Updated: October 15, 2026 at 01:17 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: Squashfs: check the inode number is not the invalid value of zero Syskiller has produced an out of bounds access in fill_meta_index(). That out of bounds access is ultimately caused because the inode has an inode number with the invalid value of zero, which was not checked. The reason this causes the out of bounds access is due to following sequence of events: 1. Fill_meta_index() is called to allocate (via empty_meta_index()) and fill a metadata index. It however suffers a data read error and aborts, invalidating the newly returned empty metadata index. It does this by setting the inode number of the index to zero, which means unused (zero is not a valid inode number). 2. When fill_meta_index() is subsequently called again on another read operation, locate_meta_index() returns the previous index because it matches the inode number of 0. Because this index has been returned it is expected to have been filled, and because it hasn't been, an out of bounds access is performed. This patch adds a sanity check which checks that the inode number is not zero when the inode is created and returns -EINVAL if it is. [[email protected]: whitespace fix]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.6.306.7 ≤ v < 6.8.86.96.9 rc16.9 rc26.9 rc36.9 rc46545b246a2c815a8fcd07d58240effb6ec3481b1
Vendor states this is fixed in 32c114a58236fe67141634774559f21f1dc96fd7 (fixed)
Vendor states this is fixed in 4a1b6f89825e267e156ccaeba3d235edcac77f94 (fixed)
Vendor states this is fixed in 5b99dea79650b50909c50aba24fbae00f203f013 (fixed)
Vendor states this is fixed in 7def00ebc9f2d6a581ddf46ce4541f84a10680e5 (fixed)
Vendor states this is fixed in 9253c54e01b6505d348afbc02abaa4d9f8a01395 (fixed)
Vendor states this is fixed in be383effaee3d89034f0828038f95065b518772e (fixed)
Vendor states this is fixed in cf46f88b92cfc0e32bd8a21ba1273cff13b8745f (fixed)
Vendor states this is fixed in 2.6.29 (unaffected)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.130 (unaffected)
Vendor states this is fixed in 6.6.30 (unaffected)
Vendor states this is fixed in 6.8.8 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (15)

Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7def00ebc9f2d6a581ddf46ce4541f84a10680e5
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9253c54e01b6505d348afbc02abaa4d9f8a01395
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/be383effaee3d89034f0828038f95065b518772e
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card