Boolean Logic Bug in iio: afe: rescale

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004252: iio: afe: rescale: Fix boolean logic bug. Affects Kernel versions >= 53ebee9499805add3eef630d998c40812e6a1c39, < d489534d746ee2d966cc2acbd827216977b3b49f. 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: afe: rescale is a component in the Linux Kernel that is responsible for rescaling analog front-end (AFE) data. It is used to adjust the range of input values to match the desired output range. The AFE subsystem is crucial for various devices that interface with sensors, such as accelerometers, gyroscopes, and magnetometers. This vulnerability affects the rescale functionality of the iio: afe component.

Vulnerability Detail

The vulnerability in the iio: afe: rescale component is due to a boolean logic bug. This bug can lead to incorrect rescaling of AFE data, resulting in inaccurate sensor readings. An attacker could potentially exploit this vulnerability to manipulate sensor data or cause the system to behave unexpectedly. The impact of this vulnerability depends on the specific use case and the importance of accurate sensor readings.

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

If updating the Linux Kernel is not immediately feasible, a temporary workaround can be implemented by disabling or bypassing the rescale functionality in the iio: afe component. This can be achieved by modifying the relevant code or configuration to skip the rescaling process. However, it is important to note that this workaround may impact the accuracy of sensor readings and should only be considered as a temporary solution until the kernel update can be applied.

Conclusion

The boolean logic bug in the iio: afe: rescale component of the Linux Kernel can lead to inaccurate sensor readings. It is recommended to update the kernel to the latest version to fix this vulnerability. If immediate update is not possible, a temporary workaround can be implemented by disabling the rescale functionality. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The iio: afe: rescale component is responsible for adjusting the range of input values from analog front-end (AFE) sensors to match the desired output range. It is an essential part of the AFE subsystem in the Linux Kernel.

The boolean logic bug in the iio: afe: rescale component can cause incorrect rescaling of AFE data, leading to inaccurate sensor readings. This bug can be exploited by an attacker to manipulate sensor data or disrupt the system's behavior.

The impact of this vulnerability depends on the specific use case and the importance of accurate sensor readings. Inaccurate sensor data can lead to incorrect decisions or actions based on that data, potentially affecting the functionality and reliability of systems relying on AFE sensors.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.18.8 or later. This update includes the patch for the boolean logic bug in the iio: afe: rescale component.

Yes, a temporary workaround is to disable or bypass the rescale functionality in the iio: afe component. However, this workaround may impact the accuracy of sensor readings and should only be used until the kernel update can be applied.

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