CVEvulnerability
CVE-2026-80695
- Status
- Received
- Published
- 2026-08-28
- Last modified
- 2026-10-21
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
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().
References
- https://git.kernel.org/stable/c/1fb41650bc3e14d2a5ddb4bb25e96811e5afe881 git.kernel.org
- https://git.kernel.org/stable/c/81529add4a2e3cca9240e0e2342973d62f88f02e git.kernel.org
- https://git.kernel.org/stable/c/c41fa44be44e452e7aec2081195488d685026761 git.kernel.org
- https://git.kernel.org/stable/c/c498adfd4c3e85306ccdc19b76e639bfc215f0e7 git.kernel.org
- https://git.kernel.org/stable/c/f46d5ab43a572b84773015a76966f5da56fc1748 git.kernel.org