Vulnerability in ASoC: atmel Package - Missing of_node_put() in at91sam9g20ek_audio_probe

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001254: ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe. Affects Kernel versions >= 531f67e41dcde1e358cf821d056241a66355cf03, < 4793a02deb31b71b3984abc67bf1011a03c13b18. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The ASoC (Audio System on Chip) package, specifically the atmel component, is responsible for providing audio support for Atmel processors. It enables audio input and output functionalities on Atmel-based devices. The at91sam9g20ek_audio_probe function within the package is responsible for initializing the audio subsystem on the Atmel AT91SAM9G20EK development board. However, a missing of_node_put() call in this function can lead to a resource leak, potentially causing memory exhaustion and system instability.

Vulnerability Detail

The vulnerability arises from the absence of an of_node_put() call in the at91sam9g20ek_audio_probe function of the ASoC atmel package. This omission can result in a resource leak, where the reference count of the device tree node is not properly decremented. As a consequence, memory may not be released, leading to memory exhaustion and potential system instability. An attacker with local access to the affected device could potentially exploit this vulnerability to exhaust system resources, causing a denial-of-service (DoS) condition.

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

As a workaround, users can manually add the missing of_node_put() call in the at91sam9g20ek_audio_probe function of the ASoC atmel package. The following code snippet demonstrates the addition:

static int at91sam9g20ek_audio_probe(struct platform_device *pdev)
{
    // Existing code

    // Add the following line
    of_node_put(pdev->dev.of_node);

    // Existing code
}

Conclusion

The ASoC atmel package contains a vulnerability in the at91sam9g20ek_audio_probe function, where a missing of_node_put() call can lead to a resource leak and potential system instability. To mitigate this vulnerability, it is crucial to apply the fix provided in Linux Kernel version v5.17.2. Alternatively, users can manually add the missing of_node_put() call as a temporary workaround. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The ASoC (Audio System on Chip) package is responsible for providing audio support for specific chipsets or processors. It enables audio input and output functionalities on devices using these chipsets or processors.

The atmel component within the ASoC package is specifically designed to provide audio support for Atmel processors. It includes drivers and functions necessary for audio input and output on Atmel-based devices.

The at91sam9g20ek_audio_probe function is a part of the ASoC atmel package and is responsible for initializing the audio subsystem on the Atmel AT91SAM9G20EK development board. It sets up the necessary configurations and resources for audio input and output on the board.

The vulnerability can lead to a resource leak, potentially causing memory exhaustion and system instability. An attacker with local access to the affected device could exploit this vulnerability to exhaust system resources, resulting in a denial-of-service (DoS) condition.

Yes, this vulnerability has been fixed in Linux Kernel version v5.17.2 by commit 4793a02deb31b71b3984abc67bf1011a03c13b18.

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