Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local access to system with BMC150 accel driver
-
DeliveryTamper I2C/SPI bus or install counterfeit sensor
-
ExploitReport up to 127 FIFO frames on flush
-
ExecutionTransfer 762 bytes into 192-byte stack buffer
-
PersistOverwrite canary and return address
-
ImpactKernel 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
EUVD-2026-48848
GHSA-4j8x-6qx9-p4gc
NVD
CVE.org
EPSS
VulDB
Exploit-DB