In the Linux kernel, the following vulnerability has been resolved:
nbd: restrict sockets to TCP and UDP
Recently, syzbot started to abuse NBD with all kinds of sockets.
Commit cf1b2326b734 ("nbd: verify socket is supported during setup") made sure the socket supported a shutdown() method.
Explicitely accept TCP and UNIX stream sockets.
[
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/block/nbd.c",
"function": "nbd_get_socket"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@808e2335bc1cf2293b9e36ccc94c267c81509c71",
"digest": {
"length": 399.0,
"function_hash": "241597792016041438603374520745560955717"
},
"id": "CVE-2025-40080-01312a9c"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/block/nbd.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@37ad11f20e164c23ce827dd455b42c0fdd29685c",
"digest": {
"line_hashes": [
"66079947132904184028903467367831609167",
"335815601061264528118699569082594398386",
"255851601275296501546147339439973606333"
],
"threshold": 0.9
},
"id": "CVE-2025-40080-0632b620"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/block/nbd.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@808e2335bc1cf2293b9e36ccc94c267c81509c71",
"digest": {
"line_hashes": [
"66079947132904184028903467367831609167",
"335815601061264528118699569082594398386",
"255851601275296501546147339439973606333"
],
"threshold": 0.9
},
"id": "CVE-2025-40080-6357a0c2"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/block/nbd.c",
"function": "nbd_get_socket"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@37ad11f20e164c23ce827dd455b42c0fdd29685c",
"digest": {
"length": 399.0,
"function_hash": "241597792016041438603374520745560955717"
},
"id": "CVE-2025-40080-8d7639c2"
}
]