Vulnerability in Kernel Package: usb: typec: tcpm: cancel vdm and state machine hrtimer when unregister tcpm port

Kernel Updated 02 Oct 2025

Summary

30/06/2021
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback