Bug 2507056 (CVE-2026-64497) - CVE-2026-64497 kernel: iio: chemical: scd30: Cleanup initializations and fix sign-extension bug
Summary: CVE-2026-64497 kernel: iio: chemical: scd30: Cleanup initializations and fix ...
Keywords:
Status: NEW
Alias: CVE-2026-64497
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-25 10:02 UTC by OSIDB Bzimport
Modified: 2026-07-29 18:37 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-25 10:02:43 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-07-29 18:34:12 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026072551-CVE-2026-64497-00c3@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.