Use-after-free in Linux kernel - CVE-2019-19767
Published: December 12, 2019 / Updated: July 17, 2020
Vulnerability details
The vulnerability allows a local non-authenticated attacker to perform a denial of service (DoS) attack.
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, aka CID-4ea99936a163.
Affected software
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat Enterprise Linux for x86_64
Ubuntu
linux-kvm (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-oracle (Ubuntu package)
linux-aws (Ubuntu package)
linux-gke-4.15 (Ubuntu package)
linux-aws-hwe (Ubuntu package)
linux-oracle-5.0 (Ubuntu package)
linux-gke-5.0 (Ubuntu package)
linux-aws-5.0 (Ubuntu package)
linux-gcp-5.3 (Ubuntu package)
linux-azure-5.3 (Ubuntu package)
linux-raspi2-5.3 (Ubuntu package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel-alt (Red Hat package)
How to mitigate CVE-2019-19767
linux-kvm (Ubuntu package) - addressed in versions 4.15.0-1053.53, 5.3.0-1010.11
linux-snapdragon (Ubuntu package) - update to 4.15.0-1072.79
linux-hwe (Ubuntu package) - addressed in versions 4.15.0-88.88~16.04.1, 5.3.0-40.32~18.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1055.59, 5.0.0-1029.30~18.04.1, 5.3.0-1012.13
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1069.74~14.04.1, 4.15.0-1071.76, 5.3.0-1013.14
linux (Ubuntu package) - addressed in versions 4.15.0-88.88, 5.3.0-40.32
linux-raspi2 (Ubuntu package) - addressed in versions 4.15.0-1055.59, 5.3.0-1018.20
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1033.36~16.04.1, 4.15.0-1033.36, 5.3.0-1009.10
linux-aws (Ubuntu package) - addressed in versions 4.15.0-1060.62, 5.3.0-1011.12
linux-gke-4.15 (Ubuntu package) - update to 4.15.0-1052.55
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1060.62~16.04.1
linux-oracle-5.0 (Ubuntu package) - update to 5.0.0-1010.15~18.04.1
linux-gke-5.0 (Ubuntu package) - update to 5.0.0-1029.30~18.04.1
linux-aws-5.0 (Ubuntu package) - update to 5.0.0-1024.27~18.04.1
linux-gcp-5.3 (Ubuntu package) - update to 5.3.0-1012.13~18.04.1
linux-azure-5.3 (Ubuntu package) - update to 5.3.0-1013.14~18.04.1
linux-raspi2-5.3 (Ubuntu package) - update to 5.3.0-1018.20~18.04.1
kernel (Red Hat package) - addressed in versions 3.10.0-1160.el7, 4.18.0-240.el8
kernel-rt (Red Hat package) - update to 3.10.0-1160.rt56.1131.el7
kernel-alt (Red Hat package) - update to 4.14.0-115.26.1.el7a
External References
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00021.html
- https://bugzilla.kernel.org/show_bug.cgi?id=205609
- https://bugzilla.kernel.org/show_bug.cgi?id=205707
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.4.2
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4ea99936a1630f51fc3a2d61a58ec4a1c4b7d55a
- https://github.com/torvalds/linux/commit/4ea99936a1630f51fc3a2d61a58ec4a1c4b7d55a
- https://lists.debian.org/debian-lts-announce/2020/01/msg00013.html
- https://lists.debian.org/debian-lts-announce/2020/03/msg00001.html
- https://security.netapp.com/advisory/ntap-20200103-0001/
- https://usn.ubuntu.com/4258-1/
- https://usn.ubuntu.com/4284-1/
- https://usn.ubuntu.com/4287-1/
- https://usn.ubuntu.com/4287-2/
Related Security Bulletins
- Multiple vulnerabilities in Linux kernel
- Red Hat Enterprise Linux 8 update for kernel
- Red Hat Enterprise Linux 7 update for kernel-alt
- Red Hat Enterprise Linux 7 update for kernel-rt
- Red Hat Enterprise Linux 7 update for kernel
- Ubuntu update for linux-aws-5.0, linux-gcp, linux-gke-5.0 and more
- Ubuntu update for linux, linux-aws, linux-azure and more
- Ubuntu update for linux, linux-aws, linux-aws-hwe and more
- Ubuntu update for linux-azure