CVE-2026-64503 PUBLISHED

iio: accel: kxsd9: fix runtime PM imbalance on write_raw() error

Assigner: Linux
Reserved: 19.07.2026 Published: 25.07.2026 Updated: 25.07.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to a93fd69c1ab0854ac4f5b8439c26dfadb25dfd20 (excl.)
  • affected from 9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to eeece4a85ece6f3837c75ef26a9b2bf5a1d0fcfc (excl.)
  • affected from 9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to 191fcfeb729ededd8dd2a999c6bf351ddfa0cec7 (excl.)
  • affected from 9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to 36154171385a8a2444a4b3c6eaa0c5294cb02478 (excl.)
  • affected from 9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to 223703d6e8bed50b6a0b47e160877909518d94b9 (excl.)
  • affected from 9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to 6293211d142605bec435229ef0aa3668b8964164 (excl.)
  • affected from 9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to 13a91e8631cfeb68e5b7fd6687f194f5a86e83fe (excl.)
  • affected from 9a9a369d6178dd4e263c49085ce1b37e1e8f63a0 to 44a5fd874bb6873bdaec59f722c1d57832fbc9df (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.9 is affected
  • unaffected from 0 to 4.9 (excl.)
  • unaffected from 5.10.261 to 5.10.* (incl.)
  • unaffected from 5.15.212 to 5.15.* (incl.)
  • unaffected from 6.1.178 to 6.1.* (incl.)
  • unaffected from 6.6.145 to 6.6.* (incl.)
  • unaffected from 6.12.96 to 6.12.* (incl.)
  • unaffected from 6.18.39 to 6.18.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc3 to * (incl.)

References