Bug 1786160 (CVE-2019-19767) - CVE-2019-19767 kernel: use-after-free in __ext4_expand_extra_isize and ext4_xattr_set_entry related to fs/ext4/inode.c and fs/ext4/super.c
Summary: CVE-2019-19767 kernel: use-after-free in __ext4_expand_extra_isize and ext4_x...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-19767
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: 1786161 1817634 1817635 1817636 1817637 1817638
Blocks: 1786162
TreeView+ depends on / blocked
 
Reported: 2019-12-23 17:19 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-02-16 20:50 UTC (History)
47 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-07-07 19:27:55 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4416 0 None None None 2020-10-29 15:10:01 UTC
Red Hat Product Errata RHBA-2020:4417 0 None None None 2020-10-29 15:08:31 UTC
Red Hat Product Errata RHBA-2020:4418 0 None None None 2020-10-29 15:13:56 UTC
Red Hat Product Errata RHBA-2020:4419 0 None None None 2020-10-29 15:12:21 UTC
Red Hat Product Errata RHBA-2020:4420 0 None None None 2020-10-29 15:51:17 UTC
Red Hat Product Errata RHSA-2020:2854 0 None None None 2020-07-07 13:18:51 UTC
Red Hat Product Errata RHSA-2020:4060 0 None None None 2020-09-29 20:52:58 UTC
Red Hat Product Errata RHSA-2020:4062 0 None None None 2020-09-29 18:59:04 UTC
Red Hat Product Errata RHSA-2020:4431 0 None None None 2020-11-04 00:50:17 UTC
Red Hat Product Errata RHSA-2020:4609 0 None None None 2020-11-04 02:22:25 UTC

Description Guilherme de Almeida Suckevicz 2019-12-23 17:19:49 UTC
The Linux kernel before 5.4.2 mishandles ext4_expand_extra_isize, as demonstrated by use-after-free errors in __ext4_expand_extra_isize and ext4_xattr_set_entry, related to fs/ext4/inode.c and fs/ext4/super.c.

References:
https://bugzilla.kernel.org/show_bug.cgi?id=205609
https://bugzilla.kernel.org/show_bug.cgi?id=205707

Upstream commit:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4ea99936a1630f51fc3a2d61a58ec4a1c4b7d55a

Comment 1 Guilherme de Almeida Suckevicz 2019-12-23 17:20:57 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1786161]

Comment 2 Justin M. Forbes 2020-03-20 15:13:55 UTC
This was fixed for Fedora with the 5.3.15 stable kernel updates.

Comment 4 Alex 2020-03-26 17:12:53 UTC
Mitigation:

The mitigation is not to use debug_want_extra_isize parameter when mounting ext4 FS.

Comment 6 errata-xmlrpc 2020-07-07 13:18:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:2854 https://access.redhat.com/errata/RHSA-2020:2854

Comment 7 Product Security DevOps Team 2020-07-07 19:27:55 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-19767

Comment 8 errata-xmlrpc 2020-09-29 18:59:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:4062 https://access.redhat.com/errata/RHSA-2020:4062

Comment 9 errata-xmlrpc 2020-09-29 20:53:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:4060 https://access.redhat.com/errata/RHSA-2020:4060

Comment 25 errata-xmlrpc 2020-11-04 00:50:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4431 https://access.redhat.com/errata/RHSA-2020:4431

Comment 26 errata-xmlrpc 2020-11-04 02:22:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4609 https://access.redhat.com/errata/RHSA-2020:4609


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