VDB
CVE-2021-3348
CVE-2021-3348
PUBLISHED
Reported by mitre · Published February 1, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf | Amazon Linux | 4.14.219-161.340.amzn2 |
| linux-oracle-5.4 | Ubuntu:18.04:LTS | 5.4.0-1042.45~18.04.1 |
| linux-azure-5.4 | Ubuntu:18.04:LTS | 5.4.0-1044.46~18.04.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | perf | 0 |
| n/a | n/a | * |
| arch | linux | 0 |
| amazon:2 | kernel-livepatch-4.14.219-161.340 | 0 |
| amazon:2 | kernel-tools | 0 |
| arch | linux-lts | 0 |
| amazon:2 | kernel | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| arch | linux-zen | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2 | kernel-headers | 0 |
| arch | linux-hardened | 0 |
| amazon:2 | kernel-devel | 0 |
Timeline
- Feb 1, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Aug 3, 2024 CVE Updated
- Mar 28, 2025 PoC Published
- Mar 7, 2026 Distribution Patch (10 in total, the first dated here)
- Mar 7, 2026 Security Advisory (12 in total, the first dated here)
- Aug 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3348
vulnetix vdb fixes CVE-2021-3348
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3348/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- [oss-security] 20210201 Re: Re: Linux kernel: linux-block: nbd: use-after-free Read in nbd_queue_rq mailing-listx_refsource_MLIST
- [debian-lts-announce] 20210330 [SECURITY] [DLA 2610-1] linux-4.19 security update mailing-listx_refsource_MLIST