Vulnerability · Published Aug 16, 2023 · Assigned by redhat

CVE-2023-4389Kernel: btrfs: double free in btrfs_get_root_ref()

High 7.0

In plain English

A high-severity double free in Fedora from Fedora. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.0High
Exploit odds (30 days)0.3%top 83.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux5.17.6-1DEBIAN-CVE-2023-4389
Debian:13linux5.17.6-1DEBIAN-CVE-2023-4389
Debian:14linux5.17.6-1DEBIAN-CVE-2023-4389
Ubuntu:22.04:LTSlinux5.15.0-37.39UBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-aws5.15.0-1011.14UBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-azure5.15.0-1010.12UBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-gcp5.15.0-1008.12UBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-gke5.15.0-1008.10UBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-ibm5.15.0-1007.8UBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-intel-iot-realtimeno fix listedUBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1008.11UBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-kvm5.15.0-1010.11UBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-37.39UBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-oem-5.175.17.0-1011.12UBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-oracle5.15.0-1009.12UBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-raspi5.15.0-1011.13UBUNTU-CVE-2023-4389
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2023-4389
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2023-4389

Affected products (as reported)

VendorProductVersions
n/a Kernel see references
Red Hat Red Hat Enterprise Linux 6 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 9 see references
Red Hat Red Hat Enterprise Linux 9 see references
Fedora Fedora see references

Weakness: CWE-415 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References