Use-after-free in Linux kernel - CVE-2019-8912

 

Use-after-free in Linux kernel - CVE-2019-8912

Published: February 20, 2019


Vulnerability identifier: #VU17804
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-8912
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to the af_alg_release() function, as defined in the crypto/af_alg.c source code file of the affected software, fails to set a NULL value for a certain structure member. A local attacker can access the system and execute an application that submits malicious input to the affected software and trigger a use-after-free condition in the sockfs_setattr function, resulting in a DoS condition


Affected software

Linux kernel
Amazon Linux AMI
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for IBM System z (Structure A)
Ubuntu
Opensuse
Fedora
linux-kvm (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-aws (Ubuntu package)
linux-oracle (Ubuntu package)
linux-oem (Ubuntu package)
linux-aws-hwe (Ubuntu package)
kernel-alt (Red Hat package)
kernel
kernel-headers
kernel-tools

How to mitigate CVE-2019-8912

Cybersecurity Help is currently unaware of any official solution to address the vulnerability.

linux-kvm (Ubuntu package) - addressed in versions 4.15.0-1031.31, 4.18.0-1009.9
linux-hwe (Ubuntu package) - addressed in versions 4.15.0-47.50~16.04.1, 4.18.0-17.18~18.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1029.31~16.04.1, 4.15.0-1029.31, 4.18.0-1008.9
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1041.45~14.04.1, 4.15.0-1041.45, 4.18.0-1014.14~18.04.1, 4.18.0-1014.14
linux (Ubuntu package) - addressed in versions 4.15.0-47.50, 4.18.0-17.18
linux-raspi2 (Ubuntu package) - update to 4.15.0-1033.35
linux-aws (Ubuntu package) - addressed in versions 4.15.0-1035.37, 4.18.0-1012.14
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1010.12~16.04.1, 4.15.0-1010.12
linux-oem (Ubuntu package) - update to 4.15.0-1035.40
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1035.37~16.04.1
kernel-alt (Red Hat package) - update to 4.14.0-115.17.1.el7a
kernel - addressed in versions 4.20.11-100.fc28, 4.20.11-200.fc29
kernel-headers - addressed in versions 4.20.11-100.fc28, 4.20.11-200.fc29
kernel-tools - addressed in versions 4.20.11-100.fc28, 4.20.11-200.fc29

External References

Related Security Bulletins