CVE-2019-12381 Null dereference in n/a

Medium 5.5 Published Updated

An unchecked memory allocation in the Linux kernel IP socket glue code could allow an attacker to cause a system crash via NULL pointer dereference.

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

CVE-2019-12381 is a medium-severity vulnerability in Linux kernel, published on 28 May 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in ip_ra_control in net/ipv4/ip_sockglue.c in the Linux kernel through 5.1.5. There is an unchecked kmalloc of new_ra, which might allow an attacker to cause a denial of service (NULL pointer dereference and system crash). NOTE: this is disputed because new_ra is never used if it is NULL

Weakness: CWE-476

Which versions are affected by CVE-2019-12381?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2019-12381?

Apply the vendor's patch.

Is CVE-2019-12381 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-12381, GHSA-5xx2-hrc4-gfq8, ROOT-OS-DEBIAN-12-CVE-2019-12381, ROOT-OS-DEBIAN-13-CVE-2019-12381, UBUNTU-CVE-2019-12381.

Is CVE-2019-12381 in your software?

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

Check your SBOMs for free