CVE-2026-64497 PUBLISHED

iio: chemical: scd30: Cleanup initializations and fix sign-extension bug

Assigner: Linux
Reserved: 19.07.2026 Published: 25.07.2026 Updated: 25.07.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to 0ccff849bde90973e6c13a666f6ceab5c55b30d4 (excl.)
  • affected from 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to 1821bcacd8ac5b214c53be16cbb8172bf193f0b6 (excl.)
  • affected from 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to 40bb0fdb37f441c9c9f52bf58bbd8a0ca3cc9598 (excl.)
  • affected from 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to b131f0011dfef72350f4e3f11df94dc3e6b46065 (excl.)
  • affected from 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to 8d4a46e971cf846bda98b20d4cabfa21c1276e5f (excl.)
  • affected from 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to 82accdd57404399eddf3d56fd9beda7c61307388 (excl.)
  • affected from 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to d49ff54b2784aa56a7c97982de713604de89d23a (excl.)
  • affected from 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to 60d877910a43c305b5165131b258a17b1d772d57 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.9 is affected
  • unaffected from 0 to 5.9 (excl.)
  • unaffected from 5.10.261 to 5.10.* (incl.)
  • unaffected from 5.15.212 to 5.15.* (incl.)
  • unaffected from 6.1.178 to 6.1.* (incl.)
  • unaffected from 6.6.145 to 6.6.* (incl.)
  • unaffected from 6.12.96 to 6.12.* (incl.)
  • unaffected from 6.18.39 to 6.18.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc1 to * (incl.)

References