Use After Free in Linux Kernel

CVE-2021-3348

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.

Vulnerability class: Race Condition

EPSS: 0.003 (16.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Patch, Mailing List, x_refsource_MISC, Vendor Advisory)
  • cve@mitre.org (Patch, Mailing List, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, Patch, Mailing List, Third Party Advisory)
  • cve@mitre.org (mailing-list, x_refsource_MLIST, Third Party Advisory)

Frequently asked questions

What is CVE-2021-3348?
CVE-2021-3348 is a high-severity vulnerability in Linux Kernel, classified under Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition). CVSS score: 7.0/10. Published 2021-02-01.
How severe is CVE-2021-3348?
High severity. CVSS v3 base score is 7.0 out of 10.