CVE-2026-80695 PUBLISHED

hwmon: (sht3x) Fix unaligned accesses

Assigner: Linux
Reserved: 26.08.2026 Published: 28.08.2026 Updated: 28.08.2026

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().

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 7c84f7f80d6fcea36246b793d06c3555ca53ddcd to 81529add4a2e3cca9240e0e2342973d62f88f02e (excl.)
  • affected from 7c84f7f80d6fcea36246b793d06c3555ca53ddcd to c498adfd4c3e85306ccdc19b76e639bfc215f0e7 (excl.)
  • affected from 7c84f7f80d6fcea36246b793d06c3555ca53ddcd to 1fb41650bc3e14d2a5ddb4bb25e96811e5afe881 (excl.)
  • affected from 7c84f7f80d6fcea36246b793d06c3555ca53ddcd to f46d5ab43a572b84773015a76966f5da56fc1748 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.8 is affected
  • unaffected from 0 to 4.8 (excl.)
  • unaffected from 6.12.103 to 6.12.* (incl.)
  • unaffected from 6.18.44 to 6.18.* (incl.)
  • unaffected from 7.1.8 to 7.1.* (incl.)
  • unaffected from 7.2 to * (incl.)

References