Bug 1784911 (CVE-2019-19813) - CVE-2019-19813 kernel: use-after-free in __mutex_lock in kernel/locking/mutex.c
Summary: CVE-2019-19813 kernel: use-after-free in __mutex_lock in kernel/locking/mutex.c
Keywords:
Status: NEW
Alias: CVE-2019-19813
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1784913
Blocks: 1784914
TreeView+ depends on / blocked
 
Reported: 2019-12-18 17:28 UTC by Guilherme de Almeida Suckevicz
Modified: 2019-12-29 10:07 UTC (History)
47 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2019-12-18 17:28:58 UTC
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.

Reference:
https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19813

Comment 1 Guilherme de Almeida Suckevicz 2019-12-18 17:34:17 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1784913]


Note You need to log in before you can comment on or make changes to this bug.