Menu

Star on GitHub · 3.2k

CVE-2024-39502

7.8 · HIGH

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.

Published Jul 12, 2024CWE-416EPSS 0.31%

Overview

CVE-2024-39502 is a high-severity vulnerability. 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, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2024-39502?

CVE-2024-39502 is a high-severity vulnerability. 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, patches, and mitigation guidance. 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 is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-39502 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all