CVE-2026-98659: iio: pressure: rohm-bm1390: Return error when read fails
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
iio: pressure: rohm-bm1390: Return error when read fails
The data reading function ignores the cached error value, and unconditionally returns 0. Return cached 'ret' -value after stopping the measurement so user knows if read failed and data is garbage.
The Linux kernel CVE team has assigned CVE-2026-98659 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit 534674463a5978c6eda8185b31f5b903a9543f46 and fixed in 6.18.56 with commit 493e743ea1b5930bfa0c6c25b46add6c5d5323db Issue introduced in 6.14 with commit 534674463a5978c6eda8185b31f5b903a9543f46 and fixed in 7.2.10 with commit 6280d15f08603230855cf667d1cf67e7e94f693c Issue introduced in 6.14 with commit 534674463a5978c6eda8185b31f5b903a9543f46 and fixed in 7.3-rc6 with commit b0e951ffc5a28141a106562997ca136ec6a0e1a3
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-98659
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/iio/pressure/rohm-bm1390.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/493e743ea1b5930bfa0c6c25b46add6c5d5323db https://git.kernel.org/stable/c/6280d15f08603230855cf667d1cf67e7e94f693c https://git.kernel.org/stable/c/b0e951ffc5a28141a106562997ca136ec6a0e1a3