CVE-2022-49944: Revert "usb: typec: ucsi: add a common function ucsi_unregister_connectors()"
In the Linux kernel, the following vulnerability has been resolved:
Revert "usb: typec: ucsi: add a common function ucsiunregisterconnectors()"
The recent commit 87d0e2f41b8c ("usb: typec: ucsi: add a common function ucsiunregisterconnectors()") 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.0.2-1 - Compensating control
Revert commit 87d0e2f41b8c ("usb: typec: ucsi: add a common function ucsi_unregister_connectors()") in the Linux kernel.
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49944?
The severity of CVE-2022-49944 is classified as moderate.
How do I fix CVE-2022-49944?
To fix CVE-2022-49944, you should apply the latest updates to the affected Linux kernel versions.
Which versions of the Linux kernel are affected by CVE-2022-49944?
CVE-2022-49944 affects Linux kernel versions from 5.19 to 5.19.8 and specific release candidates of version 6.0.
What type of vulnerability is CVE-2022-49944?
CVE-2022-49944 is a regression issue affecting USB Type-C connector functionality in the Linux kernel.
Is CVE-2022-49944 exploitable?
CVE-2022-49944 does not have known exploitation vectors but may cause issues with USB Type-C connections.