CVE-2024-50145
Last modified
CVE-2024-50145 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: octeon_ep: Add SKB allocation failures handling in __octep_oq_process_rx() build_skb() returns NULL in case of a memory allocation failure so handle it inside __octep_oq_process_rx() to avoid NULL pointer dereference. __octep_oq_process_rx() is called during NAPI polling by the driver. If skb allocation fails, keep on pulling packets out of the Rx DMA queue: we shouldn't break the polling immediately and thus falsely indicate to the octep_napi_poll() that the Rx pressure is going down. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: octeon_ep: Add SKB allocation failures handling in __octep_oq_process_rx() build_skb() returns NULL in case of a memory allocation failure so handle it inside __octep_oq_process_rx() to avoid NULL pointer dereference. __octep_oq_process_rx() is called during NAPI polling by the driver. If skb allocation fails, keep on pulling packets out of the Rx DMA queue: we shouldn't break the polling immediately and thus falsely indicate to the octep_napi_poll() that the Rx pressure is going down. As there is no associated skb in this case, don't process the packets and don't push them up the network stack - they are skipped. Helper function is implemented to unmmap/flush all the fragment buffers used by the dropped packet. 'alloc_failures' counter is incremented to mark the skb allocation error in driver statistics. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.19, < 6.1.115 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.59 | — |
| Linux | Linux Kernel | >= 6.7, < 6.11.6 | — |
| Linux | Linux Kernel | 6.12 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-50145?
How severe is CVE-2024-50145?
How do I fix CVE-2024-50145?
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-5014In WhatsUp Gold versions released before 2023.1.3, a Server …6.5
- CVE-2024-50140In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50141In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50142In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50143In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-50144In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50146In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50147In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50148In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50149In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5015In WhatsUp Gold versions released before 2023.1.3, an authen…8.8
- CVE-2024-50150In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2024-50145?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
