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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
b4b491c0832ef90a7a5070e5975bc8427f2049ca to < 137c35cff4d4d69f73cbfc0bf7870bf379a7a364affectedb4b491c0832ef90a7a5070e5975bc8427f2049ca to < ad690c0c1b9131725619e352cb7c970488cbf436affectedb4b491c0832ef90a7a5070e5975bc8427f2049ca to < 3365209e758c845a197211645731f0e393a86012affectedb4b491c0832ef90a7a5070e5975bc8427f2049ca to < aa94a37b5a3e560c277dac6f9e5d0d75549a6583affectedb4b491c0832ef90a7a5070e5975bc8427f2049ca to < dd30c10ff60d2b30386c23bb7c61cc97f2385c97affected
Linux Linux
Default version status: affected
3.18affected0 to < 3.18unaffected6.6.160 to ≤ 6.6.*unaffected6.12.113 to ≤ 6.12.*unaffected6.18.56 to ≤ 6.18.*unaffected7.2.10 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/137c35cff4d4d69f73cbfc0bf7870bf379a7a364 ↗
- 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 ↗