aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMikhail Kobuk <[email protected]>2023-08-25 13:15:28 +0300
committerLinus Walleij <[email protected]>2023-09-12 09:03:18 +0200
commit87d315a34133edcb29c4cadbf196ec6c30dfd47b (patch)
treee3225589c20531f1428e89dbbf7c6d65957fe861 /scripts/gdb/linux/utils.py
parent00078e834e110a29cecd22ac5fbc49acbc839c44 (diff)
pinctrl: nuvoton: wpcm450: fix out of bounds write
Write into 'pctrl->gpio_bank' happens before the check for GPIO index validity, so out of bounds write may happen. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: a1d1e0e3d80a ("pinctrl: nuvoton: Add driver for WPCM450") Signed-off-by: Mikhail Kobuk <[email protected]> Reviewed-by: Alexey Khoroshilov <[email protected]> Reviewed-by: Jonathan Neuschäfer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions