Bug 1784141 (CVE-2019-19318) - CVE-2019-19318 kernel: use-after-free in rwsem_down_write_slowpath in kernel/locking/rwsem.c
Summary: CVE-2019-19318 kernel: use-after-free in rwsem_down_write_slowpath in kernel/...
Keywords:
Status: NEW
Alias: CVE-2019-19318
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: 1784143
Blocks: 1784142
TreeView+ depends on / blocked
 
Reported: 2019-12-16 19:10 UTC by Guilherme de Almeida Suckevicz
Modified: 2019-12-29 10:30 UTC (History)
46 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-16 19:10:06 UTC
In the Linux kernel 5.3.11, mounting a crafted btrfs image twice can cause an rwsem_down_write_slowpath use-after-free because (in rwsem_can_spin_on_owner in kernel/locking/rwsem.c) rwsem_owner_flags returns an already freed pointer,

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

Comment 1 Guilherme de Almeida Suckevicz 2019-12-16 19:10:53 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1784143]


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