aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2023-04-11 16:45:32 +0000
committerGreg Kroah-Hartman <[email protected]>2023-04-20 12:11:33 +0000
commit2b3174c96696cde676393474f0e01d0d108462f5 (patch)
treea81a0ae7a4f0ff1c08bff6d31c0d621653f6e39a /drivers/fpga/fpga-bridge.c
parenttty: vt: drop checks for undefined VT_SINGLE_DRIVER (diff)
downloadkernel-2b3174c96696cde676393474f0e01d0d108462f5.tar.gz
kernel-2b3174c96696cde676393474f0e01d0d108462f5.zip
n_gsm: Use array_index_nospec() with index that comes from userspace
dc.channel used for indexing comes directly from copy_from_user(). Use array_index_nospec() to mitigate speculative side-channel. Link: https://lore.kernel.org/linux-serial/64306d13.ONswMlyWlVKLGkKR%[email protected]/ Cc: stable <[email protected]> Fixes: afe3154ba87e ("tty: n_gsm: add ioctl for DLC config via ldisc handle") Reported-by: kernel test robot <[email protected]> Reviewed-by: Daniel Starke <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions