CVE-2019-19318

medium

Description

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,

References

http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00021.html

https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19318

https://lists.debian.org/debian-lts-announce/2021/03/msg00010.html

https://security.netapp.com/advisory/ntap-20200103-0001/

https://usn.ubuntu.com/4414-1/

Details

Source: MITRE

Published: 2019-11-28

Updated: 2021-03-15

Type: CWE-416

Risk Information

CVSS v2

Base Score: 2.1

Vector: AV:L/AC:L/Au:N/C:N/I:N/A:P

Impact Score: 2.9

Exploitability Score: 3.9

Severity: LOW

CVSS v3

Base Score: 4.4

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

Impact Score: 3.6

Exploitability Score: 0.8

Severity: MEDIUM