iio: chemical: scd30: Cleanup initializations and fix sign-extension bug
Summary
| CVE | CVE-2026-64497 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-25 10:17:35 UTC |
| Updated | 2026-08-17 05:17:55 UTC |
| 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. |
Risk And Classification
EPSS: 0.001770000 probability, percentile 0.075570000 (date 2026-08-17)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 0ccff849bde90973e6c13a666f6ceab5c55b30d4 git | Not specified |
| CNA | Linux | Linux | affected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 1821bcacd8ac5b214c53be16cbb8172bf193f0b6 git | Not specified |
| CNA | Linux | Linux | affected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 40bb0fdb37f441c9c9f52bf58bbd8a0ca3cc9598 git | Not specified |
| CNA | Linux | Linux | affected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 b131f0011dfef72350f4e3f11df94dc3e6b46065 git | Not specified |
| CNA | Linux | Linux | affected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 8d4a46e971cf846bda98b20d4cabfa21c1276e5f git | Not specified |
| CNA | Linux | Linux | affected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 82accdd57404399eddf3d56fd9beda7c61307388 git | Not specified |
| CNA | Linux | Linux | affected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 d49ff54b2784aa56a7c97982de713604de89d23a git | Not specified |
| CNA | Linux | Linux | affected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 60d877910a43c305b5165131b258a17b1d772d57 git | Not specified |
| CNA | Linux | Linux | affected 5.9 | Not specified |
| CNA | Linux | Linux | unaffected 5.9 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.261 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.212 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.178 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.145 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.96 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.39 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1.4 7.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/8d4a46e971cf846bda98b20d4cabfa21c1276e5f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/82accdd57404399eddf3d56fd9beda7c61307388 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/1821bcacd8ac5b214c53be16cbb8172bf193f0b6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/d49ff54b2784aa56a7c97982de713604de89d23a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/60d877910a43c305b5165131b258a17b1d772d57 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/40bb0fdb37f441c9c9f52bf58bbd8a0ca3cc9598 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0ccff849bde90973e6c13a666f6ceab5c55b30d4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b131f0011dfef72350f4e3f11df94dc3e6b46065 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.