Description
In the Linux kernel, the following vulnerability has been resolved:

iio: imu: st_lsm6dsx: fix stack leak in tagged FIFO buffer

The tagged FIFO path declares iio_buff on the stack with __aligned(8)
but no initializer, but there is a hole in the structure, which will
then leak to userspace as ST_LSM6DSX_SAMPLE_SIZE bytes (6) will be
copied, but the space between that and the timestamp are not
initialized.

Commit c14edb4d0bdc ("iio:imu:st_lsm6dsx Fix alignment and data leak
issues") moved the untagged FIFO path to a kzalloc'd buffer in hw->scan,
but for the tagged path it only added the alignment qualifier and not
the initializer :(

Fix this by just zero-initializing the structure on the stack.
Published: 2026-07-19
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw arises from a stack‑allocated iio_buff structure that is declared without initialization, allowing a local user to read uninitialized memory through the tagged FIFO path. Up to 6 bytes plus surrounding padding that precede the timestamp are leaked when the buffer is copied to userspace, exposing kernel memory contents. This weakness is represented by CWE‑908 and results in information disclosure; it does not provide privilege escalation or code execution capabilities.

Affected Systems

Any Linux kernel build that ships a version of the st_lsm6dsx IIO driver before the commit that zero‑initializes the buffer is affected. The issue existed in both stable and development kernels up through the date of the patch. Kernel images that include commit c14edb4d0bdc or its equivalent fix are considered safe.

Risk and Exploitability

The EPSS metric is reported as <1 %, and the vulnerability is not listed in the CISA KEV catalog, indicating a very low probability of exploitation. Based on the description, the likely attack vector is local, requiring access to the IMU device interface (e.g., /dev/iio:deviceX), which is normally restricted to privileged users. Consequently, the immediate risk to typical unprivileged users is minimal though a local information disclosure is still possible in environments that expose the IMU to untrusted processes.

Generated by OpenCVE AI on August 4, 2026 at 06:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes commit c14edb4d0bdc or later, which zero‑initializes the structure.
  • Apply the referenced kernel patch directly if your distribution does not yet ship the update; rebuild the kernel with the corrected code.
  • If an immediate kernel upgrade is not possible, disable the st_lsm6dsx driver or prevent the device from being exposed to untrusted users.

Generated by OpenCVE AI on August 4, 2026 at 06:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Sun, 26 Jul 2026 08:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-788

Wed, 22 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
CWE-788

Wed, 22 Jul 2026 12:15:00 +0000


Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: iio: imu: st_lsm6dsx: fix stack leak in tagged FIFO buffer The tagged FIFO path declares iio_buff on the stack with __aligned(8) but no initializer, but there is a hole in the structure, which will then leak to userspace as ST_LSM6DSX_SAMPLE_SIZE bytes (6) will be copied, but the space between that and the timestamp are not initialized. Commit c14edb4d0bdc ("iio:imu:st_lsm6dsx Fix alignment and data leak issues") moved the untagged FIFO path to a kzalloc'd buffer in hw->scan, but for the tagged path it only added the alignment qualifier and not the initializer :( Fix this by just zero-initializing the structure on the stack.
Title iio: imu: st_lsm6dsx: fix stack leak in tagged FIFO buffer
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-19T14:55:54.999Z

Reserved: 2026-07-19T07:54:57.024Z

Link: CVE-2026-63967

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity :

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

Links: CVE-2026-63967 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T06:45:03Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource