Description
In the Linux kernel, the following vulnerability has been resolved: iio: accel: kxsd9: fix runtime PM imbalance on write_raw() error kxsd9_write_raw() takes a runtime PM reference with pm_runtime_get_sync() but returns -EINVAL directly when a scale with a non-zero integer part is requested, skipping the matching pm_runtime_put_autosuspend(). This leaks a runtime PM usage-counter reference on every such write, after which the device can no longer autosuspend. Set the error code and fall through to the existing put instead of returning early.
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
9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to < a93fd69c1ab0854ac4f5b8439c26dfadb25dfd20affected9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to < eeece4a85ece6f3837c75ef26a9b2bf5a1d0fcfcaffected9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to < 191fcfeb729ededd8dd2a999c6bf351ddfa0cec7affected9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to < 36154171385a8a2444a4b3c6eaa0c5294cb02478affected9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to < 223703d6e8bed50b6a0b47e160877909518d94b9affected9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to < 6293211d142605bec435229ef0aa3668b8964164affected9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to < 13a91e8631cfeb68e5b7fd6687f194f5a86e83feaffected9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to < 44a5fd874bb6873bdaec59f722c1d57832fbc9dfaffected
Linux Linux
Default version status: affected
4.9affected0 to < 4.9unaffected5.10.261 to ≤ 5.10.*unaffected5.15.212 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.96 to ≤ 6.12.*unaffected6.18.39 to ≤ 6.18.*unaffected7.1.4 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/a93fd69c1ab0854ac4f5b8439c26dfadb25dfd20 ↗
- https://git.kernel.org/stable/c/eeece4a85ece6f3837c75ef26a9b2bf5a1d0fcfc ↗
- https://git.kernel.org/stable/c/191fcfeb729ededd8dd2a999c6bf351ddfa0cec7 ↗
- https://git.kernel.org/stable/c/36154171385a8a2444a4b3c6eaa0c5294cb02478 ↗
- https://git.kernel.org/stable/c/223703d6e8bed50b6a0b47e160877909518d94b9 ↗
- https://git.kernel.org/stable/c/6293211d142605bec435229ef0aa3668b8964164 ↗
- https://git.kernel.org/stable/c/13a91e8631cfeb68e5b7fd6687f194f5a86e83fe ↗
- https://git.kernel.org/stable/c/44a5fd874bb6873bdaec59f722c1d57832fbc9df ↗