VDB

CVE-2025-21848

CVE-2025-21848 PUBLISHED CVSS 5.5 MEDIUM

nfp: bpf: Add check for nfp_app_ctrl_msg_alloc()

Reported by linux · Published March 12, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.13.5, 6.12.17, 6.6.80, 6.1.130
LinuxLinuxe976ea6c5e1b005c64467cbf94a8577aae9c7d81, d64c6ca420019712e194fe095b55f87363e22a9a, bd97f60750bb581f07051f98e31dfda59d3a783b, 924b239f9704566e0d86abd894d2d64bd73c11eb, 897c32cd763fd11d0b6ed024c52f44d2475bb820, 4.16, 29ccb1e4040da6ff02b7e64efaa2f8e6bf06020d, 1358d8e07afdf21d49ca6f00c56048442977e00a

Risk scores

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

Affected products

VendorProductVersions
LinuxLinuxff3d43f7568c82b335d7df2d40a31447c3fce10c, ff3d43f7568c82b335d7df2d40a31447c3fce10c, ff3d43f7568c82b335d7df2d40a31447c3fce10c
LinuxLinux4.16, 0, 5.4.291
LinuxLinux*, 5.10.235, 5.15.179
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.5
linuxlinux_kernel4.16, 4.16, 4.16
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.5
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.5

Timeline

  • Mar 11, 2025 CVE Published
  • Mar 13, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 13, 2025 Coalition ESS Score (13 in total, the first dated here)
  • Dec 18, 2025 PoC Published
  • Dec 22, 2025 Security Advisory (177 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (174 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21848
vulnetix vdb fixes CVE-2025-21848

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21848/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›