Potential overflow due to non sequential channel numbers in iio: adc: ad7124
Summary
GSD-2021-1000608: iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers. Affects Kernel versions >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < f70122825076117787b91e7f219e21c09f11a5b9. 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 iio: adc: ad7124 is a driver in the Linux Kernel that provides support for the AD7124 Analog-to-Digital Converter (ADC) chip. This driver allows users to interface with the ADC chip and read analog input values. The AD7124 ADC chip is commonly used in various applications, including industrial control systems, medical devices, and scientific instruments.
Vulnerability Detail
The vulnerability in the iio: adc: ad7124 driver arises from a potential overflow issue when handling non-sequential channel numbers. This vulnerability can be exploited by an attacker to manipulate the channel numbers in a way that leads to an overflow, potentially causing unexpected behavior or system crashes. The vulnerability was introduced in version v5.5 of the Linux Kernel and was fixed in version v5.10.42.
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. However, users can mitigate the risk by ensuring that non-sequential channel numbers are not used in their applications when interacting with the iio: adc: ad7124 driver.
Conclusion
The iio: adc: ad7124 driver in the Linux Kernel is vulnerable to a potential overflow issue when handling non-sequential channel numbers. This vulnerability can be mitigated by updating the Linux Kernel to version v5.10.42 or later. It is important to apply this fix to ensure the security and stability of systems utilizing the AD7124 ADC chip. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially lead to system crashes or unexpected behavior when non-sequential channel numbers are used with the iio: adc: ad7124 driver.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze the dependencies and alert you if any vulnerabilities are found.
At the time of this report, there are no known exploits for this vulnerability. However, it is still important to apply the recommended fix to ensure the security and stability of your system.
This vulnerability requires local access to the system in order to manipulate the channel numbers. Therefore, it cannot be exploited remotely over a network.
For further support on vulnerability remediation, you can contact info@devnack.com. They can provide assistance and guidance in addressing this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.