cve/2019/CVE-2019-19813.md

19 lines
905 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2019-19813](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19813)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
In the Linux kernel 5.0.21, mounting a crafted btrfs filesystem image, performing some operations, and then making a syncfs system call can lead to a use-after-free in __mutex_lock in kernel/locking/mutex.c. This is related to mutex_can_spin_on_owner in kernel/locking/mutex.c, __btrfs_qgroup_free_meta in fs/btrfs/qgroup.c, and btrfs_insert_delayed_items in fs/btrfs/delayed-inode.c.
### POC
#### Reference
- https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19813
- https://usn.ubuntu.com/4414-1/
#### Github
- https://github.com/ARPSyndicate/cvemon