Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-64191

published high CVSS 3.1 · 7.8

i2c: stub: Reject I2C block transfers with invalid length

Published
20 Jul 2026, 16:27:51 UTC
Updated
19 Oct 2026, 20:28:15 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux4710317891e4824ce1510a6b5066abbd3e917750 to < 7e9072dbd5f2f17934751873450d2c22080ead80 · 4710317891e4824ce1510a6b5066abbd3e917750 to < 21e87f336ac6303fed54a69b1d0d79a23b25c8d0 · 4710317891e4824ce1510a6b5066abbd3e917750 to < 3fd225f3e4cd67ec8ddab1afed9da03c7c43537c · 4710317891e4824ce1510a6b5066abbd3e917750 to < 1c4ffe6b4f04365485ed58d64c9bb86b46fc9037 · 4710317891e4824ce1510a6b5066abbd3e917750 to < 4bd8635f28c135a08aac6badcd7d9b5cdb34335f · 4710317891e4824ce1510a6b5066abbd3e917750 to < 5f4d2bd028ebb6e4c09a9d64842546022321d4a7 · 4710317891e4824ce1510a6b5066abbd3e917750 to < 0526931b16e5a118d367b7bfce7d797e63f7ac69 · 4710317891e4824ce1510a6b5066abbd3e917750 to < 6036b5067a8199ba7a2dc7b377d4b9dd276d5f9e · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.33 (affected) · 0 to < 2.6.33 (unaffected · semver) · 5.10.260 through 5.10.* (unaffected · semver) · 5.15.211 through 5.15.* (unaffected · semver) · 6.1.177 through 6.1.* (unaffected · semver) · 6.6.144 through 6.6.* (unaffected · semver) · 6.12.95 through 6.12.* (unaffected · semver) · 6.18.37 through 6.18.* (unaffected · semver) · 7.0.14 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-126 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-211.65.1.el10_2 ALSA-2026:81406
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-211.72.1.el10_2 ALSA-2026:93413
AlmaLinux 10 kernel-doc Advisory build 6.12.0-211.65.1.el10_2 ALSA-2026:81406
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-doc Advisory build 6.12.0-211.72.1.el10_2 ALSA-2026:93413
AlmaLinux 8 bpftool Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.158.1.rt7.499.el8_10 ALSA-2026:59737
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 perf Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.158.1.el8_10 ALSA-2026:59821
AlmaLinux 9 kernel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-doc Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-headers Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-tools Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-687.42.1.el9_8 ALSA-2026:59723

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

77

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable path is reached by a local process issuing I2C_SMBUS ioctls on an i2c-stub /dev/i2c-* character device; it is neither remotely nor physically reachable. AC:L - Once i2c-stub is loaded, the attacker controls the address, direction, length, and register contents, making the corruption deterministic without a race. The non-default module configuration defines the vulnerable deployment rather than complicating exploitation within it. PR:L - The attacker needs unprivileged local access to the applicable /dev/i2c-* node, but no capability or namespace-specific administrative privilege is checked anywhere along the ioctl path. UI:N - After the vulnerable adapter is configured, exploitation requires only attacker-issued ioctls and no action by another user. S:U - The corruption occurs within the host kernel and represents conventional local privilege escalation, without crossing a separate virtualization or hardware security authority. C:H - An oversized block write reads up to 222 bytes beyond the 34-byte stack union and persists those bytes in attacker-readable stub registers, enabling substantial kernel-stack disclosure. I:H - An oversized block read writes up to 222 attacker-chosen bytes beyond the stack union because the attacker can prepopulate the stub registers, enabling control-data corruption and potential kernel code execution. A:H - The controlled stack overwrite can corrupt stack canaries, return state, or other control data, causing a repeatable kernel oops or panic even when code execution is unsuccessful.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 4710317891e4824ce1510a6b5066abbd3e917750 to < 7e9072dbd5f2f17934751873450d2c22080ead80 (affected · git)4710317891e4824ce1510a6b5066abbd3e917750 to < 21e87f336ac6303fed54a69b1d0d79a23b25c8d0 (affected · git)4710317891e4824ce1510a6b5066abbd3e917750 to < 3fd225f3e4cd67ec8ddab1afed9da03c7c43537c (affected · git)4710317891e4824ce1510a6b5066abbd3e917750 to < 1c4ffe6b4f04365485ed58d64c9bb86b46fc9037 (affected · git)4710317891e4824ce1510a6b5066abbd3e917750 to < 4bd8635f28c135a08aac6badcd7d9b5cdb34335f (affected · git)4710317891e4824ce1510a6b5066abbd3e917750 to < 5f4d2bd028ebb6e4c09a9d64842546022321d4a7 (affected · git)4710317891e4824ce1510a6b5066abbd3e917750 to < 0526931b16e5a118d367b7bfce7d797e63f7ac69 (affected · git)4710317891e4824ce1510a6b5066abbd3e917750 to < 6036b5067a8199ba7a2dc7b377d4b9dd276d5f9e (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.33 (affected)0 to < 2.6.33 (unaffected · semver)5.10.260 through 5.10.* (unaffected · semver)5.15.211 through 5.15.* (unaffected · semver)6.1.177 through 6.1.* (unaffected · semver)6.6.144 through 6.6.* (unaffected · semver)6.12.95 through 6.12.* (unaffected · semver)6.18.37 through 6.18.* (unaffected · semver)7.0.14 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-787 CWE-787 Out-of-bounds Write (CISA-ADP · adp)

References

8

Provider assertions

2

Linux · cna

i2c: stub: Reject I2C block transfers with invalid length

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
d16aa950e14b2542a41e2222df90026e9d095fe2ba8fdd1b9aebb8734a883a1d
Ingested
19 Oct 2026, 20:33:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected