Skip to content
OpenAdvisories
High · 7.0 CVE-2023-4389 EUVD-2023-54253GHSA-4g3m-89jh-2mrf

Kernel: btrfs: double free in btrfs_get_root_ref()

Published Aug 16, 2023 · Updated Oct 15, 2024 · Assigned by redhat

Vendor: Fedora Vendor: Red Hat Product: Fedora Product: Red Hat Enterprise Linux 6 Product: Red Hat Enterprise Linux 7 Product: Red Hat Enterprise Linux 8 Product: Red Hat Enterprise Linux 9 Package: kernel Package: linux Package: linux Package: linux-aws Package: linux-aws-5.0 Package: linux-aws-5.11 Package: linux-aws-5.13 Package: linux-aws-5.19 Package: linux-aws-5.3 Package: linux-aws-5.8 Package: linux-azure Package: linux-azure-5.11 Package: linux-azure-5.13 Package: linux-azure-5.15 Package: linux-azure-5.19 Package: linux-azure-5.3 Package: linux-azure-5.8 Package: linux-azure-edge Package: linux-azure-fde-5.19 Package: linux-gcp Package: linux-gcp-5.11 Package: linux-gcp-5.13 Package: linux-gcp-5.19 Package: linux-gcp-5.3 Package: linux-gcp-5.8 Package: linux-gke Package: linux-gke-4.15 Package: linux-gke-5.15 Package: linux-gke-5.4 Package: linux-gkeop-5.4 Package: linux-hwe Package: linux-hwe-5.11 Package: linux-hwe-5.13 Package: linux-hwe-5.15 Package: linux-hwe-5.8 Package: linux-hwe-edge Package: linux-ibm Package: linux-intel-5.13 Package: linux-intel-iot-realtime Package: linux-intel-iotg Package: linux-intel-iotg-5.15 Package: linux-kvm Package: linux-lowlatency Package: linux-lowlatency-hwe-5.15 Package: linux-oem Package: linux-oem-5.10 Package: linux-oem-5.13 Package: linux-oem-5.14 Package: linux-oem-5.17 Package: linux-oem-5.6 Package: linux-oracle Package: linux-oracle-5.0 Package: linux-oracle-5.11 Package: linux-oracle-5.13 Package: linux-oracle-5.3 Package: linux-oracle-5.8 Package: linux-raspi Package: linux-raspi-realtime Package: linux-raspi2 Package: linux-realtime Package: linux-riscv Package: linux-riscv-5.11 Package: linux-riscv-5.19 Package: linux-riscv-5.8 Package: linux-starfive-5.19 Platform: Linux Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu

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

VendorProductAffectedFixed
— 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.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.17.6-1 —
Debian 13 linux 5.17.6-1 —
Debian 12 linux 5.17.6-1 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu Pro Realtime 22.04 LTS linux-realtime 5.15.0-1014.14 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) kernel 5.15.126.1-1 —

Advisories 11

References