CVE-2026-43175: clk: rs9: Reserve 8 struct clk_hw slots for for 9FGV0841
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
clk: rs9: Reserve 8 struct clk_hw slots for for 9FGV0841
The 9FGV0841 has 8 outputs and registers 8 struct clk_hw, make sure there are 8 slots for those newly registered clk_hw pointers, else there is going to be out of bounds write when pointers 4..7 are set into struct rs9_driver_data .clk_dif[4..7] field.
Since there are other structure members past this struct clk_hw pointer array, writing to .clk_dif[4..7] fields corrupts both the struct rs9_driver_data content and data around it, sometimes without crashing the kernel. However, the kernel does surely crash when the driver is unbound or during suspend.
Fix this, increase the struct clk_hw pointer array size to the maximum output count of 9FGV0841, which is the biggest chip that is supported by this driver.
The Linux kernel CVE team has assigned CVE-2026-43175 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.8 with commit f0e5e1800204b82af6d3e8ef03012ab4afc22358 and fixed in 6.12.75 with commit 2f926875dffe2226ea26d129e16d9092cccd03aa Issue introduced in 6.8 with commit f0e5e1800204b82af6d3e8ef03012ab4afc22358 and fixed in 6.18.16 with commit da86ca15d7389ee0b5df08e8f70c39354e6b8a4b Issue introduced in 6.8 with commit f0e5e1800204b82af6d3e8ef03012ab4afc22358 and fixed in 6.19.6 with commit 82a34f344999d8029bcebf131028fa519140c7cc Issue introduced in 6.8 with commit f0e5e1800204b82af6d3e8ef03012ab4afc22358 and fixed in 7.0 with commit 5ec820fc28d0b8a0f3890d476b1976f20e8343cc
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-2026-43175
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/clk/clk-renesas-pcie.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/2f926875dffe2226ea26d129e16d9092cccd03aa https://git.kernel.org/stable/c/da86ca15d7389ee0b5df08e8f70c39354e6b8a4b https://git.kernel.org/stable/c/82a34f344999d8029bcebf131028fa519140c7cc https://git.kernel.org/stable/c/5ec820fc28d0b8a0f3890d476b1976f20e8343cc