CVE-2026-64497

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

State
Published
Severity
Not scored
Published
Jul 25, 2026
Updated
Aug 17, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before 0ccff849bde90973e6c13a666f6ceab5c55b30d4Affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before 1821bcacd8ac5b214c53be16cbb8172bf193f0b6Affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before 40bb0fdb37f441c9c9f52bf58bbd8a0ca3cc9598Affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before b131f0011dfef72350f4e3f11df94dc3e6b46065Affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before 8d4a46e971cf846bda98b20d4cabfa21c1276e5fAffected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before 82accdd57404399eddf3d56fd9beda7c61307388Affected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before d49ff54b2784aa56a7c97982de713604de89d23aAffected
  • 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 to before 60d877910a43c305b5165131b258a17b1d772d57Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.96 through 6.12.*Not affected
  • 6.18.39 through 6.18.*Not affected
  • 7.1.4 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.