CVE-2018-7191 Null dereference in n/a

Medium 5.5 Published Updated

Local attackers can cause a kernel panic and denial of service via a specific ioctl call in the tun subsystem.

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-2018-7191?

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

Official description

In the tun subsystem in the Linux kernel before 4.13.14, dev_get_valid_name is not called before register_netdevice. This allows local users to cause a denial of service (NULL pointer dereference and panic) via an ioctl(TUNSETIFF) call with a dev name containing a / character. This is similar to CVE-2013-4343.

Weakness: CWE-476

Which versions are affected by CVE-2018-7191?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2018-7191?

Apply the vendor's patch.

Is CVE-2018-7191 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-7191, GHSA-p54q-624c-fr42, UBUNTU-CVE-2018-7191.

Is CVE-2018-7191 in your software?

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

Check your SBOMs for free