CVE-2017-18218 Use after free in n/a

High 7.8 Published Updated

Local users can cause a denial of service via use-after-free in the Hisilicon network driver due to improper skb handling.

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-2017-18218?

CVE-2017-18218 is a high-severity use after free vulnerability in Linux kernel, published on 5 Mar 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In drivers/net/ethernet/hisilicon/hns/hns_enet.c in the Linux kernel before 4.13, local users can cause a denial of service (use-after-free and BUG) or possibly have unspecified other impact by leveraging differences in skb handling between hns_nic_net_xmit_hw and hns_nic_net_xmit.

Weakness: CWE-416

Which versions are affected by CVE-2017-18218?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2017-18218?

Upgrade to a fixed version.

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-2017-18218 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-18218, GHSA-54jr-vfww-vxf7, UBUNTU-CVE-2017-18218.

Is CVE-2017-18218 in your software?

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

Check your SBOMs for free