# CVE-2024-27046: nfp: flower: handle acti\_netdevs allocation failure

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2024-05-01T12:54:21.725Z
- **Modified:** 2026-06-17T07:19:02.537Z

## Who should check

- Anyone running Linux \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< d746889db75a76aeee95fb705b8e1ac28c684a2e; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 3b1e8a617eb0f4cdc19def530047a95b5abde07d; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 928705e341010dd910fdece61ccb974f494a758f; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 0d387dc503f9a53e6d1f6e9dd0292d38f083eba5; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< c9b4e220dd18f79507803f38a55d53b483f6c9c3; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 408ba7fd04f959c61b50db79c983484312fea642; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< c8df9203bf22c66fa26e8d8c7f8ce181cf88099d; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 9d8eb1238377cd994829f9162ae396a84ae037b2; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 84e95149bd341705f0eca6a7fcb955c548805002
- Anyone running Linux 4.18

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

## Affected and fixed versions

- Linux: \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< d746889db75a76aeee95fb705b8e1ac28c684a2e; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 3b1e8a617eb0f4cdc19def530047a95b5abde07d; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 928705e341010dd910fdece61ccb974f494a758f; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 0d387dc503f9a53e6d1f6e9dd0292d38f083eba5; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< c9b4e220dd18f79507803f38a55d53b483f6c9c3; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 408ba7fd04f959c61b50db79c983484312fea642; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< c8df9203bf22c66fa26e8d8c7f8ce181cf88099d; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 9d8eb1238377cd994829f9162ae396a84ae037b2; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 84e95149bd341705f0eca6a7fcb955c548805002 (cvelist)
- Linux: 4.18 (cvelist)

## Mitigation

- Upgrade Linux to 84e95149bd341705f0eca6a7fcb955c548805002 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-27046. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-27046.md
Affected: Linux >= bb9a8d031140f186d13d82f57b0f5646d596652f, < d746889db75a76aeee95fb705b8e1ac28c684a2e; >= bb9a8d031140f186d13d82f57b0f5646d596652f, < 3b1e8a617eb0f4cdc19def530047a95b5abde07d; >= bb9a8d031140f186d13d82f57b0f5646d596652f, < 928705e341010dd910fdece61ccb974f494a758f; >= bb9a8d031140f186d13d82f…
Fixed in: Linux 3b1e8a617eb0f4cdc19def530047a95b5abde07d, Linux 928705e341010dd910fdece61ccb974f494a758f, Linux 0d387dc503f9a53e6d1f6e9dd0292d38f083eba5, Linux 408ba7fd04f959c61b50db79c983484312fea642, Linux 9d8eb1238377cd994829f9162ae396a84ae037b2, Linux 84e95149bd341705f0eca6a7fcb955c548805002

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-27046 being exploited?

There is no confirmed exploitation: CVE-2024-27046 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-27046?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-27046?

Linux \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< d746889db75a76aeee95fb705b8e1ac28c684a2e; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 3b1e8a617eb0f4cdc19def530047a95b5abde07d; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 928705e341010dd910fdece61ccb974f494a758f; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 0d387dc503f9a53e6d1f6e9dd0292d38f083eba5; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< c9b4e220dd18f79507803f38a55d53b483f6c9c3; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 408ba7fd04f959c61b50db79c983484312fea642; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< c8df9203bf22c66fa26e8d8c7f8ce181cf88099d; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 9d8eb1238377cd994829f9162ae396a84ae037b2; \>= bb9a8d031140f186d13d82f57b0f5646d596652f, \< 84e95149bd341705f0eca6a7fcb955c548805002; Linux 4.18.

### Is there a fix for CVE-2024-27046?

Yes. Fixed in Linux 3b1e8a617eb0f4cdc19def530047a95b5abde07d, Linux 928705e341010dd910fdece61ccb974f494a758f, Linux 0d387dc503f9a53e6d1f6e9dd0292d38f083eba5, Linux 408ba7fd04f959c61b50db79c983484312fea642, Linux 9d8eb1238377cd994829f9162ae396a84ae037b2, Linux 84e95149bd341705f0eca6a7fcb955c548805002. Upgrade Linux to 84e95149bd341705f0eca6a7fcb955c548805002 or later.

### How do I check if I'm affected by CVE-2024-27046?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d746889db75a76aeee95fb705b8e1ac28c684a2e>
- patch: <https://git.kernel.org/stable/c/3b1e8a617eb0f4cdc19def530047a95b5abde07d>
- patch: <https://git.kernel.org/stable/c/928705e341010dd910fdece61ccb974f494a758f>
- patch: <https://git.kernel.org/stable/c/0d387dc503f9a53e6d1f6e9dd0292d38f083eba5>
- patch: <https://git.kernel.org/stable/c/c9b4e220dd18f79507803f38a55d53b483f6c9c3>
- patch: <https://git.kernel.org/stable/c/408ba7fd04f959c61b50db79c983484312fea642>
- patch: <https://git.kernel.org/stable/c/c8df9203bf22c66fa26e8d8c7f8ce181cf88099d>
- patch: <https://git.kernel.org/stable/c/9d8eb1238377cd994829f9162ae396a84ae037b2>
- patch: <https://git.kernel.org/stable/c/84e95149bd341705f0eca6a7fcb955c548805002>
- patch: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- patch: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-27046>

HTML: <https://flawdb.com/CVE-2024-27046> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-27046>
