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.
Published: 2026-07-25
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The KXSD9 accelerometer driver in the Linux kernel acquires a runtime power‑management reference with pm_runtime_get_sync() when executing write_raw(). If the write fails with a scale that has a non‑zero integer part, the function immediately returns –EINVAL, bypassing the matching pm_runtime_put_autosuspend(). This results in a leaked usage‑counter reference that prevents the device from autosuspending. The unintended reference accumulation leads to persistent wake state and increased power consumption, potentially draining device batteries. The issue represents a resource‑management flaw (CWE-399) and also reflects a failure to release a resource properly (CWE-772), and does not provide escalation, data disclosure, or remote exploitation capability.

Affected Systems

All Linux kernel releases that include the kxsd9 IIO accelerometer driver are affected. No specific version range is identified in the CNA data, so any kernel prior to the commit that applies the fix is potentially vulnerable. Devices running embedded or mobile Linux distributions that rely on auto‑suspend for power savings are of particular interest.

Risk and Exploitability

The EPSS score is indicated as less than 1 %, signifying a very low likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog and lacks known remote exploitation mechanisms. The likely attack vector is local, involving user‑space applications that invoke the write_raw() interface of the kxsd9 driver. The impact is confined to increased power draw and failure to autosuspend, without privilege escalation or confidentiality compromise.

Generated by OpenCVE AI on August 2, 2026 at 12:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the kxsd9 write_raw() PM reference fix.
  • Avoid or minimize calls to write_raw() on the kxsd9 driver when a non‑zero integer scale is required, or ensure such calls are accompanied by manual pm_runtime_put_autosuspend() if the API is accessed directly.
  • Monitor the power state of the kxsd9 device to confirm that autosuspend behavior resumes after the update.
  • Check vendor advisories for newer kernel releases or patches that address related power‑management bugs.

Generated by OpenCVE AI on August 2, 2026 at 12:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Thu, 30 Jul 2026 00:15:00 +0000


Mon, 27 Jul 2026 05:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
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.
Title iio: accel: kxsd9: fix runtime PM imbalance on write_raw() error
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T08:51:58.186Z

Reserved: 2026-07-19T15:36:31.793Z

Link: CVE-2026-64503

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-07-25T10:17:36.317

Modified: 2026-07-25T10:17:36.317

Link: CVE-2026-64503

cve-icon Redhat

Severity :

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64503 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T12:30:05Z

Weaknesses
  • CWE-399
  • CWE-772

    Missing Release of Resource after Effective Lifetime