CVE-2024-39506

liquidio: Adjust a NULL pointer handling path in lio_vf_rep_copy_packet

No CVSS score yet EPSS 0.29%

Published 12 Jul 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-39506

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-39506 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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 consider the most acceptable compromise solution to adjust this issue by moving skb_add_rx_frag() into conditional scope.

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

Exploitation

EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1f233f327913f3dee0602cba9c64df1903772b55, before 87d6bdc006f0cbf297a3b2ad6e40ede4c3ee5dc2
affected from 1f233f327913f3dee0602cba9c64df1903772b55, before dcc7440f32c7a26b067aff6e7d931ec593024a79
affected from 1f233f327913f3dee0602cba9c64df1903772b55, before cbf18d8128a753cb632bef39470d19befd9c7347
affected from 1f233f327913f3dee0602cba9c64df1903772b55, before a86490a3712cc513113440a606a0e77130abd47c
affected from 1f233f327913f3dee0602cba9c64df1903772b55, before f1ab15a09492a5ae8ab1e2c35ba2cf9e150d25ee
affected from 1f233f327913f3dee0602cba9c64df1903772b55, before fd2b613bc4c508e55c1221c6595bb889812a4fea
affected from 1f233f327913f3dee0602cba9c64df1903772b55, before a6f4d0ec170a46b5f453cacf55dff5989b42bbfa
affected from 1f233f327913f3dee0602cba9c64df1903772b55, before c44711b78608c98a3e6b49ce91678cd0917d5349
Other versions: unaffected
Linux
affected 4.15
unaffected before 4.15
unaffected from 4.19.317 up to and including 4.19.*
unaffected from 5.4.279 up to and including 5.4.*
unaffected from 5.10.221 up to and including 5.10.*
unaffected from 5.15.162 up to and including 5.15.*
unaffected from 6.1.95 up to and including 6.1.*
unaffected from 6.6.35 up to and including 6.6.*
unaffected from 6.9.6 up to and including 6.9.*
unaffected 6.10 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-39506 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-39506

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-39506
trivy image --scanners vuln IMAGE | grep CVE-2024-39506

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-39506 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.