CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's hwmon subsystem, specifically in the sht3x driver, where unaligned memory accesses can lead to kernel panics on strict-alignment architectures like ARMv5 and SPARC. This issue arises from improper handling of temperature and humidity data extracted from a byte array, which can cause system instability. Organizations using affected Linux systems on these architectures should prioritize applying the fix to prevent potential system crashes.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: hwmon: (sht3x) Fix unaligned accesses Sashiko reports: In sht3x_update_client(), the 16-bit temperature and humidity values are extracted from a stack-allocated byte array using be16_to_cpup(). The pointers passed to this function are calculated as buf and buf + 3. Since the difference between the two pointers is an odd number of bytes, at least one of them is guaranteed to be at an unaligned offset. This will trigger an alignment fault on strict-alignment architectures such as ARMv5 or SPARC, resulting in a kernel panic. Fix the problem by using get_unaligned_be16() instead of be16_to_cpup(), and put_unaligned_be16() instead of cpu_to_be16().