Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-39502

7.8 · HIGH
Published Jul 12, 2024 linux CWE-416 EPSS 0.31% (23th pctl)

Overview

CVE-2024-39502 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 12, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

ionic: fix use after netif_napi_del()

When queues are started, netif_napi_add() and napi_enable() are called.

If there are 4 queues and only 3 queues are used for the current

configuration, only 3 queues' napi should be registered and enabled.

The ionic_qcq_enable() checks whether the .poll pointer is not NULL for

enabling only the using queue' napi. Unused queues' napi will not be

registered by netif_napi_add(), so the .poll pointer indicates NULL.

But it couldn't distinguish whether the napi was unregistered or not

because netif_napi_del() doesn't reset the .poll pointer to NULL.

So, ionic_qcq_enable() calls napi_enable() for the queue, which was

unregistered by netif_napi_del().

Reproducer:

ethtool -L <interface name> rx 1 tx 1 combined 0

ethtool -L <interface name> rx 0 tx 0 combined 1

ethtool -L <interface name> rx 0 tx 0 combined 4

Splat looks like:

kernel BUG at net/core/dev.c:6666!

Oops: invalid op

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.4, < 5.4.279 Affected

Frequently Asked Questions

What is CVE-2024-39502?

CVE-2024-39502 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 12, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-39502?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-39502?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-39502?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-39502 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.