Double Mounting Vulnerability in Linux Kernel 5.3.11: rwsem_down_write_slowpath Use-After-Free

Double Mounting Vulnerability in Linux Kernel 5.3.11: rwsem_down_write_slowpath Use-After-Free

CVE-2019-19318 · MEDIUM Severity

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

In the Linux kernel 5.3.11, mounting a crafted btrfs image twice can cause an rwsem_down_write_slowpath use-after-free because (in rwsem_can_spin_on_owner in kernel/locking/rwsem.c) rwsem_owner_flags returns an already freed pointer,

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