CVE-2022-49944 Revert "usb: typec: ucsi: add a common function ucsi_unregister_connectors()"

High 7.8 Published Updated

A regression in the Linux kernel USB Type-C UCSI driver causes a NULL pointer dereference when reading power supply sysfs entries, leading to a system crash.

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-2022-49944?

CVE-2022-49944 is a high-severity vulnerability in Linux kernel, published on 18 Jun 2025. 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:

Revert "usb: typec: ucsi: add a common function ucsi_unregister_connectors()"

The recent commit 87d0e2f41b8c ("usb: typec: ucsi: add a common function ucsi_unregister_connectors()") introduced a regression that caused NULL dereference at reading the power supply sysfs. It's a stale sysfs entry that should have been removed but remains with NULL ops. The commit changed the error handling to skip the entries after a NULL con->wq, and this leaves the power device unreleased.

For addressing the regression, the straight revert is applied here. Further code improvements can be done from the scratch again.

Weakness: CWE-476

Which versions are affected by CVE-2022-49944?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-49944?

Apply the vendor's patch.

Is CVE-2022-49944 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-49944, GHSA-8gj5-9g6q-pjv8, UBUNTU-CVE-2022-49944.

Is CVE-2022-49944 in your software?

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

Check your SBOMs for free