Use-after-free vulnerability in try_merge_free_space in btrfs filesystem

Use-after-free vulnerability in try_merge_free_space in btrfs filesystem

CVE-2019-19448 · HIGH Severity

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

In the Linux kernel 5.0.21 and 5.3.11, mounting a crafted btrfs filesystem image, performing some operations, and then making a syncfs system call can lead to a use-after-free in try_merge_free_space in fs/btrfs/free-space-cache.c because the pointer to a left data structure can be the same as the pointer to a right data structure.

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