Description
A flaw was found in btrfs_get_root_ref in fs/btrfs/disk-io.c in the btrfs filesystem in the Linux Kernel due to a double decrement of the reference count. This issue may allow a local attacker with user privilege to crash the system or may lead to leaked internal kernel information.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Kernel | — | 5.18-rc3 |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Fedora | Fedora | — | — |
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.17.6-1 | — |
| Debian 13 | linux | 5.17.6-1 | — |
| Debian 12 | linux | 5.17.6-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux +1 | 5.15.0-37.39 | — |
| Ubuntu 22.04 LTS | linux-aws | 5.15.0-1011.14 | — |
| Ubuntu 22.04 LTS | linux-azure | 5.15.0-1010.12 | — |
| Ubuntu 22.04 LTS | linux-gcp | 5.15.0-1008.12 | — |
| Ubuntu 22.04 LTS | linux-gke | 5.15.0-1008.10 | — |
| Ubuntu 22.04 LTS | linux-ibm | 5.15.0-1007.8 | — |
| Ubuntu 22.04 LTS | linux-intel-iotg | 5.15.0-1008.11 | — |
| Ubuntu 22.04 LTS | linux-kvm | 5.15.0-1010.11 | — |
| Ubuntu 22.04 LTS | linux-oem-5.17 | 5.17.0-1011.12 | — |
| Ubuntu 22.04 LTS | linux-oracle | 5.15.0-1009.12 | — |
| Ubuntu 22.04 LTS | linux-raspi | 5.15.0-1011.13 | — |
| Ubuntu 22.04 LTS | linux-riscv +8 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-azure-5.15 | 5.15.0-1008.9~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-gke +25 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-hwe-5.15 | 5.15.0-41.44~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1008.11~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-lowlatency-hwe-5.15 | 5.15.0-42.45~20.04.1 | — |
| Ubuntu 18.04 LTS | linux-gcp +13 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime | 5.15.0-1014.14 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | kernel-64kb +6 | 5.14.21-150500.55.31.1 | SUSE-SU-2023:4071-1 |
| SLES 15 SP5 | kernel-azure +2 | 5.14.21-150500.33.20.1 | SUSE-SU-2023:4058-1 |
| SLES 15 SP5 | kernel-default-base | 5.14.21-150500.55.31.1.150500.6.13.1 | SUSE-SU-2023:4071-1 |
| SLES 15 SP4 | kernel-64kb +6 | 5.14.21-150400.24.92.1 | SUSE-SU-2023:4072-1 |
| SLES 15 SP4 | kernel-azure +2 | 5.14.21-150400.14.69.1 | SUSE-SU-2023:4057-1 |
| SLES 15 SP4 | kernel-default-base | 5.14.21-150400.24.92.1.150400.24.42.1 | SUSE-SU-2023:4072-1 |
| SLES 15 SP3 | kernel-64kb +7 | 5.3.18-150300.59.138.1 | SUSE-SU-2023:4095-1 |
| SLES 15 SP3 | kernel-default-base | 5.3.18-150300.59.138.1.150300.18.80.2 | SUSE-SU-2023:4095-1 |
| SLES 15 SP2 | kernel-default-base | 5.3.18-150200.24.166.1.150200.9.83.1 | SUSE-SU-2023:4030-1 |
| SLES 15 SP2 | kernel-docs | 5.3.18-150200.24.166.2 | SUSE-SU-2023:4030-1 |
| SLES 15 SP2 | kernel-syms +4 | 5.3.18-150200.24.166.1 | SUSE-SU-2023:4030-1 |
Show 18 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | kernel-default-base | 5.3.18-150300.59.138.1.150300.18.80.2 | SUSE-SU-2023:4095-1 |
| SLES for SAP 15 SP3 | kernel-docs +5 | 5.3.18-150300.59.138.1 | SUSE-SU-2023:4095-1 |
| SLES for SAP 15 SP2 | kernel-default-base | 5.3.18-150200.24.166.1.150200.9.83.1 | SUSE-SU-2023:4030-1 |
| SLES for SAP 15 SP2 | kernel-docs | 5.3.18-150200.24.166.2 | SUSE-SU-2023:4030-1 |
| SLES for SAP 15 SP2 | kernel-syms +4 | 5.3.18-150200.24.166.1 | SUSE-SU-2023:4030-1 |
| SLE Micro 5.5 | kernel-default | 5.14.21-150500.55.31.1 | SUSE-SU-2023:4071-1 |
| SLE Micro 5.5 | kernel-default-base | 5.14.21-150500.55.31.1.150500.6.13.1 | SUSE-SU-2023:4071-1 |
| SLE Micro 5.5 | kernel-rt | 5.14.21-150500.13.21.1 | SUSE-SU-2023:4035-1 |
| SLE Micro 5.4 | kernel-default | 5.14.21-150400.24.92.1 | SUSE-SU-2023:4072-1 |
| SLE Micro 5.4 | kernel-default-base | 5.14.21-150400.24.92.1.150400.24.42.1 | SUSE-SU-2023:4072-1 |
| SLE Micro 5.4 | kernel-rt | 5.14.21-150400.15.56.1 | SUSE-SU-2023:4093-1 |
| SLE Micro 5.3 | kernel-default | 5.14.21-150400.24.92.1 | SUSE-SU-2023:4072-1 |
| SLE Micro 5.3 | kernel-default-base | 5.14.21-150400.24.92.1.150400.24.42.1 | SUSE-SU-2023:4072-1 |
| SLE Micro 5.3 | kernel-rt | 5.14.21-150400.15.56.1 | SUSE-SU-2023:4093-1 |
| SLE Micro 5.2 | kernel-default | 5.3.18-150300.59.138.1 | SUSE-SU-2023:4095-1 |
| SLE Micro 5.2 | kernel-default-base | 5.3.18-150300.59.138.1.150300.18.80.2 | SUSE-SU-2023:4095-1 |
| SLE Micro 5.2 | kernel-rt | 5.3.18-150300.144.1 | SUSE-SU-2023:4142-1 |
| SLE Micro 5.1 | kernel-default | 5.3.18-150300.59.138.1 | SUSE-SU-2023:4095-1 |
| SLE Micro 5.1 | kernel-default-base | 5.3.18-150300.59.138.1.150300.18.80.2 | SUSE-SU-2023:4095-1 |
| SLE Micro 5.1 | kernel-rt | 5.3.18-150300.144.1 | SUSE-SU-2023:4142-1 |
| SLE Live Patching 15 SP5 | kernel-default | 5.14.21-150500.55.31.1 | SUSE-SU-2023:4071-1 |
| SLE Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5_Update_6 +1 | 1-150500.11.3.1 | SUSE-SU-2023:4071-1, SUSE-SU-2023:4035-1 |
| SLE Live Patching 15 SP4 | kernel-default | 5.14.21-150400.24.92.1 | SUSE-SU-2023:4072-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4-RT_Update_14 | 1-150400.1.3.1 | SUSE-SU-2023:4093-1 |
| SLE Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_19 | 1-150400.9.3.1 | SUSE-SU-2023:4072-1 |
| SLE Live Patching 15 SP3 | kernel-default | 5.3.18-150300.59.138.1 | SUSE-SU-2023:4095-1 |
| SLE Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_37 | 1-150300.7.5.1 | SUSE-SU-2023:4095-1 |
| SLE Live Patching 15 SP2 | kernel-default | 5.3.18-150200.24.166.1 | SUSE-SU-2023:4030-1 |
| SLE Live Patching 15 SP2 | kernel-livepatch-SLE15-SP2_Update_41 | 1-150200.5.3.1 | SUSE-SU-2023:4030-1 |
| SLE HPC 15 SP3 | kernel-64kb +6 | 5.3.18-150300.59.138.1 | SUSE-SU-2023:4095-1 |
| SLE HPC 15 SP3 | kernel-default-base | 5.3.18-150300.59.138.1.150300.18.80.2 | SUSE-SU-2023:4095-1 |
| SLE HPC 15 SP2 | kernel-default-base | 5.3.18-150200.24.166.1.150200.9.83.1 | SUSE-SU-2023:4030-1 |
| SLE HPC 15 SP2 | kernel-docs | 5.3.18-150200.24.166.2 | SUSE-SU-2023:4030-1 |
| SLE HPC 15 SP2 | kernel-syms +4 | 5.3.18-150200.24.166.1 | SUSE-SU-2023:4030-1 |
| SUSE Real Time Module 15 SP5 | kernel-rt +3 | 5.14.21-150500.13.21.1 | SUSE-SU-2023:4035-1 |
| SUSE Real Time Module 15 SP4 | kernel-rt +3 | 5.14.21-150400.15.56.1 | SUSE-SU-2023:4093-1 |
| SUSE Manager Server 4.2 | kernel-default-base | 5.3.18-150300.59.138.1.150300.18.80.2 | SUSE-SU-2023:4095-1 |
| SUSE Manager Server 4.2 | kernel-source +3 | 5.3.18-150300.59.138.1 | SUSE-SU-2023:4095-1 |
| SUSE Manager Proxy 4.2 | kernel-default-base | 5.3.18-150300.59.138.1.150300.18.80.2 | SUSE-SU-2023:4095-1 |
| SUSE Manager Proxy 4.2 | kernel-source +2 | 5.3.18-150300.59.138.1 | SUSE-SU-2023:4095-1 |
| SUSE Enterprise Storage 7.1 | kernel-64kb +6 | 5.3.18-150300.59.138.1 | SUSE-SU-2023:4095-1 |
| SUSE Enterprise Storage 7.1 | kernel-default-base | 5.3.18-150300.59.138.1.150300.18.80.2 | SUSE-SU-2023:4095-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | dtb-aarch64 +10 | 5.14.21-150500.55.31.1 | SUSE-SU-2023:4071-1 |
| openSUSE Leap 15.5 | kernel-azure +2 | 5.14.21-150500.33.20.1 | SUSE-SU-2023:4058-1 |
| openSUSE Leap 15.5 | kernel-default-base | 5.14.21-150500.55.31.1.150500.6.13.1 | SUSE-SU-2023:4071-1 |
| openSUSE Leap 15.5 | kernel-rt +3 | 5.14.21-150500.13.21.1 | SUSE-SU-2023:4035-1 |
| openSUSE Leap 15.4 | dtb-aarch64 +10 | 5.14.21-150400.24.92.1 | SUSE-SU-2023:4072-2 |
| openSUSE Leap 15.4 | kernel-azure +2 | 5.14.21-150400.14.69.1 | SUSE-SU-2023:4057-1 |
| openSUSE Leap 15.4 | kernel-default-base | 5.14.21-150400.24.92.1.150400.24.42.1 | SUSE-SU-2023:4072-2 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | kernel | 5.15.126.1-1 | — |
Advisories 11
- SUSE-SU-2023:4035-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4072-2 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4142-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4093-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4030-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4057-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4058-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4071-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4095-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4072-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2023-2074 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 28, 2024