extcon: Fix extcon_get_extcon_dev() error handling in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002893: extcon: Fix extcon_get_extcon_dev() error handling. Affects Kernel versions < c33ca06578c147b63adaa1934cc8efedb9553a8e. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a crucial component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system. The extcon subsystem within the Kernel handles external connector events and manages the state of external connectors, such as USB ports and audio jacks. It allows the system to detect and respond to changes in the connection status of these external devices.

Vulnerability Detail

The extcon_get_extcon_dev() function in the Kernel's extcon subsystem has a flaw in its error handling mechanism. This vulnerability could potentially lead to a use-after-free scenario, where a reference to a deallocated memory object is mistakenly used. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition, depending on the context in which the function is called. The impact and attack plausibility of this vulnerability have not been proven yet.

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

No specific workaround has been provided for this vulnerability.

Conclusion

The extcon_get_extcon_dev() error handling vulnerability in the Kernel's extcon subsystem has been identified and addressed in the Linux Kernel version v5.17.15. Users are advised to update their Kernel to this version or a later one to mitigate the risk associated with this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The extcon subsystem in the Kernel manages the state of external connectors, such as USB ports and audio jacks, and handles events related to their connection status.

The extcon_get_extcon_dev() function is used to retrieve the extcon device associated with a given device node.

A use-after-free vulnerability occurs when a program continues to use a memory object after it has been deallocated. This can lead to unpredictable behavior and potential security issues.

If successfully exploited, this vulnerability could allow an attacker to execute arbitrary code or cause a denial-of-service condition on the affected system.

To protect your system, make sure to update your Kernel to version v5.17.15 or a later release that includes the fix for this vulnerability.

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