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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-06-18T10:59:59.319Z
- Modified: 2026-08-05T08:56:49.285Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 87d0e2f41b8cc2018499be4e8003fa8c09b6f2fb before 3d4044c9e6d2e3f11f1f8b5e0ee8647d3eb1afad; from 87d0e2f41b8cc2018499be4e8003fa8c09b6f2fb before 5f73aa2cf8bef4a39baa1591c3144ede4788826e; 5.19 (not affected: before 5.19; from 5.19.8 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.19 before 5.19.8; 6.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3d4044c9e6d2e3f11f1f8b5e0ee8647d3eb1afad> (patch)
- <https://git.kernel.org/stable/c/5f73aa2cf8bef4a39baa1591c3144ede4788826e> (patch)

## Sources

- CVE List: [CVE-2022-49944](https://www.cve.org/CVERecord?id=CVE-2022-49944), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49944](https://nvd.nist.gov/vuln/detail/CVE-2022-49944), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49944 · Whole record: https://cve.day/CVE-2022-49944.json · Rebuilt by cve.day 2026-11-25T22:58:20.974Z
