SecurityContext

CVE-2025-39928: Linux Kernel i2c rtl9300 - Buffer Overflow

  • Cve: CVE-2025-39928
  • Name: Linux Kernel i2c rtl9300 - Buffer Overflow
  • Description: In the Linux kernel, the following vulnerability has been resolved: i2c: rtl9300: ensure data length is within supported range Add an explicit check for the xfer length to 'rtl9300_i2c_config_xfer' to ensure the data length isn't within the supported range. In particular a data length of 0 is not supported by the hardware and causes unintended or destructive behaviour. This limitation becomes obvious when looking at the register documentation [1]. 4 bits are reserved for DATA_WIDTH and the value of these 4 bits is used as N + 1, allowing a data length range of 1 <= len <= 16. Affected by this is the SMBus Quick Operation which works with a data length of 0. Passing 0 as the length causes an underflow of the value due to: (len - 1) & 0xf and effectively specifying a transfer length of 16 via the registers. This causes a 16-byte write operation instead of a Quick Write. For example, on SFP modules without write-protected EEPROM this soft-bricks them by overwriting some initial bytes. For completeness, also add a quirk for the zero length. [1] https://svanheule.net/realtek/longan/register/i2c_mst1_ctrl2
  • Impact: Attackers can cause destructive behavior such as overwriting memory, potentially soft-bricking devices like SFP modules.
  • Remediation: Update to the latest Linux kernel version with the fix for rtl9300_i2c_config_xfer data length validation.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: data_tampering, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00134
  • Epss percentile: 0.0288
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-10-01T08:15:36Z
  • Age in days: 419
  • Modified at: 2026-10-19T21:10:00Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-39928
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-191Integer Underflow (Wrap or Wraparound)

References

UrlSourceTags
https://git.kernel.org/stable/c/06418cb5a1a542a003fdb4ad8e76ea542d57cfbanvdPatch
https://git.kernel.org/stable/c/c91382328fc89f73144d5582f2d8f1dd3e41c8f7nvdPatch

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.17 rc1; = 6.17 rc2; = 6.17 rc3; = 6.17 rc4; >= 6.13, < 6.16.8nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports