Out-of-Bounds Access Vulnerability in Linux Kernel - CS35L41 Package
Summary
CVE-2022-49515: In the Linux kernel, the following vulnerability has been resolved: ASoC: cs35l41: Fix an out-of-bounds access in otp_packed_element_t The CS35L41_NUM_OTP_ELEM is 100, but only 99 entries are defined in the array otp_map... Affects linux versions < 5.18.5-1. Fixed in 5.18.5-1. 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 Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. The CS35L41 package is a driver for a specific audio codec, which is crucial for sound processing in various devices. This vulnerability affects the CS35L41 audio codec driver, leading to potential out-of-bounds access issues that can compromise system stability and security.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the ASoC (ALSA System on Chip) driver for the CS35L41 audio codec. The issue arises from an out-of-bounds access in the otp_packed_element_t structure. Specifically, the CS35L41_NUM_OTP_ELEM constant is defined as 100, but only 99 entries are actually defined in the otp_map_1/2 arrays. This discrepancy can trigger a shift-out-of-bounds warning reported by UBSAN (Undefined Behavior Sanitizer) during the cs35l41_otp_unpack() function execution. The vulnerability can lead to unexpected behavior, crashes, or potential exploitation by malicious actors.
How To Fix
Minimum fixed version
5.18.5-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no specific workarounds mentioned for this vulnerability. However, users can monitor their systems for any unusual behavior and ensure they are using the latest kernel version to mitigate risks.
Conclusion
The CVE-2022-49515 vulnerability in the Linux kernel's CS35L41 audio codec driver poses significant risks due to out-of-bounds access issues. It is crucial for users to update their systems to the patched version to mitigate these risks. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for linux →
FAQ
CVE-2022-49515 is a vulnerability in the Linux kernel affecting the CS35L41 audio codec driver, which can lead to out-of-bounds access issues.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected without needing to sign up.
The risks include system instability, potential crashes, and exploitation by malicious actors, which could lead to unauthorized access or data loss.
Yes, a patch is available in the form of an updated Linux kernel version 5.18.5-1, which addresses this vulnerability.
If immediate updates are not possible, monitor your system for unusual behavior and consider using Vulert to keep track of any vulnerabilities.
Related vulnerabilities
Recent vulnerabilities recorded for linux.