{"id":"CVE-2026-64497","summary":"iio: chemical: scd30: Cleanup initializations and fix sign-extension bug","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: chemical: scd30: Cleanup initializations and fix sign-extension bug\n\nInclude linux/bitfield.h for FIELD_GET().\n\nCreate new macros for bit manipulation in combination with manual bit\nmanipulation being replaced with FIELD_GET().\n\nThe current variable declaration and initializations are barely readable\nand use comma separations across multiple lines. Refactor the\ninitializations so that mantissa and exp have separate declarations and\nsign gets initialized later.\n\nIn addition (and due to the nature of the cleanup), fix a sign-extension\nbug where, float32 would get bitwise anded with ~BIT(31)\n(which is 0xFFFFFFFF7FFFFFFF) which corrupted the exponent.","modified":"2026-07-27T04:03:22.731194946Z","published":"2026-07-25T08:51:53.917Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64497.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0ccff849bde90973e6c13a666f6ceab5c55b30d4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1821bcacd8ac5b214c53be16cbb8172bf193f0b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40bb0fdb37f441c9c9f52bf58bbd8a0ca3cc9598"},{"type":"WEB","url":"https://git.kernel.org/stable/c/60d877910a43c305b5165131b258a17b1d772d57"},{"type":"WEB","url":"https://git.kernel.org/stable/c/82accdd57404399eddf3d56fd9beda7c61307388"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8d4a46e971cf846bda98b20d4cabfa21c1276e5f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b131f0011dfef72350f4e3f11df94dc3e6b46065"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d49ff54b2784aa56a7c97982de713604de89d23a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64497.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64497"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}