Use After Free Vulnerability in btrfs_ioctl_balance() and btrfs_ioctl_defrag() Functions

Use After Free Vulnerability in btrfs_ioctl_balance() and btrfs_ioctl_defrag() Functions

CVE-2023-3111 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

A use after free vulnerability was found in prepare_to_relocate in fs/btrfs/relocation.c in btrfs in the Linux Kernel. This possible flaw can be triggered by calling btrfs_ioctl_balance() before calling btrfs_ioctl_defrag().

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.