CVE-2019-8912 Use after free in n/a
A use-after-free vulnerability in the Linux kernel's af_alg_release function allows attackers to execute arbitrary code or escalate privileges.
- 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-8912?
CVE-2019-8912 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 18 Feb 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 through 4.20.11, af_alg_release() in crypto/af_alg.c neglects to set a NULL value for a certain structure member, which leads to a use-after-free in sockfs_setattr.
Weakness: CWE-416
Which versions are affected by CVE-2019-8912?
It affects 4 products.
Products include Canonical Ubuntu Linux, Linux kernel, Opensuse Leap, Redhat Enterprise Linux.
How do I fix CVE-2019-8912?
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-8912 being exploited?
There is no known exploitation of CVE-2019-8912 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2019-8912, GHSA-4wpv-r6m6-xjq5, UBUNTU-CVE-2019-8912.