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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 24.7 KB |
Makefile | -rw-r--r-- | 2.8 KB |
blktrace.c | -rw-r--r-- | 45.3 KB |
bpf_trace.c | -rw-r--r-- | 33.0 KB |
ftrace.c | -rw-r--r-- | 165.1 KB |
power-traces.c | -rw-r--r-- | 505 bytes |
preemptirq_delay_test.c | -rw-r--r-- | 1.6 KB |
ring_buffer.c | -rw-r--r-- | 136.0 KB |
ring_buffer_benchmark.c | -rw-r--r-- | 10.8 KB |
rpm-traces.c | -rw-r--r-- | 510 bytes |
trace.c | -rw-r--r-- | 206.6 KB |
trace.h | -rw-r--r-- | 57.4 KB |
trace_benchmark.c | -rw-r--r-- | 5.2 KB |
trace_benchmark.h | -rw-r--r-- | 871 bytes |
trace_branch.c | -rw-r--r-- | 10.0 KB |
trace_clock.c | -rw-r--r-- | 3.6 KB |
trace_entries.h | -rw-r--r-- | 8.4 KB |
trace_event_perf.c | -rw-r--r-- | 12.0 KB |
trace_events.c | -rw-r--r-- | 78.4 KB |
trace_events_filter.c | -rw-r--r-- | 55.0 KB |
trace_events_filter_test.h | -rw-r--r-- | 1.1 KB |
trace_events_hist.c | -rw-r--r-- | 132.5 KB |
trace_events_trigger.c | -rw-r--r-- | 40.4 KB |
trace_export.c | -rw-r--r-- | 5.3 KB |
trace_functions.c | -rw-r--r-- | 18.0 KB |
trace_functions_graph.c | -rw-r--r-- | 38.4 KB |
trace_hwlat.c | -rw-r--r-- | 16.6 KB |
trace_irqsoff.c | -rw-r--r-- | 17.4 KB |
trace_kdb.c | -rw-r--r-- | 3.2 KB |
trace_kprobe.c | -rw-r--r-- | 39.0 KB |
trace_kprobe_selftest.c | -rw-r--r-- | 353 bytes |
trace_kprobe_selftest.h | -rw-r--r-- | 313 bytes |
trace_mmiotrace.c | -rw-r--r-- | 8.6 KB |
trace_nop.c | -rw-r--r-- | 2.2 KB |
trace_output.c | -rw-r--r-- | 30.9 KB |
trace_output.h | -rw-r--r-- | 1.2 KB |
trace_preemptirq.c | -rw-r--r-- | 2.1 KB |
trace_printk.c | -rw-r--r-- | 8.6 KB |
trace_probe.c | -rw-r--r-- | 15.3 KB |
trace_probe.h | -rw-r--r-- | 8.7 KB |
trace_probe_tmpl.h | -rw-r--r-- | 4.7 KB |
trace_sched_switch.c | -rw-r--r-- | 3.0 KB |
trace_sched_wakeup.c | -rw-r--r-- | 19.5 KB |
trace_selftest.c | -rw-r--r-- | 26.0 KB |
trace_selftest_dynamic.c | -rw-r--r-- | 270 bytes |
trace_seq.c | -rw-r--r-- | 9.9 KB |
trace_stack.c | -rw-r--r-- | 11.0 KB |
trace_stat.c | -rw-r--r-- | 7.6 KB |
trace_stat.h | -rw-r--r-- | 1009 bytes |
trace_syscalls.c | -rw-r--r-- | 20.0 KB |
trace_uprobe.c | -rw-r--r-- | 32.4 KB |
tracing_map.c | -rw-r--r-- | 29.8 KB |
tracing_map.h | -rw-r--r-- | 11.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...