CVE-2024-50145CWE-476

CVE-2024-50145

High · published November 7, 2024

CVSS v3.1
7.5
EPSS
1%
Percentile
46.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00576 · 46.8th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2024-11-07T15:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 5.19, < 6.1.1156.1.115
linux/linux_kernel≥ 6.2, < 6.6.596.6.59
linux/linux_kernel≥ 6.7, < 6.11.66.11.6
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (5)
EPSS history
Timeline
  • 07 NOV 09:31Z
    octeon_ep: Add SKB allocation failures handling in __octep_oq_process_rx()
    cvelistv5