diff options
| author | Johan Hovold <[email protected]> | 2022-11-14 09:13:41 +0100 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2022-11-24 21:02:59 +0530 |
| commit | d8a5b59c5fc75c99ba17e3eb1a8f580d8d172b28 (patch) | |
| tree | 0b6c62be82772c1d835bb8736c7c5230764c7a5a /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 742859441d44be4b408274206244011a09618a91 (diff) | |
phy: qcom-qmp-combo: fix out-of-bounds clock access
The SM8250 only uses three clocks but the DP configuration erroneously
described four clocks.
In case the DP part of the PHY is initialised before the USB part, this
would lead to uninitialised memory beyond the bulk-clocks array to be
treated as a clock pointer as the clocks are requested based on the USB
configuration.
Fixes: aff188feb5e1 ("phy: qcom-qmp: add support for sm8250-usb3-dp phy")
Cc: [email protected] # 5.13
Reviewed-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions