In the Linux kernel, the following vulnerability has been resolved:
nfp: bpf: Add check for nfpappctrlmsgalloc()
Add check for the return value of nfpappctrlmsgalloc() in nfpbpfcmsg_alloc() to prevent null pointer dereference.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21848.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21848.json"
[
{
"signature_version": "v1",
"id": "CVE-2025-21848-44a97f60",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@878e7b11736e062514e58f3b445ff343e6705537",
"signature_type": "Function",
"target": {
"file": "drivers/net/ethernet/netronome/nfp/bpf/cmsg.c",
"function": "nfp_bpf_cmsg_alloc"
},
"deprecated": false,
"digest": {
"function_hash": "6826325433925791693694846505301116689",
"length": 177.0
}
},
{
"signature_version": "v1",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@878e7b11736e062514e58f3b445ff343e6705537",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/netronome/nfp/bpf/cmsg.c"
},
"digest": {
"line_hashes": [
"89059780015997494550818129714328514386",
"169046166667836465548101230453711006852",
"250436659341649714798901718780516490087",
"57767911525927805509129827001468453505"
],
"threshold": 0.9
},
"id": "CVE-2025-21848-b77b0626"
},
{
"signature_version": "v1",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1358d8e07afdf21d49ca6f00c56048442977e00a",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/netronome/nfp/bpf/cmsg.c"
},
"digest": {
"line_hashes": [
"89059780015997494550818129714328514386",
"169046166667836465548101230453711006852",
"250436659341649714798901718780516490087",
"57767911525927805509129827001468453505"
],
"threshold": 0.9
},
"id": "CVE-2025-21848-bda48b96"
},
{
"signature_version": "v1",
"id": "CVE-2025-21848-dda09895",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1358d8e07afdf21d49ca6f00c56048442977e00a",
"signature_type": "Function",
"target": {
"file": "drivers/net/ethernet/netronome/nfp/bpf/cmsg.c",
"function": "nfp_bpf_cmsg_alloc"
},
"deprecated": false,
"digest": {
"function_hash": "6826325433925791693694846505301116689",
"length": 177.0
}
}
]