Potential overflow in iio: adc: ad7124 due to non sequential channel numbers

Kernel Updated 02 Oct 2025

Summary

04/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000564: iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers. Affects Kernel versions >= d7857e4ee1ba69732b16c73b2f2dde83ecd78ee4, < 26da8040eccc6c6b0e415e9a3baf72fd39eb2fdc. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 enables communication between the ADC chip and the operating system, allowing users to read analog input values. The AD7124 ADC chip is commonly used in various applications, including industrial control systems, medical devices, and scientific instruments. However, a potential vulnerability has been identified in the driver that could lead to an overflow due to non sequential channel numbers.

Vulnerability Detail

The vulnerability in the iio: adc: ad7124 driver arises from a potential overflow when handling non sequential channel numbers. This could occur when the driver receives input from multiple channels that are not in sequential order. The overflow could result in unexpected behavior, such as incorrect readings or system crashes. An attacker could potentially exploit this vulnerability to manipulate the ADC readings or cause a denial-of-service condition. The vulnerability was introduced in Linux Kernel version v5.5 and has been fixed in version v5.12.9.

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 temporary workaround, users can avoid using non sequential channel numbers when interacting with the iio: adc: ad7124 driver. By ensuring that the channel numbers are in sequential order, the potential overflow can be mitigated. However, this workaround may not be feasible in all scenarios, especially when the ADC chip is used in complex systems with multiple input channels.

Conclusion

The potential overflow vulnerability in the iio: adc: ad7124 driver can be mitigated by updating the Linux Kernel to version v5.12.9 or later. Users can also temporarily avoid using non sequential channel numbers as a workaround. It is important to apply the fix to ensure the security and stability of systems relying on the iio: adc: ad7124 driver. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability could lead to incorrect ADC readings or system crashes, potentially impacting the accuracy and reliability of systems that rely on the iio: adc: ad7124 driver.

No, this vulnerability requires local access to the system in order to manipulate the ADC readings or cause a denial-of-service condition.

There are no known instances of this vulnerability being exploited in the wild. However, it is still important to apply the fix to ensure the security and stability of systems using the iio: adc: ad7124 driver.

No, all systems using the iio: adc: ad7124 driver are potentially vulnerable if non sequential channel numbers are used.

For more details about this vulnerability, including the specific code changes that fix it, you can refer to the vulnerability report on the GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000564.json

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