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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
f0e5e1800204b82af6d3e8ef03012ab4afc22358 to < 2f926875dffe2226ea26d129e16d9092cccd03aaaffectedf0e5e1800204b82af6d3e8ef03012ab4afc22358 to < da86ca15d7389ee0b5df08e8f70c39354e6b8a4baffectedf0e5e1800204b82af6d3e8ef03012ab4afc22358 to < 82a34f344999d8029bcebf131028fa519140c7ccaffectedf0e5e1800204b82af6d3e8ef03012ab4afc22358 to < 5ec820fc28d0b8a0f3890d476b1976f20e8343ccaffected
Linux Linux
Default version status: affected
6.8affected0 to < 6.8unaffected6.12.75 to ≤ 6.12.*unaffected6.18.16 to ≤ 6.18.*unaffected6.19.6 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected