CVE-2019-19767: Use After Free

Published Nov 7, 2019
·
Updated

A use-after-free flaw was found in the Linux kernel’s ext4 file system functionality when the user mount ext4 partition, with the usage of an additional debug parameter is defining an extra inode size. If this parameter has a non zero value, this flaw allows a local user to crash the system when inode expansion happens.

Other sources

The Linux kernel before 5.4.2 mishandles ext4expandextraisize, as demonstrated by use-after-free errors in ext4expandextraisize and ext4xattrsetentry, related to fs/ext4/inode.c and fs/ext4/super.c, aka CID-4ea99936a163.

The Linux kernel before 5.4.2 mishandles ext4expandextraisize, as demonstrated by use-after-free errors in ext4expandextraisize and ext4xattrsetentry, related to fs/ext4/inode.c and fs/ext4/super.c.

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

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

— Red Hat

Affected Software

7 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1160.rt56.1131.el7
0:3.10.0-1160.rt56.1131.el7
redhat/kernel-alt<0:4.14.0-115.26.1.el7a
0:4.14.0-115.26.1.el7a
redhat/kernel<0:3.10.0-1160.el7
0:3.10.0-1160.el7
redhat/kernel-rt<0:4.18.0-240.rt7.54.el8
0:4.18.0-240.rt7.54.el8
redhat/kernel<0:4.18.0-240.el8
0:4.18.0-240.el8
Linux Linux kernel<5.4.2
debian/linux
6.1.176-16.1.187-16.12.107-16.12.111-17.2.9-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.rt56.1131.el7
  2. Upgrade

    Upgrade redhat/kernel-alt to a version that resolves this vulnerability.

    Fixed in 0:4.14.0-115.26.1.el7a
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.el7
  4. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-240.rt7.54.el8
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-240.el8
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.187-1Fixed in 6.12.107-1Fixed in 6.12.111-1Fixed in 7.2.9-1
  7. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.4.2Patch CID-4ea99936a163
  8. Configuration

    When mounting ext4, do not use the debug_want_extra_isize parameter (or ensure it is not set to a non-zero value), since non-zero values trigger inode expansion that can lead to a use-after-free crash.

    Linux kernel ext4 mount debug_want_extra_isize = 0 (do not set to non-zero)

Event History

Nov 7, 2019
CVE Published
12:00 AM
Dec 12, 2019
CVE Published
via MITRE·07:39 PM
Data Sourced
via MITRE·07:39 PM
Description
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 23, 2019
Data Sourced
via Red Hat·05:19 PM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:25 PM
Description
Aug 27, 2026
Data Sourced
via Ubuntu·11:39 AM
RemedyDescriptionSeverityAffected Software
Oct 10, 2026
Data Sourced
via Debian·12:10 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2019-19767?

CVE-2019-19767 is classified as a high severity vulnerability due to its potential to cause system crashes.

2

How do I fix CVE-2019-19767?

To fix CVE-2019-19767, update your Linux kernel to the latest versions provided by your distribution, specifically to versions 0:3.10.0-1160.rt56.1131.el7, 0:4.14.0-115.26.1.el7a, or any later secure releases.

3

Who is affected by CVE-2019-19767?

CVE-2019-19767 affects local users of Linux systems using specific versions of the kernel with the ext4 file system.

4

What does CVE-2019-19767 exploit?

CVE-2019-19767 exploits a use-after-free vulnerability in the ext4 file system when an additional debug parameter is enabled.

5

Is there a risk of remote exploitation with CVE-2019-19767?

CVE-2019-19767 does not pose a risk of remote exploitation as it requires local access to the system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203