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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2019-12-17T05:43:52

Updated: 2024-08-05T02:25:12.703Z

Reserved: 2019-12-16T00:00:00

Link: CVE-2019-19813

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-12-17T06:15:12.780

Modified: 2024-11-21T04:35:26.520

Link: CVE-2019-19813

cve-icon Redhat

Severity : Moderate

Publid Date: 2019-12-17T00:00:00Z

Links: CVE-2019-19813 - Bugzilla