nbdaddsocket in drivers/block/nbd.c in the Linux kernel through 5.10.12 has an ndbqueuerq use-after-free that could be triggered by local attackers (with access to the nbd device) via an I/O request at a certain point during device setup, aka CID-b98e762e3d71.
[
{
"signature_type": "Line",
"digest": {
"line_hashes": [
"333732247269381963993865819339438191976",
"267355506520309460749642748992134569529",
"200256146835608257921752426752392373003",
"108180165149793214821188923715125599072",
"286471913226179443223375471265696988872",
"105993701013893445415027036748137894875",
"67210090747989816183393583633474657320",
"29491609602205238201194999543213376716",
"224010223128244371146373634719709598171"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/block/nbd.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@b98e762e3d71e893b221f871825dc64694cfb258",
"id": "CVE-2021-3348-0c72c078",
"deprecated": false
},
{
"signature_type": "Function",
"digest": {
"length": 1184.0,
"function_hash": "243911687155566530427713101819781415997"
},
"signature_version": "v1",
"target": {
"function": "nbd_add_socket",
"file": "drivers/block/nbd.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@b98e762e3d71e893b221f871825dc64694cfb258",
"id": "CVE-2021-3348-53452e41",
"deprecated": false
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3348.json"