{"id":"CVE-2019-19813","state":"PUBLISHED","title":"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","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.","publishedAt":"2019-12-17T05:43:52.000Z","updatedAt":"2024-08-05T02:25:12.703Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19813","https://security.netapp.com/advisory/ntap-20200103-0001/","https://usn.ubuntu.com/4414-1/","https://lists.debian.org/debian-lts-announce/2020/09/msg00025.html","https://lists.debian.org/debian-lts-announce/2021/03/msg00010.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:45:43.853Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/19xxx/CVE-2019-19813.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-19813","state":"PUBLISHED","datePublished":"2019-12-17T05:43:52.000Z","dateUpdated":"2024-08-05T02:25:12.703Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-12-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19813","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20200103-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/4414-1/","name":"USN-4414-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00025.html","name":"[debian-lts-announce] 20200928 [SECURITY] [DLA 2385-1] linux-4.19 security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00010.html","name":"[debian-lts-announce] 20210309 [SECURITY] [DLA 2586-1] linux security update","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-03-09T20:06:30.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-19813","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19813","refsource":"MISC","url":"https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19813"},{"name":"https://security.netapp.com/advisory/ntap-20200103-0001/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20200103-0001/"},{"name":"USN-4414-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4414-1/"},{"name":"[debian-lts-announce] 20200928 [SECURITY] [DLA 2385-1] linux-4.19 security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00025.html"},{"name":"[debian-lts-announce] 20210309 [SECURITY] [DLA 2586-1] linux security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00010.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19813","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20200103-0001/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://usn.ubuntu.com/4414-1/","name":"USN-4414-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00025.html","name":"[debian-lts-announce] 20200928 [SECURITY] [DLA 2385-1] linux-4.19 security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00010.html","name":"[debian-lts-announce] 20210309 [SECURITY] [DLA 2586-1] linux security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T02:25:12.703Z"}}]}}}