CVE-2024-26982
Last modified
CVE-2024-26982 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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. [phillip@squashfs.org.uk: whitespace fix]
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | < 6.6.30 | — |
| Linux | Linux Kernel | >= 6.7, < 6.8.8 | — |
| Linux | Linux Kernel | 6.9 | Rc1 |
References
- https://git.kernel.org/stable/c/7def00ebc9f2d6a581ddf46ce4541f84a10680e5Mailing List, Patch
- https://git.kernel.org/stable/c/9253c54e01b6505d348afbc02abaa4d9f8a01395Mailing List, Patch
- https://git.kernel.org/stable/c/be383effaee3d89034f0828038f95065b518772eMailing List, Patch
- https://git.kernel.org/stable/c/7def00ebc9f2d6a581ddf46ce4541f84a10680e5Mailing List, Patch
- https://git.kernel.org/stable/c/9253c54e01b6505d348afbc02abaa4d9f8a01395Mailing List, Patch
- https://git.kernel.org/stable/c/be383effaee3d89034f0828038f95065b518772eMailing List, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-26982?
How severe is CVE-2024-26982?
How do I fix CVE-2024-26982?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-26977In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26978In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26979Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-2698A vulnerability was found in FreeIPA in how the initial impl…8.8
- CVE-2024-26980In the Linux kernel, the following vulnerability has been re…8.2
- CVE-2024-26981In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-26983In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-26984In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26985In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26986In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26987In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26988In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2024-26982?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
