Skip to content
Commit 05473283 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/keyboard: sanitize array index in do_kdsk_ioctl



The kbd_ioctl uses two user controlled indexes for KDGKBENT/KDSKBENT.
Use array_index_nospec to prevent any out of bounds speculation.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent aeaf7002
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment