CVE-2025-21848

nfp: bpf: Add check for nfp_app_ctrl_msg_alloc()

MEDIUM
5.5
CVSS Score
Published: March 12, 2025 at 09:42 AM UTC
Updated: October 15, 2026 at 01:04 AM UTC
4 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP FirmwareSiplus S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.16 ≤ v < 5.10.2354.16 ≤ v < 5.15.1794.16 ≤ v < 5.4.2914.16 ≤ v < 6.1.1304.16 ≤ v < 6.12.174.16 ≤ v < 6.13.54.16 ≤ v < 6.144.16 ≤ v < 6.6.806.13 ≤ v < 6.13.56.2 ≤ v < 6.6.806.7 ≤ v < 6.12.176.14 rc16.14 rc26.14 rc3ff3d43f7568c82b335d7df2d40a31447c3fce10c
Vendor states this is fixed in 1358d8e07afdf21d49ca6f00c56048442977e00a (fixed)
Vendor states this is fixed in 29ccb1e4040da6ff02b7e64efaa2f8e6bf06020d (fixed)
Vendor states this is fixed in 878e7b11736e062514e58f3b445ff343e6705537 (fixed)
Vendor states this is fixed in 897c32cd763fd11d0b6ed024c52f44d2475bb820 (fixed)
Vendor states this is fixed in 924b239f9704566e0d86abd894d2d64bd73c11eb (fixed)
Vendor states this is fixed in bd97f60750bb581f07051f98e31dfda59d3a783b (fixed)
Vendor states this is fixed in d64c6ca420019712e194fe095b55f87363e22a9a (fixed)
Vendor states this is fixed in e976ea6c5e1b005c64467cbf94a8577aae9c7d81 (fixed)
Vendor states this is fixed in 4.16 (unaffected)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.130 (unaffected)
Vendor states this is fixed in 6.12.17 (unaffected)
Vendor states this is fixed in 6.13.5 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.80 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1358d8e07afdf21d49ca6f00c56048442977e00a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/29ccb1e4040da6ff02b7e64efaa2f8e6bf06020d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/878e7b11736e062514e58f3b445ff343e6705537
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/897c32cd763fd11d0b6ed024c52f44d2475bb820
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/924b239f9704566e0d86abd894d2d64bd73c11eb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bd97f60750bb581f07051f98e31dfda59d3a783b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d64c6ca420019712e194fe095b55f87363e22a9a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e976ea6c5e1b005c64467cbf94a8577aae9c7d81

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card