aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJakob Koschel <[email protected]>2022-01-27 14:44:05 +0000
committerGreg Kroah-Hartman <[email protected]>2022-02-04 14:36:02 +0000
commit28cb138f559f8c1a1395f5564f86b8bbee83631b (patch)
tree484b4f6ab69490202e6deb0515f89af7a607ac4f /net/unix/af_unix.c
parentvt_ioctl: fix array_index_nospec in vt_setactivate (diff)
downloadkernel-28cb138f559f8c1a1395f5564f86b8bbee83631b.tar.gz
kernel-28cb138f559f8c1a1395f5564f86b8bbee83631b.zip
vt_ioctl: add array_index_nospec to VT_ACTIVATE
in vt_setactivate an almost identical code path has been patched with array_index_nospec. In the VT_ACTIVATE path the user input is from a system call argument instead of a usercopy. For consistency both code paths should have the same mitigations applied. Kasper Acknowledgements: Jakob Koschel, Brian Johannesmeyer, Kaveh Razavi, Herbert Bos, Cristiano Giuffrida from the VUSec group at VU Amsterdam. Co-developed-by: Brian Johannesmeyer <[email protected]> Signed-off-by: Brian Johannesmeyer <[email protected]> Signed-off-by: Jakob Koschel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions