Use-after-free in Linux kernel - CVE-2019-19524
Published: January 9, 2020
Vulnerability identifier: #VU24171
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-19524
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to use-after-free error in the drivers/input/ff-memless.c driver. A local user can use a malicious USB device to trigger use-after-free error and execute arbitrary code on the system with elevated privileges.
Affected software
Linux kernel
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 x86_64
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
Slackware Linux
Ubuntu
linux (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-lts-xenial (Ubuntu package)
linux-aws (Ubuntu package)
linux-kvm (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-oracle (Ubuntu package)
linux-oem (Ubuntu package)
linux-gke-4.15 (Ubuntu package)
linux-aws-hwe (Ubuntu package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel-alt (Red Hat package)
RSA Authentication Manager
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 x86_64
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
Slackware Linux
Ubuntu
linux (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-lts-xenial (Ubuntu package)
linux-aws (Ubuntu package)
linux-kvm (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-oracle (Ubuntu package)
linux-oem (Ubuntu package)
linux-gke-4.15 (Ubuntu package)
linux-aws-hwe (Ubuntu package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel-alt (Red Hat package)
RSA Authentication Manager
How to mitigate CVE-2019-19524
Install update from vendor's website.
Linux kernel - update to 5.3.12
linux (Ubuntu package) - addressed in versions 4.4.0-171.200, 4.15.0-74.84
linux-raspi2 (Ubuntu package) - addressed in versions 4.4.0-1127.136, 4.15.0-1053.57
linux-lts-xenial (Ubuntu package) - update to 4.4.0-171.200~14.04.1
linux-aws (Ubuntu package) - addressed in versions 4.4.0-1060.64, 4.4.0-1100.111, 4.15.0-1057.59
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1064.71, 4.15.0-1052.52
linux-snapdragon (Ubuntu package) - addressed in versions 4.4.0-1131.139, 4.15.0-1070.77
linux-hwe (Ubuntu package) - update to 4.15.0-74.83~16.04.1
linux-gcp (Ubuntu package) - update to 4.15.0-1052.56
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1066.71~14.04.1, 4.15.0-1066.71
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1031.34~16.04.1, 4.15.0-1031.34
linux-oem (Ubuntu package) - update to 4.15.0-1066.76
linux-gke-4.15 (Ubuntu package) - update to 4.15.0-1050.53
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1057.59~16.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.21.2.el7a
RSA Authentication Manager - update to 8.4 Patch 10
linux (Ubuntu package) - addressed in versions 4.4.0-171.200, 4.15.0-74.84
linux-raspi2 (Ubuntu package) - addressed in versions 4.4.0-1127.136, 4.15.0-1053.57
linux-lts-xenial (Ubuntu package) - update to 4.4.0-171.200~14.04.1
linux-aws (Ubuntu package) - addressed in versions 4.4.0-1060.64, 4.4.0-1100.111, 4.15.0-1057.59
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1064.71, 4.15.0-1052.52
linux-snapdragon (Ubuntu package) - addressed in versions 4.4.0-1131.139, 4.15.0-1070.77
linux-hwe (Ubuntu package) - update to 4.15.0-74.83~16.04.1
linux-gcp (Ubuntu package) - update to 4.15.0-1052.56
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1066.71~14.04.1, 4.15.0-1066.71
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1031.34~16.04.1, 4.15.0-1031.34
linux-oem (Ubuntu package) - update to 4.15.0-1066.76
linux-gke-4.15 (Ubuntu package) - update to 4.15.0-1050.53
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1057.59~16.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.21.2.el7a
RSA Authentication Manager - update to 8.4 Patch 10
External References
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00029.html
- http://www.openwall.com/lists/oss-security/2019/12/03/4
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.3.12
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fa3a5a1880c91bb92594ad42dfe9eedad7996b86
- https://seclists.org/bugtraq/2020/Jan/10
- https://usn.ubuntu.com/4225-1/
- https://usn.ubuntu.com/4226-1/
- https://usn.ubuntu.com/4227-1/
- https://usn.ubuntu.com/4227-2/
- https://usn.ubuntu.com/4228-1/
- https://usn.ubuntu.com/4228-2/
Related Security Bulletins
- Use-after-free in Linux kernel
- Slackware Linux update for Slackware 14.2 kernel
- Red Hat Enterprise Linux 7 update for kernel-alt
- Red Hat Enterprise Linux 8 update for kernel
- Red Hat Enterprise Linux 7 update for kernel-rt
- Red Hat Enterprise Linux 7 update for kernel
- RSA Authentication Manager update for third-party components
- Ubuntu update for linux, linux-aws, linux-kvm and more
- Ubuntu update for linux, linux-aws, linux-aws-hwe and more
- Ubuntu update for linux-aws, linux-lts-xenial
- Ubuntu update for linux-azure