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

High 7.8 Published Updated

A local user can cause a denial of service in the Linux kernel via a use-after-free in the pcrypt module, requiring specific crypto API configurations.

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

CVE-2017-18075 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 24 Jan 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

crypto/pcrypt.c in the Linux kernel before 4.14.13 mishandles freeing instances, allowing a local user able to access the AF_ALG-based AEAD interface (CONFIG_CRYPTO_USER_API_AEAD) and pcrypt (CONFIG_CRYPTO_PCRYPT) to cause a denial of service (kfree of an incorrect pointer) or possibly have unspecified other impact by executing a crafted sequence of system calls.

Weakness: CWE-763

Which versions are affected by CVE-2017-18075?

It affects 2 products.

Linux distribution packages (20)
kgraft-patch-SLE12-SP2_Update_10 SUSE:Linux Enterprise Live Patching 12All versions8-2.1
kgraft-patch-SLE12-SP2_Update_11 SUSE:Linux Enterprise Live Patching 12All versions7-2.1
kgraft-patch-SLE12-SP2_Update_12 SUSE:Linux Enterprise Live Patching 12All versions7-2.1
kgraft-patch-SLE12-SP2_Update_13 SUSE:Linux Enterprise Live Patching 12All versions6-2.1
kgraft-patch-SLE12-SP2_Update_14 SUSE:Linux Enterprise Live Patching 12All versions4-2.1
kgraft-patch-SLE12-SP2_Update_15 SUSE:Linux Enterprise Live Patching 12All versions4-2.1
kgraft-patch-SLE12-SP2_Update_16 SUSE:Linux Enterprise Live Patching 12All versions3-2.1
kgraft-patch-SLE12-SP2_Update_17 SUSE:Linux Enterprise Live Patching 12All versions3-2.1
kgraft-patch-SLE12-SP2_Update_5 SUSE:Linux Enterprise Live Patching 12All versions11-2.1
kgraft-patch-SLE12-SP2_Update_6 SUSE:Linux Enterprise Live Patching 12All versions10-2.1
kgraft-patch-SLE12-SP2_Update_7 SUSE:Linux Enterprise Live Patching 12All versions9-2.1
kgraft-patch-SLE12-SP2_Update_8 SUSE:Linux Enterprise Live Patching 12All versions9-2.1
kgraft-patch-SLE12-SP2_Update_9 SUSE:Linux Enterprise Live Patching 12All versions8-2.1
kgraft-patch-SLE12-SP3_Update_1 SUSE:Linux Enterprise Live Patching 12 SP3All versions6-2.1
kgraft-patch-SLE12-SP3_Update_2 SUSE:Linux Enterprise Live Patching 12 SP3All versions5-2.1
kgraft-patch-SLE12-SP3_Update_3 SUSE:Linux Enterprise Live Patching 12 SP3All versions5-2.1
kgraft-patch-SLE12-SP3_Update_4 SUSE:Linux Enterprise Live Patching 12 SP3All versions4-2.1
kgraft-patch-SLE12-SP3_Update_5 SUSE:Linux Enterprise Live Patching 12 SP3All versions3-2.1
kgraft-patch-SLE12-SP3_Update_6 SUSE:Linux Enterprise Live Patching 12 SP3All versions3-2.1
kgraft-patch-SLE12-SP3_Update_7 SUSE:Linux Enterprise Live Patching 12 SP3All versions3-2.1

Products include Canonical Ubuntu Linux, Linux kernel.

How do I fix CVE-2017-18075?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-18075, GHSA-jgvv-ggg2-4ww6, SUSE-SU-2018:0568-1, SUSE-SU-2018:0572-1, SUSE-SU-2018:0573-1, SUSE-SU-2018:0574-1 and 17 more.

Is CVE-2017-18075 in your software?

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

Check your SBOMs for free