CVE-2019-3896 Use after free in kernel

High 7.0 Published Updated

An unprivileged local attacker can exploit a double-free in the Linux kernel to escalate privileges or cause a system crash.

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-3896?

CVE-2019-3896 is a high-severity use after free vulnerability in Linux kernel, published on 18 Jun 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A double-free can happen in idr_remove_all() in lib/idr.c in the Linux kernel 2.6 branch. An unprivileged local attacker can use this flaw for a privilege escalation or for a system crash and a denial of service (DoS).

Weakness: CWE-415, CWE-416

Which versions are affected by CVE-2019-3896?

It affects 5 products.

Products include Linux kernel, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus, Redhat Enterprise Linux Workstation.

How do I fix CVE-2019-3896?

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-3896 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-3896, GHSA-2p8m-h2q6-92v8, UBUNTU-CVE-2019-3896.

Is CVE-2019-3896 in your software?

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

Check your SBOMs for free