CVE-2024-26828
Last modified
CVE-2024-26828 is a critical-severity vulnerability rated 9.4/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: cifs: fix underflow in parse_server_interfaces() In this loop, we step through the buffer and after each item we check if the size_left is greater than the minimum size we need. However, the problem is that "bytes_left" is type ssize_t while sizeof() is type size_t. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: cifs: fix underflow in parse_server_interfaces() In this loop, we step through the buffer and after each item we check if the size_left is greater than the minimum size we need. However, the problem is that "bytes_left" is type ssize_t while sizeof() is type size_t. That means that because of type promotion, the comparison is done as an unsigned and if we have negative bytes left the loop continues instead of ending.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.18, < 6.1.79 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.18 | — |
| Linux | Linux Kernel | >= 6.7, < 6.7.6 | — |
| Linux | Linux Kernel | 6.8 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-26828?
How severe is CVE-2024-26828?
How do I fix CVE-2024-26828?
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-26822In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26823In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26824In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26825In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26826In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26827Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-26829In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-2683A vulnerability classified as problematic was found in Campc…6.1
- CVE-2024-26830In the Linux kernel, the following vulnerability has been re…6.3
- CVE-2024-26831In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26832In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-26833In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-26828?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
