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

iio: chemical: sps30_i2c: fix buffer size in sps30_i2c_read_meas()

sizeof(num) evaluates to sizeof(size_t) (8 bytes on 64-bit) instead
of the intended __be32 element size (4 bytes). Use sizeof(*meas) to
correctly match the buffer element type.
Published: 2026-05-13
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel driver for the SPS30 chemical sensor incorrectly calculates the size of the measurement buffer in sps30_i2c_read_meas(). It uses sizeof(num), which gives the size of a 64‑bit integer (8 bytes) instead of the intended 32‑bit sensor data type. This mismatch allows the buffer to be overrun, corrupting kernel memory and causing a system crash.

Affected Systems

The vulnerability exists in all Linux kernel releases that include the older iio:chemical: sps30_i2c driver code before the fixed commit. No specific version range is listed, so any kernel build containing the unpatched driver is at risk.

Risk and Exploitability

Based on the description, it is inferred that exploitation requires an attacker to have access to the I2C bus that reads from the sensor, such as a local or physically proximate attacker who can send malformed data to the driver. The CVSS score of 7.8 indicates a high severity, while the EPSS score of < 1% suggests a low probability of exploitation. Although it is not listed in the CISA KEV catalog, the presence of a buffer overflow that corrupts kernel memory remains a serious risk, and the limited attack surface means kernel integrity could still be compromised if the overflow is triggered.

Generated by OpenCVE AI on May 20, 2026 at 19:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the fixed sps30_i2c driver code.
  • If you use a custom or hot‑patched kernel, recompile it from the official source after applying the commit that corrects the buffer size calculation.
  • If an update is not immediately possible, unload or disable the sps30_i2c driver (e.g., modprobe -r sps30_i2c) and disconnect the sensor until the fix is installed.
  • Monitor kernel logs for kernel PANIC or SIGSEGV messages that indicate the buffer overrun was triggered.

Generated by OpenCVE AI on May 20, 2026 at 19:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 20 May 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-120

Wed, 20 May 2026 16:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 14 May 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-131
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 13 May 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-120

Wed, 13 May 2026 15:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: iio: chemical: sps30_i2c: fix buffer size in sps30_i2c_read_meas() sizeof(num) evaluates to sizeof(size_t) (8 bytes on 64-bit) instead of the intended __be32 element size (4 bytes). Use sizeof(*meas) to correctly match the buffer element type.
Title iio: chemical: sps30_i2c: fix buffer size in sps30_i2c_read_meas()
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-05-20T16:08:08.173Z

Reserved: 2026-05-01T14:12:56.011Z

Link: CVE-2026-43476

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-13T16:16:50.680

Modified: 2026-05-22T16:41:27.813

Link: CVE-2026-43476

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-05-13T00:00:00Z

Links: CVE-2026-43476 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-20T19:30:37Z

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size