Skip to contentSkip to conversation

CVE-2026-31763: iio: gyro: mpu3050: Fix incorrect free_irq() variable

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 1

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: gyro: mpu3050: Fix incorrect free_irq() variable

The handler for the IRQ part of this driver is mpu3050->trig but, in the teardown free_irq() is called with handler mpu3050.

Use correct IRQ handler when calling free_irq().

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

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

	Issue introduced in 4.10 with commit 3904b28efb2c780c23dcddfb87e07fe0230661e5 and fixed in 5.10.253 with commit 11f7cd960f05b3f06747abfdc4e56dd0d8b8a157
	Issue introduced in 4.10 with commit 3904b28efb2c780c23dcddfb87e07fe0230661e5 and fixed in 5.15.203 with commit fdbe4b5268cd41f9953d25a67d139e47cac34519
	Issue introduced in 4.10 with commit 3904b28efb2c780c23dcddfb87e07fe0230661e5 and fixed in 6.1.168 with commit 8001b42fbd5e510dced3a25665019982c99bc708
	Issue introduced in 4.10 with commit 3904b28efb2c780c23dcddfb87e07fe0230661e5 and fixed in 6.6.134 with commit a09171d3f23e13bccd3dc34863186707c6301071
	Issue introduced in 4.10 with commit 3904b28efb2c780c23dcddfb87e07fe0230661e5 and fixed in 6.12.81 with commit 8631e755fc07b651b5d158cc3656ef76cc874068
	Issue introduced in 4.10 with commit 3904b28efb2c780c23dcddfb87e07fe0230661e5 and fixed in 6.18.22 with commit ac1233397f4cfe55d71f6aa459b42c256c951531
	Issue introduced in 4.10 with commit 3904b28efb2c780c23dcddfb87e07fe0230661e5 and fixed in 6.19.12 with commit 2821f7b62c5b3633c4923c7e4f742380897cd511
	Issue introduced in 4.10 with commit 3904b28efb2c780c23dcddfb87e07fe0230661e5 and fixed in 7.0 with commit edb11a1aef4011a4b7b22cc3c3396c6fe371f4a6

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

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/gyro/mpu3050-core.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/11f7cd960f05b3f06747abfdc4e56dd0d8b8a157
	https://git.kernel.org/stable/c/fdbe4b5268cd41f9953d25a67d139e47cac34519
	https://git.kernel.org/stable/c/8001b42fbd5e510dced3a25665019982c99bc708
	https://git.kernel.org/stable/c/a09171d3f23e13bccd3dc34863186707c6301071
	https://git.kernel.org/stable/c/8631e755fc07b651b5d158cc3656ef76cc874068
	https://git.kernel.org/stable/c/ac1233397f4cfe55d71f6aa459b42c256c951531
	https://git.kernel.org/stable/c/2821f7b62c5b3633c4923c7e4f742380897cd511
	https://git.kernel.org/stable/c/edb11a1aef4011a4b7b22cc3c3396c6fe371f4a6