CVE-2019-8956 Use after free in Linux Kernel

High 7.8 Published Updated

A use-after-free in the Linux Kernel SCTP implementation allows attackers to corrupt memory, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2019-8956?

CVE-2019-8956 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 1 Apr 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-787, CWE-416

Which versions are affected by CVE-2019-8956?

It affects 2 products.

Products include Canonical Ubuntu Linux, Linux kernel.

How do I fix CVE-2019-8956?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2019-8956 being exploited?

There is no known exploitation of CVE-2019-8956 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-8956, GHSA-6647-2gmj-c8h8, UBUNTU-CVE-2019-8956.

Is CVE-2019-8956 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free