CVE-2026-98679: iio: accel: kxcjk-1013: reject duplicate event disable
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
iio: accel: kxcjk-1013: reject duplicate event disable
The IIO core does not filter duplicate writes to the event enable attribute. kxcjk1013_write_event_config() already ignores repeated enable requests, but a repeated disable request still calls kxcjk1013_set_power_state(data, false), dropping a runtime PM reference that was not acquired for this request. This can underflow the runtime PM usage count and trigger a "Runtime PM usage count underflow" warning.
Return early when the requested state already matches ev_enable_state.
The Linux kernel CVE team has assigned CVE-2026-98679 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.18 with commit b4b491c0832ef90a7a5070e5975bc8427f2049ca and fixed in 6.12.113 with commit ad690c0c1b9131725619e352cb7c970488cbf436 Issue introduced in 3.18 with commit b4b491c0832ef90a7a5070e5975bc8427f2049ca and fixed in 6.18.56 with commit 3365209e758c845a197211645731f0e393a86012 Issue introduced in 3.18 with commit b4b491c0832ef90a7a5070e5975bc8427f2049ca and fixed in 7.2.10 with commit aa94a37b5a3e560c277dac6f9e5d0d75549a6583 Issue introduced in 3.18 with commit b4b491c0832ef90a7a5070e5975bc8427f2049ca and fixed in 7.3-rc6 with commit dd30c10ff60d2b30386c23bb7c61cc97f2385c97
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-98679
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/kxcjk-1013.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/ad690c0c1b9131725619e352cb7c970488cbf436 https://git.kernel.org/stable/c/3365209e758c845a197211645731f0e393a86012 https://git.kernel.org/stable/c/aa94a37b5a3e560c277dac6f9e5d0d75549a6583 https://git.kernel.org/stable/c/dd30c10ff60d2b30386c23bb7c61cc97f2385c97