Fix errorenous cleanup order in ASoC rt5645

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002781: ASoC: rt5645: Fix errorenous cleanup order. Affects Kernel versions < 453f0920ffc1a28e28ddb9c3cd5562472b2895b0. 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 ASoC (Audio System on Chip) framework in the Linux Kernel is responsible for managing audio devices on embedded systems. One of the supported audio codecs is the rt5645. This codec is commonly used in various devices, including smartphones, tablets, and laptops. The rt5645 codec provides features such as audio playback, recording, and audio signal processing. However, a vulnerability has been discovered in the rt5645 driver that could lead to erroneous cleanup order.

Vulnerability Detail

The vulnerability in the rt5645 driver arises from an incorrect cleanup order. When the driver is unloaded or encounters an error during initialization, certain resources may not be properly released, leading to potential memory leaks or other undefined behavior. An attacker with local access to the affected system could potentially exploit this vulnerability to gain elevated privileges or cause a denial-of-service condition. It is important to note that the impact and attack plausibility of this vulnerability have not been proven.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.18.3 or later. The fix for this issue was implemented in commit 453f0920ffc1a28e28ddb9c3cd5562472b2895b0. Updating the kernel will ensure that the erroneous cleanup order in the rt5645 driver is corrected.

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. However, users can mitigate the risk by ensuring that their systems are running an updated version of the Linux Kernel that includes the fix.

Conclusion

In conclusion, the ASoC rt5645 driver in the Linux Kernel is vulnerable to an erroneous cleanup order. This vulnerability could potentially lead to memory leaks or other undefined behavior. It is recommended to update the Linux Kernel to version v5.18.3 or later to fix this issue. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ASoC stands for Audio System on Chip. It is a framework in the Linux Kernel that manages audio devices on embedded systems.

The rt5645 codec is an audio codec commonly used in devices such as smartphones, tablets, and laptops. It provides features such as audio playback, recording, and audio signal processing.

The impact of this vulnerability is not yet proven. However, it could potentially lead to memory leaks or other undefined behavior, and an attacker with local access to the system could exploit it to gain elevated privileges or cause a denial-of-service condition.

To fix this vulnerability, update the Linux Kernel to version v5.18.3 or later, which includes the necessary fix for the rt5645 driver.

There is no specific workaround provided for this vulnerability. However, ensuring that your system is running an updated version of the Linux Kernel can help mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.18.3 or later. The fix for this issue was implemented in commit 453f0920ffc1a28e28ddb9c3cd5562472b2895b0. Updating the kernel will ensure that the erroneous cleanup order in the rt5645 driver is corrected.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.