Skip to contentSkip to conversation

CVE-2026-45883: iio: sca3000: Fix a resource leak in sca3000_probe()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 27

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: sca3000: Fix a resource leak in sca3000_probe()

spi->irq from request_threaded_irq() not released when iio_device_register() fails. Add an return value check and jump to a common error handler when iio_device_register() fails.

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

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

	Issue introduced in 4.10 with commit 9a4936dc89a34e002946a6c08b330918ec6afab8 and fixed in 5.10.252 with commit 55e13abf22c27a3b0ab5cf941dd07a2d9786736c
	Issue introduced in 4.10 with commit 9a4936dc89a34e002946a6c08b330918ec6afab8 and fixed in 5.15.202 with commit 40c860ece22542178cddcf01b08644bcdbc597b3
	Issue introduced in 4.10 with commit 9a4936dc89a34e002946a6c08b330918ec6afab8 and fixed in 6.1.165 with commit 597d749c5180f3e351837e851a6131b140324e9f
	Issue introduced in 4.10 with commit 9a4936dc89a34e002946a6c08b330918ec6afab8 and fixed in 6.6.128 with commit e8e960c3d23fdb4882d70d34ce762368da0f1427
	Issue introduced in 4.10 with commit 9a4936dc89a34e002946a6c08b330918ec6afab8 and fixed in 6.12.75 with commit 103ac8e3a7f345a0966ef582b8a874ac31a92c7c
	Issue introduced in 4.10 with commit 9a4936dc89a34e002946a6c08b330918ec6afab8 and fixed in 6.18.14 with commit 517d9f2b963089b3d64c23accf7920d77f5a30c8
	Issue introduced in 4.10 with commit 9a4936dc89a34e002946a6c08b330918ec6afab8 and fixed in 6.19.4 with commit 84d3c396d8ae73c24dececfcc4e544ea09311e32
	Issue introduced in 4.10 with commit 9a4936dc89a34e002946a6c08b330918ec6afab8 and fixed in 7.0 with commit 62b44ebc1f2c71db3ca2d4737c52e433f6f03038

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

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/accel/sca3000.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/55e13abf22c27a3b0ab5cf941dd07a2d9786736c
	https://git.kernel.org/stable/c/40c860ece22542178cddcf01b08644bcdbc597b3
	https://git.kernel.org/stable/c/597d749c5180f3e351837e851a6131b140324e9f
	https://git.kernel.org/stable/c/e8e960c3d23fdb4882d70d34ce762368da0f1427
	https://git.kernel.org/stable/c/103ac8e3a7f345a0966ef582b8a874ac31a92c7c
	https://git.kernel.org/stable/c/517d9f2b963089b3d64c23accf7920d77f5a30c8
	https://git.kernel.org/stable/c/84d3c396d8ae73c24dececfcc4e544ea09311e32
	https://git.kernel.org/stable/c/62b44ebc1f2c71db3ca2d4737c52e433f6f03038