Use after free in Linux kernel - CVE-2019-19318

 

Use after free in Linux kernel - CVE-2019-19318

Published: November 28, 2019 / Updated: March 15, 2021


Vulnerability identifier: #VU92777
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2019-19318
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local privileged user to perform a denial of service (DoS) attack.

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,


How to mitigate CVE-2019-19318

Install update from vendor's repository.

Sources