cve.bz

CVE-2021-3739 NULL Pointer Dereference

7.1 highExploit referenceEPSS 0.6%Fix available

High (7.1). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
A 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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 51st percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3739 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3739?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3739?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3739 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 4.20 before 5.4.144
linux:linux_kernelfrom 5.5 before 5.10.62
linux:linux_kernelfrom 5.11 before 5.13.14
linux:linux_kernelfrom 5.14 before 5.14.1
fedoraproject:fedora34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.46-5DSA-4978-1
Debian12, 13, 14linux5.14.6-1DEBIAN-CVE-2021-3739
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-3739
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1059.62~18.04.1UBUNTU-CVE-2021-3739 USN-5137-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1063.66~18.04.1UBUNTU-CVE-2021-3739 USN-5137-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2021-3739
Ubuntu18.04:LTSlinux-gcp-5.4, linux-oracle-5.45.4.0-1057.61~18.04.1UBUNTU-CVE-2021-3739 USN-5137-1 USN-5137-2
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1055.58~18.04.1UBUNTU-CVE-2021-3739 USN-5137-2
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1026.27~18.04.1UBUNTU-CVE-2021-3739 USN-5137-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-90.101~18.04.1UBUNTU-CVE-2021-3739 USN-5137-1
Ubuntu18.04:LTSlinux-raspi-5.45.4.0-1046.50~18.04.1UBUNTU-CVE-2021-3739 USN-5137-2
Ubuntu20.04:LTSlinux5.4.0-90.101UBUNTU-CVE-2021-3739 USN-5137-1
Ubuntu20.04:LTSlinux-aws5.4.0-1059.62UBUNTU-CVE-2021-3739 USN-5137-1
Ubuntu20.04:LTSlinux-aws-5.115.11.0-1020.21~20.04.2UBUNTU-CVE-2021-3739 USN-5113-1
22 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Micro 5.0 and 1 morekernel-default5.3.18-24.83.2SUSE-SU-2021:3207-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Module for Legacy 15 SP3kernel-default5.3.18-59.24.1SUSE-SU-2021:3205-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_191-5.3.4SUSE-SU-2021:3207-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_61-7.5.1SUSE-SU-2021:3205-1
SUSELinux Enterprise Micro 5.0kernel-rt5.3.18-51.2SUSE-SU-2021:3177-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2kernel-default-base5.3.18-24.83.2.9.38.3SUSE-SU-2021:3207-1
SUSELinux Enterprise Micro 5.1kernel-default5.3.18-59.24.1SUSE-SU-2021:3205-2
SUSELinux Enterprise Micro 5.1kernel-default-base5.3.18-59.24.1.18.12.1SUSE-SU-2021:3205-2
SUSELinux Enterprise Micro 5.1kernel-rt5.3.18-57.1SUSE-SU-2021:3415-1
SUSELinux Enterprise Module for Basesystem 15 SP2kernel-source5.3.18-24.83.1SUSE-SU-2021:3207-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Workstation Extension 15 SP2kernel-default, kernel-preempt5.3.18-24.83.2SUSE-SU-2021:3207-1
SUSELinux Enterprise Module for Basesystem 15 SP3kernel-64kb, kernel-source, kernel-default and 2 more5.3.18-59.24.1SUSE-SU-2021:3205-1
12 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.2kernel-debug, kernel-source, kernel-default and 3 more5.3.18-lp152.92.2openSUSE-SU-2021:1271-1
openSUSELeap 15.2kernel-default-base5.3.18-lp152.92.2.lp152.8.42.3openSUSE-SU-2021:1271-1
openSUSELeap 15.2kernel-docs, kernel-syms, kernel-obs-qa5.3.18-lp152.92.1openSUSE-SU-2021:1271-1
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-59.24.1openSUSE-SU-2021:3205-1
openSUSELeap 15.3kernel-azure5.3.18-38.22.2openSUSE-SU-2021:3179-1
openSUSELeap 15.3kernel-default-base5.3.18-59.24.1.18.12.1openSUSE-SU-2021:3205-1
openSUSELeap 15.3kernel-syms-azure, kernel-source-azure5.3.18-38.22.1openSUSE-SU-2021:3179-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

There is no shipped kernel version seen affected by this problem. These files are not built in our source code.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3739.

References

Check your stackJSON