We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2022-49944

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



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.

Reserved 2025-06-18 | Published 2025-06-18 | Updated 2025-06-18 | Assigner Linux

Product status

Default status
unaffected

87d0e2f41b8cc2018499be4e8003fa8c09b6f2fb before 3d4044c9e6d2e3f11f1f8b5e0ee8647d3eb1afad
affected

87d0e2f41b8cc2018499be4e8003fa8c09b6f2fb before 5f73aa2cf8bef4a39baa1591c3144ede4788826e
affected

Default status
affected

5.19
affected

Any version before 5.19
unaffected

5.19.8
unaffected

6.0
unaffected

References

git.kernel.org/...c/3d4044c9e6d2e3f11f1f8b5e0ee8647d3eb1afad

git.kernel.org/...c/5f73aa2cf8bef4a39baa1591c3144ede4788826e

cve.org (CVE-2022-49944)

nvd.nist.gov (CVE-2022-49944)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2022-49944

Support options

Helpdesk Chat, Email, Knowledgebase