Skip to contentSkip to conversation

CVE-2026-63933: iio: gyro: adis16260: fix division by zero in write_raw

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 19

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: adis16260: fix division by zero in write_raw

Add a validation check for the sampling frequency value before using it as a divisor. A user writing zero to the sampling_frequency sysfs attribute triggers a division by zero in the kernel.

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

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

	Issue introduced in 2.6.35 with commit 089a41985c6c7e69c8fe043c0dd397da628254f5 and fixed in 5.10.259 with commit d2b83995759cfe5d06567bbcb600fe16d4048da3
	Issue introduced in 2.6.35 with commit 089a41985c6c7e69c8fe043c0dd397da628254f5 and fixed in 5.15.210 with commit 19eb8565c4500f9af17ec65eaf952365e2893351
	Issue introduced in 2.6.35 with commit 089a41985c6c7e69c8fe043c0dd397da628254f5 and fixed in 6.1.176 with commit 59f80b945f2ca645064074d8507785c26ea16d2d
	Issue introduced in 2.6.35 with commit 089a41985c6c7e69c8fe043c0dd397da628254f5 and fixed in 6.6.143 with commit 86298fb6829cab983910810959f85d4b4fd0f5c1
	Issue introduced in 2.6.35 with commit 089a41985c6c7e69c8fe043c0dd397da628254f5 and fixed in 6.12.93 with commit aa8a5e118e97d2cfd0da5ea4f8f0f488efdea4b0
	Issue introduced in 2.6.35 with commit 089a41985c6c7e69c8fe043c0dd397da628254f5 and fixed in 6.18.35 with commit aaf9d640e9ae1172d0a9c659ecb245a50a10850a
	Issue introduced in 2.6.35 with commit 089a41985c6c7e69c8fe043c0dd397da628254f5 and fixed in 7.0.12 with commit 5a42e39606b9bd6b40ed02bdfd04fe179d6173f4
	Issue introduced in 2.6.35 with commit 089a41985c6c7e69c8fe043c0dd397da628254f5 and fixed in 7.1 with commit 761e8b489e6cf166c574034b70637f8a7eadd0ee

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

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/adis16260.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/d2b83995759cfe5d06567bbcb600fe16d4048da3
	https://git.kernel.org/stable/c/19eb8565c4500f9af17ec65eaf952365e2893351
	https://git.kernel.org/stable/c/59f80b945f2ca645064074d8507785c26ea16d2d
	https://git.kernel.org/stable/c/86298fb6829cab983910810959f85d4b4fd0f5c1
	https://git.kernel.org/stable/c/aa8a5e118e97d2cfd0da5ea4f8f0f488efdea4b0
	https://git.kernel.org/stable/c/aaf9d640e9ae1172d0a9c659ecb245a50a10850a
	https://git.kernel.org/stable/c/5a42e39606b9bd6b40ed02bdfd04fe179d6173f4
	https://git.kernel.org/stable/c/761e8b489e6cf166c574034b70637f8a7eadd0ee