CVE-2025-21848
JSON

5.5medium

nfp: bpf: Add check for nfp_app_ctrl_msg_alloc()

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.25% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom ff3d43f7568c82b335d7df2d40a31447c3fce10c before d64c6ca420019712e194fe095b55f87363e22a9a, from ff3d43f7568c82b335d7df2d40a31447c3fce10c before e976ea6c5e1b005c64467cbf94a8577aae9c7d81, from ff3d43f7568c82b335d7df2d40a31447c3fce10c before 924b239f9704566e0d86abd894d2d64bd73c11eb, from ff3d43f7568c82b335d7df2d40a31447c3fce10c before 1358d8e07afdf21d49ca6f00c56048442977e00a, from ff3d43f7568c82b335d7df2d40a31447c3fce10c before 29ccb1e4040da6ff02b7e64efaa2f8e6bf06020d, from ff3d43f7568c82b335d7df2d40a31447c3fce10c before 897c32cd763fd11d0b6ed024c52f44d2475bb820, from ff3d43f7568c82b335d7df2d40a31447c3fce10c before bd97f60750bb581f07051f98e31dfda59d3a783b, from ff3d43f7568c82b335d7df2d40a31447c3fce10c before 878e7b11736e062514e58f3b445ff343e6705537 and 1 more
Not affected: before 4.16, from 5.4.291 up to 5.4.*, from 5.10.235 up to 5.10.*, from 5.15.179 up to 5.15.*, from 6.1.130 up to 6.1.*, from 6.6.80 up to 6.6.*
CVE List
linux linux_kernelfrom 4.16 before 6.1.130, from 6.2 before 6.6.80, from 6.7 before 6.12.17, from 6.13 before 6.13.5, 6.14NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfp: bpf: Agregar verificación para nfp_app_ctrl_msg_alloc() Agregar verificación para el valor de retorno de nfp_app_ctrl_msg_alloc() en nfp_bpf_cmsg_alloc() para evitar la desreferencia del puntero nulo.

References

https://git.kernel.org/stable/c/d64c6ca420019712e194fe095b55f87363e22a9apatch
https://git.kernel.org/stable/c/e976ea6c5e1b005c64467cbf94a8577aae9c7d81patch
https://git.kernel.org/stable/c/924b239f9704566e0d86abd894d2d64bd73c11ebpatch
https://git.kernel.org/stable/c/1358d8e07afdf21d49ca6f00c56048442977e00apatch
https://git.kernel.org/stable/c/29ccb1e4040da6ff02b7e64efaa2f8e6bf06020dpatch
https://git.kernel.org/stable/c/897c32cd763fd11d0b6ed024c52f44d2475bb820patch
https://git.kernel.org/stable/c/bd97f60750bb581f07051f98e31dfda59d3a783bpatch
https://git.kernel.org/stable/c/878e7b11736e062514e58f3b445ff343e6705537patch
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
https://cert-portal.siemens.com/productcert/html/ssa-082556.html

Sources

SourceRecordLicence
CVE ListCVE-2025-21848 changed 2026-10-15CVE Terms of Use
NVDCVE-2025-21848 changed 2026-06-17Public domain