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

High 7.8 Published Updated

A local attacker can exploit a use-after-free in the Linux kernel's mm_init function to achieve code execution or privilege escalation.

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

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

Official description

The mm_init function in kernel/fork.c in the Linux kernel before 4.12.10 does not clear the ->exe_file member of a new process's mm_struct, allowing a local attacker to achieve a use-after-free or possibly have unspecified other impact by running a specially crafted program.

Weakness: CWE-416

Which versions are affected by CVE-2017-17052?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2017-17052?

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-17052 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-17052, GHSA-5mx2-ppx6-jrqv, UBUNTU-CVE-2017-17052.

Is CVE-2017-17052 in your software?

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

Check your SBOMs for free