CVE Database›Document archive›CVE-2025-21848

CVE-2025-21848

kernel: nfp: bpf: Add check for nfp_app_ctrl_msg_alloc()

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · March 12, 2025

Updated · October 30, 2026

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.

Statement

This vulnerability is rated as Moderate severity because exploitation requires local access and is constrained to systems equipped with specialized Netronome Network Flow Processor (NFP) hardware. A local attacker with permissions to manipulate eBPF programs offloaded to the device could induce a null-pointer dereference during control message allocation failures, resulting in a denial of service (system crash). Confidentiality and integrity are not compromised, and systems without Netronome hardware are not exposed to this issue.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-395 · Use of NullPointerException Catch to Detect NULL Pointer Dereference