Skip to main content

Linux Kernel CVE-2026-64504

| EUVDEUVD-2026-48848 MEDIUM
Out-of-bounds Write (CWE-787)
2026-07-25 Linux GHSA-4j8x-6qx9-p4gc
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access to system with BMC150 accel driver
  2. Delivery
    Tamper I2C/SPI bus or install counterfeit sensor
  3. Exploit
    Report up to 127 FIFO frames on flush
  4. Execution
    Transfer 762 bytes into 192-byte stack buffer
  5. Persist
    Overwrite canary and return address
  6. Impact
    Kernel panic or control-flow corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a system that actually runs the Linux bmc150_accel IIO driver against a real BMC150-class accelerometer with its hardware FIFO in use, and is reached via the FIFO flush path (__bmc150_accel_fifo_flush), specifically the flush-all case where the caller sample budget is 0 and the device-reported count (FIFO_STATUS masked to 7 bits, 0..127) is not otherwise constrained. The concrete trigger is a device that reports more than BMC150_ACCEL_FIFO_LENGTH (32) frames - achievable by a malfunctioning, malicious or counterfeit accelerometer, or by an attacker tampering with the I2C/SPI bus between CPU and sensor. Limiting factors that reduce realistic risk: the vector is LOCAL (AV:L) and needs PR:L privilege to drive the driver; the specific vulnerable hardware/driver must be present and in FIFO mode; and it depends on attacker control over the physical sensor or bus, which is not a default or remote condition. A legitimate, well-formed device reports at most 32 frames and is unaffected.

Impact

This is a genuine memory-safety bug (CWE-787 stack out-of-bounds write) but a low-urgency one in real-world terms, and the signals are consistent rather than conflicting. The CVSS 3.1 vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (5.5, MEDIUM) correctly captures that this is a LOCAL vector requiring some privilege (PR:L) with availability-only impact - not a remotely reachable flaw. EPSS is low at 0.22% (13th percentile), there is no CISA KEV listing, and no public exploit was identified, so all three exploitation-probability signals agree this is not under active or imminent mass exploitation. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with routine patch cadence. The one nuance worth stating: the description shows the overflow 'clobbers the stack canary, saved registers and the return address,' which means the technical impact could in principle exceed the A:H-only rating (potential integrity/code-execution), yet the official vector scores only A:H - in practice the stack canary converts most triggers into a detected panic (DoS). Critically, the trigger is NOT normal network input: it requires a malfunctioning, malicious or counterfeit accelerometer, or an attacker physically tampering with the I2C/SPI bus, which sharply narrows realistic exploitation. Net: a real, confirmed bug worth patching on the normal cycle, not a high-priority fire drill.

Exploit ScenarioDerived

On a device using the BMC150 accelerometer, an attacker who can substitute a counterfeit/malicious sensor or tamper with the I2C/SPI bus makes the hardware FIFO_STATUS register report up to 127 frames; when the driver flushes the FIFO it transfers count*6 = up to 762 bytes into a 192-byte on-stack buffer, a stack overflow of up to 570 bytes that overwrites the canary, saved registers and return address. The most likely outcome is a kernel panic (denial of service), with the theoretical possibility of further control-flow corruption. No public exploit code was identified at time of analysis; the available references are vendor patches and advisories only, not a PoC.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 12, 2026

A stack-based out-of-bounds write in the Linux kernel's bmc150 accelerometer IIO driver causes a 192-byte on-stack sample buffer to overflow when the sensor reports more FIFO frames than the driver expects during a flush-all. The bound is only enforced when a caller supplies a sample budget, so a flush with a budget of 0 lets a device-reported count of up to 127 frames push up to 762 bytes through regmap into the undersized buffer, clobbering the stack canary, saved registers and the return address. Reaching it requires local privilege (PR:L) together with a real BMC150-class accelerometer whose FIFO is in use and that is malfunctioning, counterfeit or subject to I2C/SPI bus tampering, which is why the assessed vector is AC:H and the outcome is availability-only. No public exploit code identified at time of analysis; EPSS is 0.22% (13th percentile) and vuln.today rates the item as this_month.

RemediationAI

Vendor-released patch: upgrade to the fixed kernel for your branch - 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.96, 6.18.39 or 7.1.4 (mainline fix in 7.2-rc3); Ubuntu users should install the kernels from USN-8727-1 (https://ubuntu.com/security/notices/USN-8727-1) or USN-8726-1 (https://ubuntu.com/security/notices/USN-8726-1). Because the patch is a single upstream commit per branch, distributions that backport normally will pick it up in a routine kernel update, and vuln.today schedules it as this_month. Exposure is confined to systems that actually bind the bmc150-accel driver to a BMC150/BMC156/BMI055-class sensor with the hardware FIFO active - where no such sensor is present the module is not loaded and the overflow path is unreachable, so keeping the driver unbound on machines that do not need it removes the attack surface at the cost of losing that accelerometer's IIO functionality; the upstream fix states that well-formed devices are unaffected because they never report more than 32 frames, so no behavioural workaround is needed once patched.

Affected VersionsENISA

Linux patch: 6.18.39
Linux 4.1
Linux patch: 6.12.96
Linux patch: 6.6.145
Linux 3bbec9773389112330954a6a64422eaa78d546c1 <2fe0531dd73eff1de0f2584cb77716d645e548d5
Linux patch: 5.10.261
Linux 3bbec9773389112330954a6a64422eaa78d546c1 <89f4a4ca0ac3a933c750569a771c079a290b0721
Linux 3bbec9773389112330954a6a64422eaa78d546c1 <d0e6d924a5484e005cae5aff6a0aa07a22f3c9ff
Linux patch: 7.1.4
Linux patch: 6.1.178
Linux patch: 0
Linux 3bbec9773389112330954a6a64422eaa78d546c1 <bfffc98f3de92e0f76be7c7b72e63ac1776a6dbc
Linux patch: 7.2-rc3
Linux 3bbec9773389112330954a6a64422eaa78d546c1 <3e766526827acd542bcd36c20c4d5f397e0f6521
Linux 3bbec9773389112330954a6a64422eaa78d546c1 <35a3cd8fd65e15029eb90f1e510045b1bb071175
Linux 3bbec9773389112330954a6a64422eaa78d546c1 <ce0e1cae26096fe959a0da5563a6d6d5a801d5fb
Linux patch: 5.15.212
Linux 3bbec9773389112330954a6a64422eaa78d546c1 <b5a9f521e0a49a0266200fd535b32a9668ecb33b

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The bmc150-accel driver is part of the kernel's Industrial I/O (IIO) subsystem and talks to Bosch BMC150/BMC156/BMI055-class accelerometers over I2C or SPI through the regmap abstraction. __bmc150_accel_fifo_flush() declares u16 buffer[BMC150_ACCEL_FIFO_LENGTH * 3], i.e. 96 u16 entries or 192 bytes, sized for at most 32 samples at 6 bytes each. The frame count is taken from the FIFO_STATUS register and masked only to its 7 valid bits (count = val & 0x7F), yielding 0..127; the sole additional constraint is the optional caller sample budget, which is skipped entirely when samples == 0 and otherwise permits any value above 32 whenever the budget itself is larger. bmc150_accel_fifo_transfer() then pulls count * 6 bytes via regmap, so a count of 127 writes 762 bytes into the 192-byte stack object - up to 570 bytes of out-of-bounds write - which is CWE-787 and lands on the canary, saved registers and return address. The upstream fix clamps count to BMC150_ACCEL_FIFO_LENGTH before the transfer, mirroring the watermark clamp already present in bmc150_accel_set_watermark(); well-formed devices never report more than 32 frames, so legitimate hardware is unaffected. The driver is only reachable when a matching sensor is bound and the hardware FIFO is enabled, and the assessed vector (AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H) reflects that the attacker needs to control or spoof the sensor or the bus.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.7 MEDIUM

Local driver path with low privilege (AV:L/PR:L); AC:H because it needs attacker-controlled malicious/counterfeit sensor or I2C/SPI bus tampering, a non-default precondition; canary-detected overflow yields availability (A:H) impact.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Nov 12, 2026 - 18:37 NVD
5.5 (MEDIUM)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:51 nvd
MEDIUM 5.5
CVE Published
Jul 25, 2026 - 08:51 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

iio: accel: bmc150: clamp the device-reported FIFO frame count

__bmc150_accel_fifo_flush() copies the number of samples the device reports in its hardware FIFO into an on-stack buffer

u16 buffer[BMC150_ACCEL_FIFO_LENGTH * 3];

which is sized for at most BMC150_ACCEL_FIFO_LENGTH (32) samples. The frame count is read from the FIFO_STATUS register and only masked to its 7 valid bits:

count = val & 0x7F;

so it can be 0..127. The only other limit applied to it is the optional caller-supplied sample budget:

if (samples && count > samples) count = samples;

which does not constrain count on the flush-all path (samples == 0), and leaves it well above 32 whenever samples is larger. count samples are then transferred into buffer[]:

bmc150_accel_fifo_transfer(data, (u8 *)buffer, count);

bmc150_accel_fifo_transfer() reads count * 6 bytes through regmap, so a malfunctioning, malicious or counterfeit accelerometer (or an attacker tampering with the I2C/SPI bus) that reports up to 127 frames writes up to 762 bytes into the 192-byte buffer: a stack out-of-bounds write of up to 570 bytes that clobbers the stack canary, saved registers and the return address.

Clamp count to BMC150_ACCEL_FIFO_LENGTH, the number of samples buffer[] is sized for, before the transfer, mirroring the watermark clamp already done in bmc150_accel_set_watermark(). A well-formed flush reports at most BMC150_ACCEL_FIFO_LENGTH frames, so legitimate devices are unaffected.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche IIO BMC150 accelerometer driver, present only on specific sensor-equipped hardware
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy