diff options
| author | ChiYuan Huang <[email protected]> | 2022-09-29 10:00:17 +0800 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2022-12-07 13:28:08 +0000 |
| commit | 5f4f94e9f26cca6514474b307b59348b8485e711 (patch) | |
| tree | e1c6dd717551e949348500fbffc006e11d36dcdd /tools/perf/scripts/python | |
| parent | 4bef4d519b01cf15818b81a3fbf62d9f51612ad3 (diff) | |
mfd: mt6360: Add bounds checking in Regmap read/write call-backs
Fix the potential risk of OOB read if bank index is over the maximum.
Refer to the discussion list for the experiment result on mt6370.
https://lore.kernel.org/all/[email protected]/
If not to check the bound, there is the same issue on mt6360.
Cc: [email protected]
Fixes: 3b0850440a06c (mfd: mt6360: Merge different sub-devices I2C read/write)
Signed-off-by: ChiYuan Huang <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions