nbd_add_socket in drivers/block/nbd.c in the Linux kernel through 5.10.12 has an…
Priority LOW 30CWE-362Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.00264 18th percentileScored 2026-11-07
Fix Partial Red Hat: 2 advisoriesRed Hat: 4 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 2 advisories
- RHSA-2021:4356 Released 2021-11-09 · Red Hat rating Moderatekernel security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 8) kernel-tools-libs-devel-4.18.0-348.el8
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-348.el8, kernel-4.18.0-348.el8, kernel-abi-stablelists-4.18.0-348.el8 +19
- RHSA-2021:4140 Released 2021-11-09 · Red Hat rating Moderatekernel-rt security and bug fix update
- Red Hat Enterprise Linux Real Time (v. 8) kernel-rt-4.18.0-348.rt7.130.el8, kernel-rt-core-4.18.0-348.rt7.130.el8, kernel-rt-debug-4.18.0-348.rt7.130.el8 +7
- Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt-4.18.0-348.rt7.130.el8, kernel-rt-core-4.18.0-348.rt7.130.el8, kernel-rt-debug-4.18.0-348.rt7.130.el8 +9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2021:4356 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2021:4356 |
| Red Hat Enterprise Linux Real Time (v. 8) | Fixed | RHSA-2021:4140 |
| Red Hat Enterprise Linux Real Time for NFV (v. 8) | Fixed | RHSA-2021:4140 |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3348
- 2026-10-03 Alias added: GHSA-7hqh-xccf-8jp4
References
Patch 3
Sources
- CVE-2021-3348 · CVE Program
- CVE-2021-3348 · NVD
- FIRST EPSS
- GHSA-7hqh-xccf-8jp4 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-3348 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences