All reports
Medium

kernel: Use-after-free in ndb_queue_rq() in drivers/block/nbd.c

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-3348

Probability of exploitation in the next 30 days: 0.26%

FIRST EPSS · 2026-11-24

Description

nbd_add_socket in drivers/block/nbd.c in the Linux kernel through 5.10.12 has an ndb_queue_rq 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.

A use after free flaw in the Linux kernel network block device (NBD) subsystem was found in the way user calls an ioctl NBD_SET_SOCK at a certain point during device setup.