Bug 2373608 (CVE-2022-49944) - CVE-2022-49944 kernel: Revert "usb: typec: ucsi: add a common function ucsi_unregister_connectors()"
Summary: CVE-2022-49944 kernel: Revert "usb: typec: ucsi: add a common function ucsi_u...
Keywords:
Status: NEW
Alias: CVE-2022-49944
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 12:10 UTC by OSIDB Bzimport
Modified: 2025-08-14 09:36 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 12:10:29 UTC
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.

Comment 1 Avinash Hanwate 2025-06-19 04:40:43 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061807-CVE-2022-49944-b44c@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.