Vulnerability record · CVE-2019-19813 · published 17 December 2019
CVE-2019-19813: Linux kernel use after free vulnerability
Linux · Linux Kernel
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.
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
13 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19813 | ExploitThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2020/09/msg00025.html | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/03/msg00010.html | Mailing ListThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20200103-0001/ | Third Party Advisory |
| https://usn.ubuntu.com/4414-1/ | Third Party Advisory |
| https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19813 | ExploitThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2020/09/msg00025.html | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2021/03/msg00010.html | Mailing ListThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20200103-0001/ | Third Party Advisory |
| https://usn.ubuntu.com/4414-1/ | Third Party Advisory |
Track CVE-2019-19813 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2019-19813), CISA KEV, FIRST EPSS (scores of 2026-10-10). This page is refreshed as NVD updates the record.