CVE-2025-21848Published Mar 12, 2025 · Mar 12Updated Oct 28
nfp: bpf: Add check for nfp_app_ctrl_msg_alloc()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ff3d43f7568c82b335d7df2d40a31447c3fce10c · < 897c32cd763fd11d0b6ed024c52f44d2475bb820| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s nfp BPF code did not check whether nfp_app_ctrl_msg_alloc() returned a null pointer, which could lead to a null pointer dereference. The input does not establish how an attacker could trigger it or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the nfp BPF code should check their exposure; affected versions were not provided.