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

Summary

CVECVE-2026-64497
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-25 10:17:35 UTC
Updated2026-08-17 05:17:55 UTC
DescriptionIn 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

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report