CVE-2023-3111
kernel: Use after free in prepare_to_relocate in fs/btrfs/relocation.c
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 21, 2022
Updated · November 21, 2025
Description
A use-after-free flaw was found in prepare_to_relocate in fs/btrfs/relocation.c in btrfs in the Linux Kernel. This issue can be triggered by calling btrfs_ioctl_balance() before calling btrfs_ioctl_defrag().
Statement
No shipped kernel version was seen affected with this problem. These files are not built in our source code.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-416 · Use After Free