CVE-2018-20961 Use after free in n/a

Critical 9.8 Published Updated

A double free vulnerability in the Linux kernel's f_midi driver allows attackers to cause denial of service or potentially execute code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-20961?

CVE-2018-20961 is a critical use after free vulnerability in Linux kernel, published on 7 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Linux kernel before 4.16.4, a double free vulnerability in the f_midi_set_alt function of drivers/usb/gadget/function/f_midi.c in the f_midi driver may allow attackers to cause a denial of service or possibly have unspecified other impact.

Weakness: CWE-415

Which versions are affected by CVE-2018-20961?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2018-20961?

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-2018-20961 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-20961, GHSA-cfwf-8wx8-588c, UBUNTU-CVE-2018-20961.

Is CVE-2018-20961 in your software?

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

Check your SBOMs for free