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-2025-39680

published high CVSS 3.1 · 7.8

i2c: rtl9300: Fix out-of-bounds bug in rtl9300_i2c_smbus_xfer

Published
05 Sep 2025, 17:20:46 UTC
Updated
05 Aug 2026, 12:04:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxc366be720235301fdadf67e6f1ea6ff32669c074 to < 071e43fcba5ddd9a7813e6cc0aa10299eae41b21 · c366be720235301fdadf67e6f1ea6ff32669c074 to < 57f312b955938fc4663f430cb57a71f2414f601b · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.16.4 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: i2c: rtl9300: Fix out-of-bounds bug in rtl9300_i2c_smbus_xfer The data->block[0] variable comes from user. Without proper check, the variable may be very large to cause an out-of-bounds bug. Fix this bug by checking the value of data->block[0] first. 1. commit 39244cc75482 ("i2c: ismt: Fix an out-of-bounds bug in ismt_access()") 2. commit 92fbb6d1296f ("i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()")

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

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 code is reached only through the `I2C_SMBUS` ioctl on a local `/dev/i2c-N` character device (`i2cdev_ioctl_smbus` → `i2c_smbus_xfer` → `rtl9300_i2c_smbus_xfer`). There is no network or remote-peer path into this driver. AC:L - A single ioctl with an attacker-chosen `data->block[0]` deterministically drives the unvalidated length into `rtl9300_i2c_config_xfer()` and the transfer helpers; there is no race, timing window, or memory-layout condition outside the attacker's control. PR:L - `i2cdev_open()` and `i2cdev_ioctl()` contain no `capable()`/`CAP_*` check whatsoever — reachability depends purely on `/dev/i2c-*` node permissions, which embedded, switch, and Android-style images commonly grant to a non-root `i2c` group. Matches the PR:L used for the analogous CVE-2026-64191 and CVE-2026-31627. UI:N - The attacker triggers the flaw entirely on their own with one ioctl on an already-present device node; no victim action, mount, or file-open is needed. S:U - The unvalidated length is consumed within the kernel's own memory and the SoC's I²C controller registers, all under the same security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - The unchecked user-supplied length propagates to out-of-bounds reads past the 34-byte `union i2c_smbus_data` on the caller's stack (via `trace_smbus_write()` on the shared path, and via `i2c_smbus_read_block_data()`'s `memcpy` of the driver-overwritten `block[0]`), exposing adjacent kernel stack contents. I:H - The same value reaches an out-of-bounds write context — `i2c_smbus_read_block_data()` copies a length of up to 255 into a 32-byte caller buffer — and the `(len - 1) & 0xf` underflow programs unintended hardware writes, which the same-driver CVE-2025-39928 documents as destructive (overwriting SFP EEPROM contents). A:H - Out-of-bounds stack access of this kind produces oopses/panics under KASAN or on corrupted stack state, and the spurious 16-byte hardware transfer can permanently brick attached I²C peripherals, denying service to the device.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux c366be720235301fdadf67e6f1ea6ff32669c074 to < 071e43fcba5ddd9a7813e6cc0aa10299eae41b21 (affected · git)c366be720235301fdadf67e6f1ea6ff32669c074 to < 57f312b955938fc4663f430cb57a71f2414f601b (affected · git)Default: unaffected Linux · cna
Linux Linux 6.13 (affected)0 to < 6.13 (unaffected · semver)6.16.4 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

i2c: rtl9300: Fix out-of-bounds bug in rtl9300_i2c_smbus_xfer

Provenance

Schema
5.2
Searchable
yes
Content hash
980907bab6f548810af0b629c9f99e9aec6f66ca32333e71bf6490e21a6091eb
Ingested
23 Sep 2026, 08:47:06 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