Skip to contentSkip to conversation

CVE-2026-89937: iio: chemical: sgp30: Handle IAQ thread creation failure

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 16

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

iio: chemical: sgp30: Handle IAQ thread creation failure

kthread_run() can fail and return an error pointer, but sgp_probe() stores it and returns success, so the device is registered without its IAQ thread and sgp_remove() later passes the error pointer to kthread_stop(). Return the error from probe instead.

The Linux kernel CVE team has assigned CVE-2026-89937 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.1 with commit ce514124161ac2ceb13d10b6c40cbf05c8f0cc91 and fixed in 5.10.270 with commit bffd0655a35402b2df8857699f8248e5a534d214
	Issue introduced in 5.1 with commit ce514124161ac2ceb13d10b6c40cbf05c8f0cc91 and fixed in 5.15.221 with commit bae0316c087b1ef625844003fe37e803a13819f3
	Issue introduced in 5.1 with commit ce514124161ac2ceb13d10b6c40cbf05c8f0cc91 and fixed in 6.1.188 with commit 3c6b52b258e65a584e3f5122ed7f406bc89a946e
	Issue introduced in 5.1 with commit ce514124161ac2ceb13d10b6c40cbf05c8f0cc91 and fixed in 6.6.157 with commit 3462c13bb0f50dec09235adb7fd04b6f617cf0cc
	Issue introduced in 5.1 with commit ce514124161ac2ceb13d10b6c40cbf05c8f0cc91 and fixed in 6.12.110 with commit a5aaea17a1834d7254ff597e4d5e1bc60dfc4800
	Issue introduced in 5.1 with commit ce514124161ac2ceb13d10b6c40cbf05c8f0cc91 and fixed in 6.18.51 with commit 2d386efb4c37a50739db19c7c8e49564fd53a570
	Issue introduced in 5.1 with commit ce514124161ac2ceb13d10b6c40cbf05c8f0cc91 and fixed in 7.2.5 with commit 44d52c8b1c6da7ac1b0dffeeff6de68370746775
	Issue introduced in 5.1 with commit ce514124161ac2ceb13d10b6c40cbf05c8f0cc91 and fixed in 7.3-rc1 with commit 1135d6875d2dbda3f6ec718f3421a6ce4378bd63

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-89937

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/chemical/sgp30.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/bffd0655a35402b2df8857699f8248e5a534d214
	https://git.kernel.org/stable/c/bae0316c087b1ef625844003fe37e803a13819f3
	https://git.kernel.org/stable/c/3c6b52b258e65a584e3f5122ed7f406bc89a946e
	https://git.kernel.org/stable/c/3462c13bb0f50dec09235adb7fd04b6f617cf0cc
	https://git.kernel.org/stable/c/a5aaea17a1834d7254ff597e4d5e1bc60dfc4800
	https://git.kernel.org/stable/c/2d386efb4c37a50739db19c7c8e49564fd53a570
	https://git.kernel.org/stable/c/44d52c8b1c6da7ac1b0dffeeff6de68370746775
	https://git.kernel.org/stable/c/1135d6875d2dbda3f6ec718f3421a6ce4378bd63