Bug 1775746 (CVE-2019-18885) - CVE-2019-18885 kernel: fs/btrfs/volumes.c allows a btrfs_verify_dev_extents NULL pointer dereference
Summary: CVE-2019-18885 kernel: fs/btrfs/volumes.c allows a btrfs_verify_dev_extents N...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2019-18885
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1775747
Blocks: 1775748
TreeView+ depends on / blocked
 
Reported: 2019-11-22 17:24 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-02-16 20:59 UTC (History)
47 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-03 06:36:15 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2019-11-22 17:24:15 UTC
fs/btrfs/volumes.c in the Linux kernel before 5.1 allows a btrfs_verify_dev_extents NULL pointer dereference via a crafted btrfs image because fs_devices->devices is mishandled within find_device, aka CID-09ba3bc9dd15.

Reference:
https://github.com/bobfuzzer/CVE-2019-18885

Upstream commit:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=09ba3bc9dd150457c506e4661380a6183af651c1

Comment 1 Guilherme de Almeida Suckevicz 2019-11-22 17:25:19 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1775747]

Comment 2 Justin M. Forbes 2019-11-22 18:52:09 UTC
This was fixed for Fedora with the 5.1 kernel rebases.

Comment 3 Petr Matousek 2020-04-03 06:36:20 UTC
Statement:

The Btrfs was introduced as a Technology Preview in both Red Hat Enterprise Linux 6 and 7 but is currently deprecated and not supported in both Red Hat Enterprise Linux releases.


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