Revision a538e3ff9dabcdf6c3f477a373c629213d1c3066 authored by Jeff Moyer on 11 December 2018, 17:37:49 UTC, committed by Jens Axboe on 11 December 2018, 18:45:50 UTC
Matthew pointed out that the ioctx_table is susceptible to spectre v1,
because the index can be controlled by an attacker.  The below patch
should mitigate the attack for all of the aio system calls.

Cc: stable@vger.kernel.org
Reported-by: Matthew Wilcox <willy@infradead.org>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent f55adad
History
File Mode Size
Kconfig -rw-r--r-- 737 bytes
Makefile -rw-r--r-- 325 bytes
coherent.c -rw-r--r-- 11.0 KB
contiguous.c -rw-r--r-- 7.9 KB
debug.c -rw-r--r-- 46.0 KB
direct.c -rw-r--r-- 9.5 KB
mapping.c -rw-r--r-- 8.2 KB
swiotlb.c -rw-r--r-- 24.0 KB
virt.c -rw-r--r-- 1.4 KB

back to top