5.5medium
clk: rs9: Reserve 8 struct clk_hw slots for for 9FGV0841
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from f0e5e1800204b82af6d3e8ef03012ab4afc22358 before 2f926875dffe2226ea26d129e16d9092cccd03aa, from f0e5e1800204b82af6d3e8ef03012ab4afc22358 before da86ca15d7389ee0b5df08e8f70c39354e6b8a4b, from f0e5e1800204b82af6d3e8ef03012ab4afc22358 before 82a34f344999d8029bcebf131028fa519140c7cc, from f0e5e1800204b82af6d3e8ef03012ab4afc22358 before 5ec820fc28d0b8a0f3890d476b1976f20e8343cc, 6.8 Not affected: before 6.8, from 6.12.75 up to 6.12.*, from 6.18.16 up to 6.18.*, from 6.19.6 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.8 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: clk: rs9: Reservar 8 ranuras de struct clk_hw para 9FGV0841 El 9FGV0841 tiene 8 salidas y registra 8 struct clk_hw, asegurarse de que haya 8 ranuras para esos punteros clk_hw recién registrados, de lo contrario, habrá una escritura fuera de límites cuando los punteros 4..7 se establezcan en el campo .clk_dif[4..7] de struct rs9_driver_data. Dado que hay otros miembros de la estructura más allá de este array de punteros struct clk_hw, escribir en los campos .clk_dif[4..7] corrompe tanto el contenido de struct rs9_driver_data como los datos a su alrededor, a veces sin provocar un fallo del kernel. Sin embargo, el kernel seguramente falla cuando el controlador se desvincula o durante la suspensión. Para solucionar esto, aumentar el tamaño del array de punteros struct clk_hw al recuento máximo de salidas del 9FGV0841, que es el chip más grande compatible con este controlador.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43175 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43175 changed 2026-11-11 | Public domain |