CVE-2026-64497

Source
https://cve.org/CVERecord?id=CVE-2026-64497
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64497.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64497
Downstream
Published
2026-07-25T08:51:53.917Z
Modified
2026-07-27T04:03:22.731194946Z
Summary
iio: chemical: scd30: Cleanup initializations and fix sign-extension bug
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64497.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
64b3d8b1b0f5c16c19045785e4da8391ae35ec99
Fixed
0ccff849bde90973e6c13a666f6ceab5c55b30d4
Fixed
1821bcacd8ac5b214c53be16cbb8172bf193f0b6
Fixed
40bb0fdb37f441c9c9f52bf58bbd8a0ca3cc9598
Fixed
b131f0011dfef72350f4e3f11df94dc3e6b46065
Fixed
8d4a46e971cf846bda98b20d4cabfa21c1276e5f
Fixed
82accdd57404399eddf3d56fd9beda7c61307388
Fixed
d49ff54b2784aa56a7c97982de713604de89d23a
Fixed
60d877910a43c305b5165131b258a17b1d772d57

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64497.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.9.0
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.96
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64497.json"