CVE-2021-3739

Summary

CVECVE-2021-3739
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-03-10 17:43:01 UTC
Updated2026-09-01 18:03:54 UTC
DescriptionA NULL pointer dereference flaw was found in the btrfs_rm_device function in fs/btrfs/volumes.c in the Linux Kernel, where triggering the bug requires ‘CAP_SYS_ADMIN’. This flaw allows a local attacker to crash the system or leak kernel internal information. The highest threat from this vulnerability is to system availability.

Risk And Classification

Primary CVSS: v3.1 7.1 HIGH from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Problem Types: CWE-476 | CWE-476 CWE-476 - NULL Pointer Dereference


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
2.0[email protected]Primary3.6AV:L/AC:L/Au:N/C:P/I:N/A:P

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
Partial

AV:L/AC:L/Au:N/C:P/I:N/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na Kernel affected Fixed in v5.15-rc1 and above. Not specified

References

ReferenceSourceLinkTags
CVE-2021-3739 | Ubuntu af854a3a-2127-422b-91ae-364da2661108 ubuntu.com Third Party Advisory
btrfs: fix NULL pointer dereference when deleting device by invalid id · torvalds/linux@e4571b8 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Exploit, Patch, Third Party Advisory
1997958 – (CVE-2021-3739) CVE-2021-3739 kernel: null-ptr-dereference bug in btrfs_rm_device in fs/btrfs/volumes.c af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
oss-security - Linux kernel: fs/btrfs: null-ptr-dereference bug in btrfs_rm_device in fs/btrfs/volumes.c af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Patch, Third Party Advisory
kernel/git/torvalds/linux.git - Linux kernel source tree af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Mailing List, Patch, Vendor Advisory
CVE-2021-3739 Linux Kernel Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159401 Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel (ELSA-2021-9457)
  • 159405 Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel-container (ELSA-2021-9461)
  • 159421 Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel (ELSA-2021-9474)
  • 159422 Oracle Enterprise Linux Security Update for Unbreakable Enterprise kernel-container (ELSA-2021-9475)
  • 178809 Debian Security Update for linux (DSA 4978-1)
  • 182052 Debian Security Update for linux (CVE-2021-3739)
  • 198540 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5113-1)
  • 198542 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-5115-1)
  • 198543 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-5117-1)
  • 198563 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5137-1)
  • 198565 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5137-2)
  • 353155 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2022-005
  • 6140414 AWS Bottlerocket Security Update for kernel (GHSA-mgpp-7p6c-ph3c)
  • 751137 OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:1271-1)
  • 751160 OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:3179-1)
  • 751170 OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2021:3205-1)
  • 900740 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (8936)
  • 905812 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (8936-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report