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

 

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

Published: April 1, 2019 / Updated: July 17, 2020


Vulnerability identifier: #VU31126
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-8956
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local authenticated user to execute arbitrary code.

In the Linux Kernel before versions 4.20.8 and 4.19.21 a use-after-free error in the "sctp_sendmsg()" function (net/sctp/socket.c) when handling SCTP_SENDALL flag can be exploited to corrupt memory.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-azure (Ubuntu package)
linux-gcp (Ubuntu package)
linux-aws (Ubuntu package)
linux-kvm (Ubuntu package)
linux-hwe (Ubuntu package)

How to mitigate CVE-2019-8956

Install update from vendor's website.

Linux kernel - update to 4.20.8
linux (Ubuntu package) - update to 4.18.0-17.18
linux-azure (Ubuntu package) - addressed in versions 4.18.0-1014.14~18.04.1, 4.18.0-1014.14
linux-gcp (Ubuntu package) - update to 4.18.0-1008.9
linux-aws (Ubuntu package) - update to 4.18.0-1012.14
linux-kvm (Ubuntu package) - update to 4.18.0-1009.9
linux-hwe (Ubuntu package) - update to 4.18.0-17.18~18.04.1

External References

Related Security Bulletins