GHSA-8jh7-gcv4-cq6q
Record from GitHub Advisory Database · Published May 1, 2024
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. [phillip@squashfs.org.uk: whitespace fix] Link: https://lkml.kernel.org/r/20240409204723.446925-1-phillip@squashfs.org.uk
Risk scores
Timeline
- May 1, 2024 CVE Published
- Apr 10, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-8jh7-gcv4-cq6q
vulnetix vdb fixes GHSA-8jh7-gcv4-cq6q
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-8jh7-gcv4-cq6q/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://git.kernel.org/stable/c/7def00ebc9f2d6a581ddf46ce4541f84a10680e5 url
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html url
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW url
- https://nvd.nist.gov/vuln/detail/CVE-2024-26982 advisory
- https://git.kernel.org/stable/c/5b99dea79650b50909c50aba24fbae00f203f013 url
- https://git.kernel.org/stable/c/be383effaee3d89034f0828038f95065b518772e url
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html url
- https://cert-portal.siemens.com/productcert/html/ssa-503939.html url
- https://git.kernel.org/stable/c/32c114a58236fe67141634774559f21f1dc96fd7 url
- https://git.kernel.org/stable/c/4a1b6f89825e267e156ccaeba3d235edcac77f94 url
- https://git.kernel.org/stable/c/9253c54e01b6505d348afbc02abaa4d9f8a01395 url
- https://git.kernel.org/stable/c/cf46f88b92cfc0e32bd8a21ba1273cff13b8745f url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY url