{"id":"CVE-2025-21848","aliases":["CVE-2025-21848"],"related":[],"kind":"vulnerability","state":"published","title":"nfp: bpf: Add check for nfp_app_ctrl_msg_alloc()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfp: bpf: Add check for nfp_app_ctrl_msg_alloc()\n\nAdd check for the return value of nfp_app_ctrl_msg_alloc() in\nnfp_bpf_cmsg_alloc() to prevent null pointer dereference.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfp: bpf: Add check for nfp_app_ctrl_msg_alloc()\n\nAdd check for the return value of nfp_app_ctrl_msg_alloc() in\nnfp_bpf_cmsg_alloc() to prevent null pointer dereference.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-03-12T09:42:04.263Z","modified":"2026-10-15T01:04:45.393Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"ff3d43f7568c82b335d7df2d40a31447c3fce10c","fixed":"d64c6ca420019712e194fe095b55f87363e22a9a","status":"affected"},{"type":"git","introduced":"ff3d43f7568c82b335d7df2d40a31447c3fce10c","fixed":"e976ea6c5e1b005c64467cbf94a8577aae9c7d81","status":"affected"},{"type":"git","introduced":"ff3d43f7568c82b335d7df2d40a31447c3fce10c","fixed":"924b239f9704566e0d86abd894d2d64bd73c11eb","status":"affected"},{"type":"git","introduced":"ff3d43f7568c82b335d7df2d40a31447c3fce10c","fixed":"1358d8e07afdf21d49ca6f00c56048442977e00a","status":"affected"},{"type":"git","introduced":"ff3d43f7568c82b335d7df2d40a31447c3fce10c","fixed":"29ccb1e4040da6ff02b7e64efaa2f8e6bf06020d","status":"affected"},{"type":"git","introduced":"ff3d43f7568c82b335d7df2d40a31447c3fce10c","fixed":"897c32cd763fd11d0b6ed024c52f44d2475bb820","status":"affected"},{"type":"git","introduced":"ff3d43f7568c82b335d7df2d40a31447c3fce10c","fixed":"bd97f60750bb581f07051f98e31dfda59d3a783b","status":"affected"},{"type":"git","introduced":"ff3d43f7568c82b335d7df2d40a31447c3fce10c","fixed":"878e7b11736e062514e58f3b445ff343e6705537","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.16","status":"unaffected"},{"type":"semver","introduced":"5.4.291","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.235","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.179","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.130","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.80","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.17","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.5","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.16","fixed":"6.1.130"},{"status":"affected","introduced":"6.2","fixed":"6.6.80"},{"status":"affected","introduced":"6.7","fixed":"6.12.17"},{"status":"affected","introduced":"6.13","fixed":"6.13.5"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d64c6ca420019712e194fe095b55f87363e22a9a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e976ea6c5e1b005c64467cbf94a8577aae9c7d81","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/924b239f9704566e0d86abd894d2d64bd73c11eb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1358d8e07afdf21d49ca6f00c56048442977e00a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/29ccb1e4040da6ff02b7e64efaa2f8e6bf06020d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/897c32cd763fd11d0b6ed024c52f44d2475bb820","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd97f60750bb581f07051f98e31dfda59d3a783b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/878e7b11736e062514e58f3b445ff343e6705537","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:26:25.004Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21848","url":"https://www.cve.org/CVERecord?id=CVE-2025-21848","licence":"CVE Terms of Use","modified":"2026-10-15T01:04:45.393Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21848","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21848","licence":"Public domain","modified":"2026-06-17T08:44:26.103Z"}],"updatedAt":"2026-11-25T22:58:55.198Z","epss":{"score":0.00254,"percentile":0.18095,"date":"2026-12-01T12:00:22.000Z"}}