همهٔ گزارش‌ها
متوسط

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

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2022-49944

احتمال بهره‌برداری در ۳۰ روز آینده: 0.23%

FIRST EPSS · ۱۴۰۵/۰۹/۰۱

شرح آسیب‌پذیری

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.

A flaw was found in the Linux kernel's USB Type-C Connector System Software Interface (UCSI) driver. This vulnerability can lead to a Denial of Service (DoS) due to improper cleanup during connector unregistration, which leaves behind a stale power supply system entry. A local attacker can exploit this issue by reading the leftover entry, triggering a null pointer dereference that causes a system crash.