Vulnerability in Kernel Package: usb: typec: tcpm: cancel vdm and state machine hrtimer when unregister tcpm port
Summary
GSD-2021-1001034: usb: typec: tcpm: cancel vdm and state machine hrtimer when unregister tcpm port. Affects Kernel versions >= 3ed8e1c2ac9914a2fcb08ec13476b85319536cea, < d0a06696a8a4d99f649240b6f9b8a2e55452ecf5. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Kernel package is a fundamental component of the Linux operating system. It provides the core functionality and interfaces for the system's hardware, software, and processes. The usb: typec: tcpm module within the Kernel package handles USB Type-C Port Manager (TCPM) functionality. This module is responsible for managing the Type-C port state, including handling Vendor Defined Messages (VDMs) and state machine timers. The vulnerability in this module allows an attacker to exploit the unregistering of a TCPM port, leading to potential security risks.
Vulnerability Detail
The vulnerability arises from a failure to cancel the VDM (Vendor Defined Message) and state machine hrtimer when unregistering a TCPM port. This can be exploited by an attacker to manipulate the state machine and potentially execute arbitrary code or cause a denial of service. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in version v5.10 of the Linux Kernel and has been fixed in version v5.12.11.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround provided for this vulnerability. It is recommended to apply the fix by updating the Kernel package to the latest version.
Conclusion
The vulnerability in the usb: typec: tcpm module of the Kernel package can be mitigated by updating to version v5.12.11 or later. This update ensures the proper cancellation of VDM and state machine hrtimer when unregistering a TCPM port. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The Kernel package is a core component of the Linux operating system, providing essential functionality and interfaces for hardware, software, and processes.
The usb: typec: tcpm module is responsible for managing USB Type-C Port Manager (TCPM) functionality in the Kernel package. It handles the state of Type-C ports and related operations.
A Vendor Defined Message (VDM) is a message defined by a specific vendor to communicate with USB Type-C devices. It allows vendors to implement custom functionality and features.
A state machine hrtimer is a high-resolution timer used in the state machine of the usb: typec: tcpm module. It helps manage the timing and transitions of the Type-C port state.
To fix this vulnerability, update the Kernel package to version v5.12.11 or later, which includes the necessary fix commit. Ensure that you follow the appropriate update process for your Linux distribution.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.