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

CVE-2026-64497
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 7 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 < 0ccff849bde90973e6c13a666f6ceab5c55b30d4 ; affected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 < 1821bcacd8ac5b214c53be16cbb8172bf193f0b6 ; affected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 < 40bb0fdb37f441c9c9f52bf58bbd8a0ca3cc9598 ; affected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 < b131f0011dfef72350f4e3f11df94dc3e6b46065 ; affected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 < 8d4a46e971cf846bda98b20d4cabfa21c1276e5f ; affected 64b3d8b1b0f5c16c19045785e4da8391ae35ec99 < 82accdd57404399eddf3d56fd9beda7c61307388
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD