CVE-2022-49944
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-18

Last updated on: 2025-11-14

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-18
Last Modified
2025-11-14
Generated
2026-05-07
AI Q&A
2025-06-18
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 4 associated CPEs
Vendor Product Version / Range
linux linux_kernel 6.0
linux linux_kernel 6.0
linux linux_kernel 6.0
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a regression in the Linux kernel caused by a recent commit that introduced a NULL pointer dereference when reading the power supply sysfs. Specifically, a stale sysfs entry that should have been removed remains with NULL operations, leading to a NULL dereference. The error handling changes in the commit caused the power device to remain unreleased, which can cause system instability or crashes. The issue was resolved by reverting the problematic commit.


How can this vulnerability impact me? :

This vulnerability can cause system instability or crashes due to a NULL pointer dereference in the Linux kernel's power supply sysfs interface. It may lead to unreleased power devices, potentially affecting system power management and reliability.


What immediate steps should I take to mitigate this vulnerability?

The vulnerability is addressed by reverting the commit that introduced the regression (commit 87d0e2f41b8c). Immediate mitigation involves applying the patch that reverts this commit to your Linux kernel to remove the stale sysfs entry causing the NULL dereference. Further code improvements may be done later, but the revert is the current fix.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart