[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025090545-CVE-2025-39680-9d9a@gregkh>
Date: Fri, 5 Sep 2025 19:20:54 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-39680: i2c: rtl9300: Fix out-of-bounds bug in rtl9300_i2c_smbus_xfer
From: Greg Kroah-Hartman <gregkh@...nel.org>
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()")
The Linux kernel CVE team has assigned CVE-2025-39680 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.13 with commit c366be720235301fdadf67e6f1ea6ff32669c074 and fixed in 6.16.4 with commit 071e43fcba5ddd9a7813e6cc0aa10299eae41b21
Issue introduced in 6.13 with commit c366be720235301fdadf67e6f1ea6ff32669c074 and fixed in 6.17-rc3 with commit 57f312b955938fc4663f430cb57a71f2414f601b
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-39680
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/i2c/busses/i2c-rtl9300.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/071e43fcba5ddd9a7813e6cc0aa10299eae41b21
https://git.kernel.org/stable/c/57f312b955938fc4663f430cb57a71f2414f601b
Powered by blists - more mailing lists