CVE-2026-46074 spi: ch341: fix memory leaks on probe failures

Medium 5.5 Published Updated

A use-after-free vulnerability in the Linux kernel's ch341 SPI driver allows attackers to cause denial of service or potentially execute code via probe failures.

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-2026-46074?

CVE-2026-46074 is a medium-severity use after free vulnerability in Linux kernel, published on 27 May 2026. 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:

spi: ch341: fix memory leaks on probe failures

Make sure to deregister the controller, disable pins, and kill and free the RX URB on probe failures to mirror disconnect and avoid memory leaks and use-after-free.

Also add an explicit URB kill on disconnect for symmetry (even if that is not strictly required as USB core would have stopped it in the current setup).

Weakness: CWE-401

Which versions are affected by CVE-2026-46074?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-46074?

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-2026-46074 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-46074, DEBIAN-CVE-2026-46074, GHSA-rv45-g592-f3p6, UBUNTU-CVE-2026-46074.

Is CVE-2026-46074 in your software?

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

Check your SBOMs for free