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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- USN-5137-1 linux, linux-aws, linux-aws-5.4, linux-azure, linux-azure-5.4, linux-gcp, linux-gcp-5.4, linux-gke, linux-gkeop, linux-gkeop-5.4, linux-hwe-5.4, linux-ibm, linux-kvm vulnerabilities Ubuntu Security Notices (USN) · Sep 14, 2026
- USN-5137-2 linux-bluefield, linux-gke-5.4, linux-oracle, linux-oracle-5.4, linux-raspi, linux-raspi-5.4 vulnerabilities Ubuntu Security Notices (USN) · Sep 14, 2026
- USN-5115-1 linux-oem-5.10 vulnerabilities Ubuntu Security Notices (USN) · Sep 14, 2026
- USN-5117-1 linux-oem-5.13 vulnerabilities Ubuntu Security Notices (USN) · Sep 14, 2026
- USN-5113-1 linux, linux-aws, linux-aws-5.11, linux-azure, linux-azure-5.11, linux-gcp, linux-gcp-5.11, linux-hwe-5.11, linux-kvm, linux-oracle, linux-oracle-5.11, linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Sep 9, 2026
- DSA-4978-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2021:3179-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:3179-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3205-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:3205-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3415-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3177-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3207-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3178-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1271-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3205-2 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2021-9474 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 11, 2021
- ELSA-2021-9475 Important: Unbreakable Enterprise kernel-container security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 11, 2021
- ELSA-2021-9461 Important: Unbreakable Enterprise kernel-container security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Sep 22, 2021
- ELSA-2021-9457 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Sep 22, 2021
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1997958
- https://ubuntu.com/security/CVE-2021-3739
- https://www.openwall.com/lists/oss-security/2021/08/25/3
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e4571b8c5e9ffa1e85c0c671995bd4dcc5c75091
- https://github.com/torvalds/linux/commit/e4571b8c5e9ffa1e85c0c671995bd4dcc5c75091
- https://security.netapp.com/advisory/ntap-20220407-0006/