CVE-2024-50145: octeon_ep: Add SKB allocation failures handling in __octep_oq_process_rx()

Published Nov 7, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

octeonep: Add SKB allocation failures handling in octepoqprocessrx()

buildskb() returns NULL in case of a memory allocation failure so handle it inside octepoqprocessrx() to avoid NULL pointer dereference.

octepoqprocessrx() 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 octepnapipoll() 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. 'allocfailures' counter is incremented to mark the skb allocation error in driver statistics.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Affected Software

9 affected componentsFixes available
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
Linux Linux kernel=6.12-rc2
Linux Linux kernel=6.12-rc3
Linux Linux kernel=6.12-rc4
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
debian/linux-6.1
6.1.129-1~deb11u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1
  2. Upgrade

    Upgrade debian/linux-6.1 to a version that resolves this vulnerability.

    Fixed in 6.1.129-1~deb11u1

Event History

Nov 7, 2024
CVE Published
via MITRE·09:31 AM
Data Sourced
via MITRE·09:31 AM
DescriptionSeverity
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 3, 2025
Data Sourced
via Ubuntu·01:04 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-50145?

CVE-2024-50145 is categorized as a moderate severity vulnerability due to potential NULL pointer dereference issues.

2

How do I fix CVE-2024-50145?

To resolve CVE-2024-50145, it is recommended to update to a patched version of the Linux kernel that addresses the SKB allocation handling.

3

Which Linux kernel versions are affected by CVE-2024-50145?

CVE-2024-50145 affects Linux kernel versions between 5.19 and 6.1.115, as well as several others up to and including 6.12-rc4.

4

What are the risks of not patching CVE-2024-50145?

Not patching CVE-2024-50145 may lead to application crashes or denial of service due to NULL pointer dereference vulnerabilities.

5

Is there a workaround for CVE-2024-50145 until I can patch?

While a specific workaround for CVE-2024-50145 is not detailed, minimizing exposure to impacted kernel versions may reduce risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203