Skip to main content

Linux Kernel CVE-2026-64191

| EUVDEUVD-2026-46011 HIGH
Out-of-bounds Read (CWE-125)
2026-07-20 Linux GHSA-cc9h-5xhh-h7j7
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Load i2c-stub module with chip_addr
  2. Delivery
    Access /dev/i2c-* as low-privilege user
  3. Exploit
    Issue I2C_SMBUS ioctl with block[0] > 32
  4. Execution
    stub_xfer() iterates past union boundary
  5. Persist
    Corrupt kernel stack frames
  6. Impact
    Achieve kernel code execution or crash

Vulnerability Assessment

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

1 technique across 1 tactic: Collection

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

Exploitation Conditions

Exploitation requires three concurrent conditions: (1) the i2c-stub kernel module must be explicitly loaded - it is CONFIG_I2C_STUB=m, not compiled or loaded by default on any standard distribution kernel, and requires a 'chip_addr=' parameter on load; (2) the attacker must have read/write access to a /dev/i2c-* character device created by the stub module, which typically requires membership in the 'i2c' group or equivalent capability; (3) the attacker must be able to issue ioctl() syscalls (no seccomp filter blocking I2C_SMBUS ioctl). Exploitation is blocked when: the i2c-stub module is not loaded (default on all production systems); /dev/i2c-* permissions exclude the user; or seccomp/LSM policy blocks the ioctl path. The 7.8 CVSS assumes AC:L which overstates exploitability - the module-load prerequisite makes realistic AC:H.

Impact

The provided CVSS 7.8 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) is plausible for a worst-case scenario but overstates complexity: AC:L does not account for the non-default module requirement. The i2c-stub driver is CONFIG_I2C_STUB=m and is NOT built or loaded on any typical production or server kernel; an attacker first needs the module loaded with chip_addr= set, which requires local administrator or operator action, making AC effectively High in realistic deployments. EPSS at 0.17% (7th percentile) confirms low community exploitation interest. There is no CISA KEV entry, no public POC, and no oss-security post indicating active exploitation. The KASAN trace embedded in the description confirms the crash is reproducible by the reporter, but this does not constitute a public POC. Real-world impact is bounded to development or CI environments where the stub module has been deliberately loaded. Confidentiality, integrity, and availability are all theoretically HIGH due to kernel stack corruption, but the configuration gate significantly limits the exploitable population.

Exploit ScenarioDerived

An attacker with a shell on a development or CI host where an administrator has loaded 'modprobe i2c_stub chip_addr=0x50' opens /dev/i2c-0, constructs an I2C_SMBUS ioctl with transaction type I2C_SMBUS_I2C_BLOCK_DATA and sets data.block[0] to a value such as 0xff (255). stub_xfer() accepts the length and iterates 255 bytes, reading and writing well past the 34-byte union i2c_smbus_data.block on the kernel stack, corrupting adjacent stack frames. Depending on stack layout, this may allow escalation to kernel code execution or cause a kernel panic.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Sep 16, 2026

Stack out-of-bounds read/write in the Linux kernel i2c-stub driver allows a local user with access to /dev/i2c-* to corrupt kernel stack memory by issuing an I2C_SMBUS ioctl with an oversized block length. The i2c-stub driver's stub_xfer() implements .smbus_xfer directly, bypassing the I2C_SMBUS_BLOCK_MAX (32-byte) length validation applied in the generic i2c_smbus_xfer_emulated() path, meaning data->block[0] values above 32 are accepted and used as a loop bound, reading or writing past the end of the 34-byte union i2c_smbus_data.block buffer onto the kernel stack. No public exploit has been identified at time of analysis and EPSS is 0.17%, but the KASAN trace in the description confirms the crash path is reachable.

RemediationAI

Vendor-released patch: apply the kernel stable updates for your branch - 5.10.260, 5.15.211, 6.1.177, 6.6.144, 6.12.95, 6.18.37, 7.0.14, or 7.1 as appropriate (upstream fix commits at git.kernel.org referenced above). Ubuntu users should apply USN-8726-1 or USN-8727-1. If patching is not immediately possible, the primary compensating control is to ensure the i2c-stub module is not loaded: verify with 'lsmod | grep i2c_stub' and, if loaded, remove it with 'modprobe -r i2c_stub'. On systems where it is not needed (virtually all production systems), blacklist it by adding 'blacklist i2c_stub' to /etc/modprobe.d/. Additionally, restrict access to /dev/i2c-* devices (typically via the i2c group) to trusted users only; removing non-admin users from the i2c group eliminates the PR:L prerequisite even if the module is present.

Affected VersionsENISA

Linux patch: 5.10.260
Linux patch: 7.0.14
Linux 4710317891e4824ce1510a6b5066abbd3e917750 <21e87f336ac6303fed54a69b1d0d79a23b25c8d0
Linux 4710317891e4824ce1510a6b5066abbd3e917750 <4bd8635f28c135a08aac6badcd7d9b5cdb34335f
Linux patch: 5.15.211
Linux patch: 6.18.37
Linux patch: 6.6.144
Linux 4710317891e4824ce1510a6b5066abbd3e917750 <5f4d2bd028ebb6e4c09a9d64842546022321d4a7
Linux 4710317891e4824ce1510a6b5066abbd3e917750 <7e9072dbd5f2f17934751873450d2c22080ead80
Linux 2.6.33
Linux 4710317891e4824ce1510a6b5066abbd3e917750 <6036b5067a8199ba7a2dc7b377d4b9dd276d5f9e
Linux 4710317891e4824ce1510a6b5066abbd3e917750 <0526931b16e5a118d367b7bfce7d797e63f7ac69
Linux patch: 0
Linux patch: 6.1.177
Linux patch: 6.12.95
Linux patch: 7.1
Linux 4710317891e4824ce1510a6b5066abbd3e917750 <1c4ffe6b4f04365485ed58d64c9bb86b46fc9037
Linux 4710317891e4824ce1510a6b5066abbd3e917750 <3fd225f3e4cd67ec8ddab1afed9da03c7c43537c

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 i2c-stub driver (CONFIG_I2C_STUB=m, drivers/i2c/i2c-stub.c) is a software-emulated I2C/SMBus adapter intended for development and testing. It must be explicitly loaded as a module and requires a chip_addr= parameter to instantiate. When a userspace process calls ioctl(I2C_SMBUS) on /dev/i2c-*, the kernel dispatches through i2cdev_ioctl_smbus() → i2c_smbus_xfer() → the adapter's .smbus_xfer callback, which for i2c-stub is stub_xfer(). The I2C_SMBUS_I2C_BLOCK_DATA transaction type uses data->block[0] as the byte count; stub_xfer() bounds this only against the chip->words[256] register array, but never against I2C_SMBUS_BLOCK_MAX (32). Since union i2c_smbus_data.block is 34 bytes total (1-byte length + 32-byte data + 1 slack), a length > 32 causes the loop to walk off the end of that stack-allocated union, producing a CWE-125 out-of-bounds read and potentially a CWE-787 out-of-bounds write. The CPE cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:* covers all Linux kernel versions from the introduction of the stub driver at commit 4710317891e4824ce1510a6b5066abbd3e917750 (Linux 2.6.33 era) through the affected stable branches.

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

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

AC:H because exploitation requires the non-default i2c-stub module to be loaded with chip_addr=; PR:L because /dev/i2c-* access requires i2c group membership.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 6.7 MEDIUM
AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.0 HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Jul 27, 2026 - 05:22 NVD
7.8 (HIGH)
Patch available
Jul 20, 2026 - 18:18 EUVD
CVE Published
Jul 20, 2026 - 16:27 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 20, 2026 - 16:27 cve.org
HIGH 7.8

DescriptionCVE.org

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

i2c: stub: Reject I2C block transfers with invalid length

The I2C_SMBUS_I2C_BLOCK_DATA case in stub_xfer() uses data->block[0] as the transfer length. The existing check only clamps it to avoid overrunning the chip->words[256] register array, but does not validate it against I2C_SMBUS_BLOCK_MAX (32), which is the limit of the union i2c_smbus_data.block buffer (34 bytes total). The driver is a development/test tool (CONFIG_I2C_STUB=m, not built by default) that must be loaded with a chip_addr= parameter.

A local user with access to /dev/i2c-* can issue an I2C_SMBUS ioctl with I2C_SMBUS_I2C_BLOCK_DATA and data->block[0] > 32, causing stub_xfer() to read or write past the end of the union i2c_smbus_data.block buffer:

BUG: KASAN: stack-out-of-bounds in stub_xfer (drivers/i2c/i2c-stub.c:223) Read of size 1 at addr ffff88800abcfd92 by task exploit/81 Call Trace: <TASK> stub_xfer (drivers/i2c/i2c-stub.c:223) __i2c_smbus_xfer (drivers/i2c/i2c-core-smbus.c:593) i2c_smbus_xfer (drivers/i2c/i2c-core-smbus.c:536) i2cdev_ioctl_smbus (drivers/i2c/i2c-dev.c:391) i2cdev_ioctl (drivers/i2c/i2c-dev.c:478) __x64_sys_ioctl (fs/ioctl.c:583) do_syscall_64 (arch/x86/entry/syscall_64.c:94) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) </TASK>

The bug exists because i2c-stub implements .smbus_xfer directly, bypassing the I2C_SMBUS_BLOCK_MAX validation in i2c_smbus_xfer_emulated(). The I2C_SMBUS_BLOCK_DATA case in the same function correctly validates against I2C_SMBUS_BLOCK_MAX, but the I2C_SMBUS_I2C_BLOCK_DATA case does not.

Fix by rejecting transfers with data->block[0] == 0 or data->block[0] > I2C_SMBUS_BLOCK_MAX with -EINVAL, consistent with both the I2C_SMBUS_BLOCK_DATA case in the same function and the I2C_SMBUS_I2C_BLOCK_DATA validation in i2c_smbus_xfer_emulated().

Executive ViewAI

Why It Matters

The Linux kernel i2c-stub driver contains a stack memory corruption vulnerability (CVE-2026-64191) allowing local attackers with device access to corrupt kernel memory and potentially escalate privileges or crash systems. This affects embedded systems, automotive platforms, IoT devices, and development environments relying on I2C interfaces. While no public exploit has been identified at time of analysis, the vulnerability directly threatens kernel integrity and system confidentiality.

Business Impact: High
Compensating Controls

Apply vendor patch. Pending patch deployment, restrict /dev/i2c-* device file permissions to block unauthorized access, disable the i2c_stub kernel module if not required for operations, and enable audit logging for all attempted I2C device access.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
development/test-only module, never loaded on production kernels
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
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.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

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