CVE Vulnerabilities

CVE-2023-4389

Double Free

Published: Aug 16, 2023 | Modified: Dec 22, 2023
CVSS 3.x
7.1
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Linux_kernel Linux 5.7 (including) 5.10.112 (excluding)
Linux_kernel Linux 5.11 (including) 5.15.35 (excluding)
Linux_kernel Linux 5.16 (including) 5.17.4 (excluding)

Potential Mitigations

References