CVE-2017-2671 Race condition in n/a

Medium 5.5 Published Updated

Local attackers can cause a kernel panic via a race condition in the ping socket implementation, leading to denial of service.

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

CVE-2017-2671 is a medium-severity vulnerability in Linux kernel, published on 5 Apr 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The ping_unhash function in net/ipv4/ping.c in the Linux kernel through 4.10.8 is too late in obtaining a certain lock and consequently cannot ensure that disconnect function calls are safe, which allows local users to cause a denial of service (panic) by leveraging access to the protocol value of IPPROTO_ICMP in a socket system call.

Which versions are affected by CVE-2017-2671?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2017-2671?

Apply the vendor's patch.

Is CVE-2017-2671 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-2671 exists.

Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-2671, GHSA-2hqc-mrj5-72jg, UBUNTU-CVE-2017-2671.

Is CVE-2017-2671 in your software?

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

Check your SBOMs for free