# CVE-2024-50145: octeon\_ep: Add SKB allocation failures handling in \_\_octep\_oq\_process\_rx()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.79% (percentile 53, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-11-07T09:31:22.202Z
- **Modified:** 2026-08-05T11:42:01.754Z

## Who should check

- Anyone running Linux \>= 37d79d0596062057f588bdbb2ebad5455a43d353, \< 09ce491112bbf0b866e2638d3e961c1c73d1f00b; \>= 37d79d0596062057f588bdbb2ebad5455a43d353, \< c2d2dc4f88bb3cfc4f3cc320fd3ff51b0ae5b0ea; \>= 37d79d0596062057f588bdbb2ebad5455a43d353, \< 2dedcb6f99f4c1a11944e7cc35dbeb9b18a5cbac; \>= 37d79d0596062057f588bdbb2ebad5455a43d353, \< eb592008f79be52ccef88cd9a5249b3fc0367278
- Anyone running Linux 5.19

## 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.

## Affected and fixed versions

- Linux: \>= 37d79d0596062057f588bdbb2ebad5455a43d353, \< 09ce491112bbf0b866e2638d3e961c1c73d1f00b; \>= 37d79d0596062057f588bdbb2ebad5455a43d353, \< c2d2dc4f88bb3cfc4f3cc320fd3ff51b0ae5b0ea; \>= 37d79d0596062057f588bdbb2ebad5455a43d353, \< 2dedcb6f99f4c1a11944e7cc35dbeb9b18a5cbac; \>= 37d79d0596062057f588bdbb2ebad5455a43d353, \< eb592008f79be52ccef88cd9a5249b3fc0367278 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50145. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50145.md
Affected: Linux >= 37d79d0596062057f588bdbb2ebad5455a43d353, < 09ce491112bbf0b866e2638d3e961c1c73d1f00b; >= 37d79d0596062057f588bdbb2ebad5455a43d353, < c2d2dc4f88bb3cfc4f3cc320fd3ff51b0ae5b0ea; >= 37d79d0596062057f588bdbb2ebad5455a43d353, < 2dedcb6f99f4c1a11944e7cc35dbeb9b18a5cbac; >= 37d79d0596062057f588bdb…
Fixed in: Linux 09ce491112bbf0b866e2638d3e961c1c73d1f00b, Linux 2dedcb6f99f4c1a11944e7cc35dbeb9b18a5cbac

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50145 being exploited?

There is no confirmed exploitation: CVE-2024-50145 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.79% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-50145?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-50145?

Linux \>= 37d79d0596062057f588bdbb2ebad5455a43d353, \< 09ce491112bbf0b866e2638d3e961c1c73d1f00b; \>= 37d79d0596062057f588bdbb2ebad5455a43d353, \< c2d2dc4f88bb3cfc4f3cc320fd3ff51b0ae5b0ea; \>= 37d79d0596062057f588bdbb2ebad5455a43d353, \< 2dedcb6f99f4c1a11944e7cc35dbeb9b18a5cbac; \>= 37d79d0596062057f588bdbb2ebad5455a43d353, \< eb592008f79be52ccef88cd9a5249b3fc0367278; Linux 5.19.

### Is there a fix for CVE-2024-50145?

Yes. Fixed in Linux 09ce491112bbf0b866e2638d3e961c1c73d1f00b, Linux 2dedcb6f99f4c1a11944e7cc35dbeb9b18a5cbac. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-50145?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/09ce491112bbf0b866e2638d3e961c1c73d1f00b>
- patch: <https://git.kernel.org/stable/c/c2d2dc4f88bb3cfc4f3cc320fd3ff51b0ae5b0ea>
- patch: <https://git.kernel.org/stable/c/2dedcb6f99f4c1a11944e7cc35dbeb9b18a5cbac>
- patch: <https://git.kernel.org/stable/c/eb592008f79be52ccef88cd9a5249b3fc0367278>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50145>

HTML: <https://flawdb.com/CVE-2024-50145> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50145>
