CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel, specifically within the IIO (Industrial I/O) subsystem related to the SCD30 chemical sensor driver. The impact includes potential corruption of the exponent in floating-point calculations due to a sign-extension bug, which could lead to incorrect sensor readings. Organizations utilizing Linux systems with this kernel version, particularly those relying on the IIO subsystem for sensor data, should prioritize this issue to ensure accurate data processing and system stability.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: iio: chemical: scd30: Cleanup initializations and fix sign-extension bug Include linux/bitfield.h for FIELD_GET(). Create new macros for bit manipulation in combination with manual bit manipulation being replaced with FIELD_GET(). The current variable declaration and initializations are barely readable and use comma separations across multiple lines. Refactor the initializations so that mantissa and exp have separate declarations and sign gets initialized later. In addition (and due to the nature of the cleanup), fix a sign-extension bug where, float32 would get bitwise anded with ~BIT(31) (which is 0xFFFFFFFF7FFFFFFF) which corrupted the exponent.