CVE-2026-98663: iio: imu: adis16480: fix unprotected debugfs reads
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
iio: imu: adis16480: fix unprotected debugfs reads
The firmware_revision and firmware_date file operations are open coded and never call debugfs_file_get(), which debugfs_create_file_unsafe() requires. debugfs_remove_recursive() therefore does not wait for a read in progress, and unbind frees the iio_dev underneath it.
Use debugfs_create_file() instead.
The Linux kernel CVE team has assigned CVE-2026-98663 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.16 with commit 9bf94f836e32ea168ec7448a523c11480317ad79 and fixed in 6.12.113 with commit b7e507c6da8875da93b4130c8185e82a9dfd565c Issue introduced in 4.16 with commit 9bf94f836e32ea168ec7448a523c11480317ad79 and fixed in 6.18.56 with commit ce308ce18dedc18e9eeff8473892975e6fdd7aef Issue introduced in 4.16 with commit 9bf94f836e32ea168ec7448a523c11480317ad79 and fixed in 7.2.10 with commit 396b83106f5e7d16467049f0caabd10533c01a0e Issue introduced in 4.16 with commit 9bf94f836e32ea168ec7448a523c11480317ad79 and fixed in 7.3-rc6 with commit e1dea54496f90a62318cf4eeaa1e9ef8316e92b6
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-98663
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/imu/adis16480.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/b7e507c6da8875da93b4130c8185e82a9dfd565c https://git.kernel.org/stable/c/ce308ce18dedc18e9eeff8473892975e6fdd7aef https://git.kernel.org/stable/c/396b83106f5e7d16467049f0caabd10533c01a0e https://git.kernel.org/stable/c/e1dea54496f90a62318cf4eeaa1e9ef8316e92b6