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

High 7.8 Published Updated

Local attackers can gain privileges via a race condition in the Linux kernel packet fanout implementation leading to use-after-free.

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

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

Official description

net/packet/af_packet.c in the Linux kernel before 4.13.6 allows local users to gain privileges via crafted system calls that trigger mishandling of packet_fanout data structures, because of a race condition (involving fanout_add and packet_do_bind) that leads to a use-after-free, a different vulnerability than CVE-2017-6346.

Weakness: CWE-362

Which versions are affected by CVE-2017-15649?

It affects 1 product.

Linux distribution packages (4)
kgraft-patch-SLE12_Update_29 SUSE:Linux Enterprise Server 12-LTSSAll versions2-2.1
kgraft-patch-SLE12_Update_30 SUSE:Linux Enterprise Server 12-LTSSAll versions2-2.1
kgraft-patch-SLE12_Update_31 SUSE:Linux Enterprise Server 12-LTSSAll versions2-2.1
kgraft-patch-SLE12_Update_32 SUSE:Linux Enterprise Server 12-LTSSAll versions2-2.1

Products include Linux kernel.

How do I fix CVE-2017-15649?

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

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

Public exploit code: 1 Exploit-DB entry.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-15649, GHSA-wjx2-qc46-g62h, SUSE-SU-2017:3315-1, SUSE-SU-2018:0233-1, SUSE-SU-2018:0562-1, SUSE-SU-2018:0664-1 and 1 more.

Is CVE-2017-15649 in your software?

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

Check your SBOMs for free