CVE-2017-17558 Memory corruption in n/a

Medium 6.6 Published Updated

Local attackers can cause denial of service or potential code execution via crafted USB devices due to an out-of-bounds write in the Linux kernel USB core.

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

CVE-2017-17558 is a medium-severity memory corruption vulnerability in Linux kernel, published on 12 Dec 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The usb_destroy_configuration function in drivers/usb/core/config.c in the USB core subsystem in the Linux kernel through 4.14.5 does not consider the maximum number of configurations and interfaces before attempting to release resources, which allows local users to cause a denial of service (out-of-bounds write access) or possibly have unspecified other impact via a crafted USB device.

Weakness: CWE-787

Which versions are affected by CVE-2017-17558?

It affects 2 products.

Products include Linux kernel, Suse Linux Enterprise Server.

How do I fix CVE-2017-17558?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-17558 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-17558, GHSA-pjjf-q5j5-prhg, UBUNTU-CVE-2017-17558.

Is CVE-2017-17558 in your software?

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

Check your SBOMs for free