CVE-2022-49944

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49944
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49944.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49944
Downstream
Related
Published
2025-06-18T10:59:59.319Z
Modified
2025-11-29T02:26:08.384575Z
Summary
Revert "usb: typec: ucsi: add a common function ucsi_unregister_connectors()"
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49944.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
87d0e2f41b8cc2018499be4e8003fa8c09b6f2fb
Fixed
3d4044c9e6d2e3f11f1f8b5e0ee8647d3eb1afad
Fixed
5f73aa2cf8bef4a39baa1591c3144ede4788826e

Affected versions

v5.*

v5.18
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.19
v5.19-rc1
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8
v5.19.1
v5.19.2
v5.19.3
v5.19.4
v5.19.5
v5.19.6
v5.19.7

v6.*

v6.0-rc1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
5.19.8