CVE-2024-27046

nfp: flower: handle acti_netdevs allocation failure

No CVSS score yet EPSS 0.30%

Published 1 May 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-27046

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-27046 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:

nfp: flower: handle acti_netdevs allocation failure

The kmalloc_array() in nfp_fl_lag_do_work() will return null, if the physical memory has run out. As a result, if we dereference the acti_netdevs, the null pointer dereference bugs will happen.

This patch adds a check to judge whether allocation failure occurs. If it happens, the delayed work will be rescheduled and try again.

Exploitation

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

The assessment of CISA (SSVC, 17 Jun 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 bb9a8d031140f186d13d82f57b0f5646d596652f, before d746889db75a76aeee95fb705b8e1ac28c684a2e
affected from bb9a8d031140f186d13d82f57b0f5646d596652f, before 3b1e8a617eb0f4cdc19def530047a95b5abde07d
affected from bb9a8d031140f186d13d82f57b0f5646d596652f, before 928705e341010dd910fdece61ccb974f494a758f
affected from bb9a8d031140f186d13d82f57b0f5646d596652f, before 0d387dc503f9a53e6d1f6e9dd0292d38f083eba5
affected from bb9a8d031140f186d13d82f57b0f5646d596652f, before c9b4e220dd18f79507803f38a55d53b483f6c9c3
affected from bb9a8d031140f186d13d82f57b0f5646d596652f, before 408ba7fd04f959c61b50db79c983484312fea642
affected from bb9a8d031140f186d13d82f57b0f5646d596652f, before c8df9203bf22c66fa26e8d8c7f8ce181cf88099d
affected from bb9a8d031140f186d13d82f57b0f5646d596652f, before 9d8eb1238377cd994829f9162ae396a84ae037b2
affected from bb9a8d031140f186d13d82f57b0f5646d596652f, before 84e95149bd341705f0eca6a7fcb955c548805002
Other versions: unaffected
Linux
affected 4.18
unaffected before 4.18
unaffected from 4.19.311 up to and including 4.19.*
unaffected from 5.4.273 up to and including 5.4.*
unaffected from 5.10.214 up to and including 5.10.*
unaffected from 5.15.153 up to and including 5.15.*
unaffected from 6.1.83 up to and including 6.1.*
unaffected from 6.6.23 up to and including 6.6.*
unaffected from 6.7.11 up to and including 6.7.*
unaffected from 6.8.2 up to and including 6.8.*
unaffected 6.9 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-27046 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27046

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-27046
trivy image --scanners vuln IMAGE | grep CVE-2024-27046

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-27046 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.