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

High 7.8 Published Updated

Local attackers can trigger a use-after-free in Linux kernel encryption modules to cause denial of service or gain privileges.

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

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

Official description

Use-after-free vulnerability in fs/crypto/ in the Linux kernel before 4.10.7 allows local users to cause a denial of service (NULL pointer dereference) or possibly gain privileges by revoking keyring keys being used for ext4, f2fs, or ubifs encryption, causing cryptographic transform objects to be freed prematurely.

Weakness: CWE-476, CWE-416

Which versions are affected by CVE-2017-7374?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2017-7374?

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

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

Public exploit code: 1 proofs of concept on GitHub.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-7374, GHSA-hg37-8m7v-x2rc, UBUNTU-CVE-2017-7374.

Is CVE-2017-7374 in your software?

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

Check your SBOMs for free