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 : Analyzed

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

Modified: 2021-03-12T16:11:33.803

Link: CVE-2019-19813

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2019-19813 - Bugzilla