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

High 7.0 Published Updated

A local attacker can trigger a use-after-free in the Linux kernel LDT handling to execute code or escalate privileges, requiring a specific kernel configuration.

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

CVE-2017-17053 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 init_new_context function in arch/x86/include/asm/mmu_context.h in the Linux kernel before 4.12.10 does not correctly handle errors from LDT table allocation when forking a new process, allowing a local attacker to achieve a use-after-free or possibly have unspecified other impact by running a specially crafted program. This vulnerability only affected kernels built with CONFIG_MODIFY_LDT_SYSCALL=y.

Weakness: CWE-416

Which versions are affected by CVE-2017-17053?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2017-17053?

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

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-17053, GHSA-qv5h-fq2w-c68j, UBUNTU-CVE-2017-17053.

Is CVE-2017-17053 in your software?

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

Check your SBOMs for free