Menu

Star on GitHub · 3.2k

CVE-2024-39506

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: liquidio: Adjust a NULL pointer handling path in lio_vf_rep_copy_packet In lio_vf_rep_copy_packet() pg_info->page is compared t…

Published Jul 12, 2024CWE-476EPSS 0.29%

Overview

CVE-2024-39506 is a medium-severity vulnerability. It was published on July 12, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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:

liquidio: Adjust a NULL pointer handling path in lio_vf_rep_copy_packet

In lio_vf_rep_copy_packet() pg_info->page is compared to a NULL value,

but then it is unconditionally passed to skb_add_rx_frag() which looks

strange and could lead to null pointer dereference.

lio_vf_rep_copy_packet() call trace looks like:

octeon_droq_process_packets

octeon_droq_fast_process_packets

octeon_droq_dispatch_pkt

octeon_create_recv_info

...search in the dispatch_list...

->disp_fn(rdisp->rinfo, ...)

lio_vf_rep_pkt_recv(struct octeon_recv_info *recv_info, ...)

In this path there is no code which sets pg_info->page to NULL.

So this check looks unneeded and doesn't solve potential problem.

But I guess the author had reason to add a check and I have no such card

and can't do real test.

In addition, the code in the function liquidio_push_packet() in

liquidio/lio_core.c does exactly the same.

Based on this, I c

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-39506?

CVE-2024-39506 is a medium-severity vulnerability. It was published on July 12, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-39506?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-39506?

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-39506?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-39506 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 MEDIUM CVEs from 2024

View all