Vulnerability in ASoC: atmel Package - Missing of_node_put() in at91sam9g20ek_audio_probe
Summary
GSD-2022-1002258: ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe. Affects Kernel versions >= 531f67e41dcde1e358cf821d056241a66355cf03, < 0325193cf40dc3a6e27d55a5b98680936deebcd0. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The ASoC (Audio System on Chip) package, specifically the atmel component, is responsible for providing audio functionality in the Linux Kernel. It is designed to support audio devices based on Atmel SoCs. The at91sam9g20ek_audio_probe function within this package is responsible for initializing the audio subsystem for the Atmel AT91SAM9G20EK development board. However, a vulnerability has been identified in this function, which could potentially lead to security issues.
Vulnerability Detail
The vulnerability in the ASoC atmel package arises from a missing of_node_put() call in the at91sam9g20ek_audio_probe function. This omission can result in a reference count leak, leading to a use-after-free vulnerability. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition. The vulnerability was introduced in version v3.8 of the Linux Kernel and has been fixed in version v5.4.189.
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 mentioned for this vulnerability. The recommended approach is to update the Linux Kernel to the fixed version.
Conclusion
In conclusion, the ASoC atmel package in the Linux Kernel is vulnerable to a use-after-free issue due to a missing of_node_put() call in the at91sam9g20ek_audio_probe function. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.4.189 or later. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ASoC stands for Audio System on Chip. It is a component of the Linux Kernel that provides support for audio devices based on various SoCs.
The atmel package in ASoC is responsible for providing audio functionality for Atmel SoCs.
The at91sam9g20ek_audio_probe function is responsible for initializing the audio subsystem for the Atmel AT91SAM9G20EK development board.
A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed. This can lead to unpredictable behavior and potential security issues.
You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will provide real-time monitoring and alerts for open-source vulnerabilities.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.