Skip to content
OpenAdvisories
Unscored CVE-2021-3739 EUVD-2021-27015

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 b…

Published Mar 7, 2022 · Updated Aug 3, 2024 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
— kernel Fixed in v5.15-rc1 and above. —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.14.6-1 —
Debian 13 linux 5.14.6-1 —
Debian 12 linux 5.14.6-1 —
Debian 11 linux 5.10.46-5 DSA-4978-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-realtime +1 No fix yet —
Ubuntu 20.04 LTS linux 5.4.0-90.101 USN-5137-1
Ubuntu 20.04 LTS linux-aws 5.4.0-1059.62 USN-5137-1
Ubuntu 20.04 LTS linux-aws-5.11 5.11.0-1020.21~20.04.2 USN-5113-1
Ubuntu 20.04 LTS linux-azure 5.4.0-1063.66 USN-5137-1
Ubuntu 20.04 LTS linux-azure-5.11 +1 5.11.0-1020.21~20.04.1 USN-5113-1
Ubuntu 20.04 LTS linux-bluefield 5.4.0-1021.24 USN-5137-2
Ubuntu 20.04 LTS linux-gcp +1 5.4.0-1057.61 USN-5137-2, USN-5137-1
Ubuntu 20.04 LTS linux-gcp-5.11 5.11.0-1021.23~20.04.1 USN-5113-1
Ubuntu 20.04 LTS linux-gke 5.4.0-1055.58 USN-5137-1
Ubuntu 20.04 LTS linux-gkeop 5.4.0-1026.27 USN-5137-1
Ubuntu 20.04 LTS linux-hwe-5.11 5.11.0-38.42~20.04.1 USN-5113-1
Ubuntu 20.04 LTS linux-ibm 5.4.0-1007.8 USN-5137-1
Ubuntu 20.04 LTS linux-kvm 5.4.0-1049.51 USN-5137-1
Ubuntu 20.04 LTS linux-oem-5.10 5.10.0-1050.52 USN-5115-1
Ubuntu 20.04 LTS linux-oem-5.13 5.13.0-1017.21 USN-5117-1
Ubuntu 20.04 LTS linux-raspi 5.4.0-1046.50 USN-5137-2
Ubuntu 20.04 LTS linux-riscv +9 No fix yet —
Ubuntu 20.04 LTS linux-riscv-5.11 5.11.0-1021.22~20.04.1 —
Ubuntu 18.04 LTS linux-aws-5.4 5.4.0-1059.62~18.04.1 USN-5137-1
Ubuntu 18.04 LTS linux-azure-5.4 5.4.0-1063.66~18.04.1 USN-5137-1
Ubuntu 18.04 LTS linux-gcp +13 No fix yet —
Ubuntu 18.04 LTS linux-gcp-5.4 +1 5.4.0-1057.61~18.04.1 USN-5137-2, USN-5137-1
Ubuntu 18.04 LTS linux-gke-5.4 5.4.0-1055.58~18.04.1 USN-5137-2
Ubuntu 18.04 LTS linux-gkeop-5.4 5.4.0-1026.27~18.04.1 USN-5137-1
Ubuntu 18.04 LTS linux-hwe-5.4 5.4.0-90.101~18.04.1 USN-5137-1
Ubuntu 18.04 LTS linux-raspi-5.4 5.4.0-1046.50~18.04.1 USN-5137-2
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS linux-aws-fips 5.4.0-1069.73+fips2 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-azure-fips 5.4.0-1073.76+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-fips 5.4.0-1036.42 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-gcp-fips 5.4.0-1067.71~20.04.1 —
ReleasePackageFixed inAdvisory
SLES 15 SP3 kernel-64kb +7 5.3.18-59.24.1 SUSE-SU-2021:3205-1
SLES 15 SP3 kernel-azure 5.3.18-38.22.2 SUSE-SU-2021:3179-1
SLES 15 SP3 kernel-default-base 5.3.18-59.24.1.18.12.1 SUSE-SU-2021:3205-1
SLES 15 SP3 kernel-syms-azure +1 5.3.18-38.22.1 SUSE-SU-2021:3179-1
SLES 15 SP2 kernel-azure 5.3.18-18.66.2 SUSE-SU-2021:3178-1
SLES 15 SP2 kernel-default-base 5.3.18-24.83.2.9.38.3 SUSE-SU-2021:3207-1
SLES 15 SP2 kernel-docs +3 5.3.18-24.83.2 SUSE-SU-2021:3207-1
SLES 15 SP2 kernel-syms +1 5.3.18-24.83.1 SUSE-SU-2021:3207-1
SLES 15 SP2 kernel-syms-azure +1 5.3.18-18.66.1 SUSE-SU-2021:3178-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.1 kernel-default 5.3.18-59.24.1 SUSE-SU-2021:3205-2
SLE Micro 5.1 kernel-default-base 5.3.18-59.24.1.18.12.1 SUSE-SU-2021:3205-2
SLE Micro 5.1 kernel-rt 5.3.18-57.1 SUSE-SU-2021:3415-1
SLE Micro 5.0 kernel-default 5.3.18-24.83.2 SUSE-SU-2021:3207-1
SLE Micro 5.0 kernel-default-base 5.3.18-24.83.2.9.38.3 SUSE-SU-2021:3207-1
SLE Micro 5.0 kernel-rt 5.3.18-51.2 SUSE-SU-2021:3177-1
SLE Live Patching 15 SP3 kernel-default 5.3.18-59.24.1 SUSE-SU-2021:3205-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_6 1-7.5.1 SUSE-SU-2021:3205-1
SLE Live Patching 15 SP2 kernel-default 5.3.18-24.83.2 SUSE-SU-2021:3207-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_19 1-5.3.4 SUSE-SU-2021:3207-1
SUSE Real Time Module 15 SP3 kernel-rt +3 5.3.18-57.1 SUSE-SU-2021:3415-1
SUSE Real Time Module 15 SP2 kernel-rt +1 5.3.18-51.2 SUSE-SU-2021:3177-1
SUSE Real Time Module 15 SP2 kernel-syms-rt +1 5.3.18-51.1 SUSE-SU-2021:3177-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 dtb-aarch64 +11 5.3.18-59.24.1 openSUSE-SU-2021:3205-1
openSUSE Leap 15.3 kernel-azure 5.3.18-38.22.2 openSUSE-SU-2021:3179-1
openSUSE Leap 15.3 kernel-default-base 5.3.18-59.24.1.18.12.1 openSUSE-SU-2021:3205-1
openSUSE Leap 15.3 kernel-syms-azure +1 5.3.18-38.22.1 openSUSE-SU-2021:3179-1
openSUSE Leap 15.2 kernel-debug +5 5.3.18-lp152.92.2 openSUSE-SU-2021:1271-1
openSUSE Leap 15.2 kernel-default-base 5.3.18-lp152.92.2.lp152.8.42.3 openSUSE-SU-2021:1271-1
openSUSE Leap 15.2 kernel-docs +2 5.3.18-lp152.92.1 openSUSE-SU-2021:1271-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 kernel-uek +4 5.4.17-2102.205.7.3.el8uek ELSA-2021-9474, ELSA-2021-9457
Oracle Linux 7 kernel-uek-container +1 5.4.17-2102.205.7.3.el8 ELSA-2021-9475, ELSA-2021-9461
Oracle Linux 7 perf +3 5.4.17-2102.205.7.3.el7uek ELSA-2021-9474, ELSA-2021-9457

Advisories 20

References