CVE-2026-64497
iio: chemical: scd30: Cleanup initializations and fix sign-extension bug
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.
INFO
Published Date :
July 25, 2026, 10:17 a.m.
Last Modified :
July 25, 2026, 10:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-64497
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Include linux/bitfield.h for FIELD_GET().
- Use FIELD_GET() for bit manipulation.
- Refactor variable declarations and initializations.
- Fix sign-extension bug affecting the exponent.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64497.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64497 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64497
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64497 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64497 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 25, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '64b3d8b1b0f5c16c19045785e4da8391ae35ec99', 'lessThan': '0ccff849bde90973e6c13a666f6ceab5c55b30d4', 'versionType': 'git'}, {'status': 'affected', 'version': '64b3d8b1b0f5c16c19045785e4da8391ae35ec99', 'lessThan': '1821bcacd8ac5b214c53be16cbb8172bf193f0b6', 'versionType': 'git'}, {'status': 'affected', 'version': '64b3d8b1b0f5c16c19045785e4da8391ae35ec99', 'lessThan': '40bb0fdb37f441c9c9f52bf58bbd8a0ca3cc9598', 'versionType': 'git'}, {'status': 'affected', 'version': '64b3d8b1b0f5c16c19045785e4da8391ae35ec99', 'lessThan': 'b131f0011dfef72350f4e3f11df94dc3e6b46065', 'versionType': 'git'}, {'status': 'affected', 'version': '64b3d8b1b0f5c16c19045785e4da8391ae35ec99', 'lessThan': '8d4a46e971cf846bda98b20d4cabfa21c1276e5f', 'versionType': 'git'}, {'status': 'affected', 'version': '64b3d8b1b0f5c16c19045785e4da8391ae35ec99', 'lessThan': '82accdd57404399eddf3d56fd9beda7c61307388', 'versionType': 'git'}, {'status': 'affected', 'version': '64b3d8b1b0f5c16c19045785e4da8391ae35ec99', 'lessThan': 'd49ff54b2784aa56a7c97982de713604de89d23a', 'versionType': 'git'}, {'status': 'affected', 'version': '64b3d8b1b0f5c16c19045785e4da8391ae35ec99', 'lessThan': '60d877910a43c305b5165131b258a17b1d772d57', 'versionType': 'git'}], 'programFiles': ['drivers/iio/chemical/scd30_core.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.9'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.9', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/iio/chemical/scd30_core.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/0ccff849bde90973e6c13a666f6ceab5c55b30d4 Added Reference https://git.kernel.org/stable/c/1821bcacd8ac5b214c53be16cbb8172bf193f0b6 Added Reference https://git.kernel.org/stable/c/40bb0fdb37f441c9c9f52bf58bbd8a0ca3cc9598 Added Reference https://git.kernel.org/stable/c/60d877910a43c305b5165131b258a17b1d772d57 Added Reference https://git.kernel.org/stable/c/82accdd57404399eddf3d56fd9beda7c61307388 Added Reference https://git.kernel.org/stable/c/8d4a46e971cf846bda98b20d4cabfa21c1276e5f Added Reference https://git.kernel.org/stable/c/b131f0011dfef72350f4e3f11df94dc3e6b46065 Added Reference https://git.kernel.org/stable/c/d49ff54b2784aa56a7c97982de713604de89d23a