extcon: Modify extcon device to be created after driver data is set

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002892: extcon: Modify extcon device to be created after driver data is set. Affects Kernel versions < 35ff1ac55d301efb3f467cf5426faaeb3452994b. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The extcon package is a component of the Linux Kernel that handles the management of external connectors. It provides a framework for detecting and handling events related to external connections, such as USB cables or headphone jacks. The extcon device represents a physical connector and is associated with a driver that handles the events and actions related to that connector. This vulnerability in the extcon package allows the extcon device to be created before the driver data is set, potentially leading to incorrect behavior or crashes.

Vulnerability Detail

The vulnerability arises from the incorrect order of operations in the extcon package. When an extcon device is created, it should have its driver data set before any events or actions are handled. However, due to a flaw in the code, the extcon device is created before the driver data is fully initialized. This can result in the driver not having access to the necessary data, leading to unexpected behavior or crashes. An attacker may be able to exploit this vulnerability to cause a denial-of-service or potentially execute arbitrary code.

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 known workaround for this vulnerability. It is recommended to update to the fixed version of the Linux Kernel.

Conclusion

The extcon package in the Linux Kernel is vulnerable to a flaw that allows the extcon device to be created before the driver data is set. This can result in unexpected behavior or crashes. It is recommended to update to the latest version of the Linux Kernel to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The extcon package is a component of the Linux Kernel that handles the management of external connectors.

An extcon device represents a physical connector and is associated with a driver that handles the events and actions related to that connector.

This vulnerability can result in incorrect behavior or crashes in the extcon package, potentially leading to a denial-of-service or arbitrary code execution.

To fix this vulnerability, update to the latest version of the Linux Kernel where the issue has been addressed.

There is no known workaround for this vulnerability. It is recommended to update to the fixed version of the Linux Kernel.

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