CVE-2025-68755: staging: most: remove broken i2c driver
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
staging: most: remove broken i2c driver
The MOST I2C driver has been completely broken for five years without anyone noticing so remove the driver from staging.
Specifically, commit 723de0f9171e ("staging: most: remove device from interface structure") started requiring drivers to set the interface device pointer before registration, but the I2C driver was never updated which results in a NULL pointer dereference if anyone ever tries to probe it.
The Linux kernel CVE team has assigned CVE-2025-68755 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.6 with commit 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c and fixed in 6.17.13 with commit 6059a66dba7f26b21852831432e17075f1a1c783 Issue introduced in 5.6 with commit 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c and fixed in 6.18.2 with commit e463548fd80e779efea1cb2d3049b8a7231e6925 Issue introduced in 5.6 with commit 723de0f9171eeb49a3ae98cae82ebbbb992b3a7c and fixed in 6.19-rc1 with commit 495df2da6944477d282d5cc0c13174d06e25b310
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-68755
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/staging/most/Kconfig
drivers/staging/most/Makefile
drivers/staging/most/i2c/Kconfig
drivers/staging/most/i2c/Makefile
drivers/staging/most/i2c/i2c.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/6059a66dba7f26b21852831432e17075f1a1c783 https://git.kernel.org/stable/c/e463548fd80e779efea1cb2d3049b8a7231e6925 https://git.kernel.org/stable/c/495df2da6944477d282d5cc0c13174d06e25b310