CVE-2021-47210 usb: typec: tipd: Remove WARN_ON in tps6598x_block_read

Medium 5.5 Published Updated

A local attacker can trigger a kernel panic in the Linux kernel's USB Type-C driver by causing a block read with an invalid length, leading to denial of service.

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-2021-47210?

CVE-2021-47210 is a medium-severity denial of service vulnerability in Linux kernel, published on 10 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

usb: typec: tipd: Remove WARN_ON in tps6598x_block_read

Calling tps6598x_block_read with a higher than allowed len can be handled by just returning an error. There's no need to crash systems with panic-on-warn enabled.

Weakness: CWE-125

Which versions are affected by CVE-2021-47210?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-47210?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-47210 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-47210, GHSA-8c7c-3pvq-q9v3, UBUNTU-CVE-2021-47210.

Is CVE-2021-47210 in your software?

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

Check your SBOMs for free