Files
linux/drivers
Omar Sandoval eb5267657d virtio-console: avoid DMA from stack
commit c4baad50297d84bde1a7ad45e50c73adae4a2192 upstream.

put_chars() stuffs the buffer it gets into an sg, but that buffer may be
on the stack. This breaks with CONFIG_VMAP_STACK=y (for me, it
manifested as printks getting turned into NUL bytes).

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Cc: Ben Hutchings <ben@decadent.org.uk>
Cc: Brad Spengler <spender@grsecurity.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-21 09:30:07 +02:00
..
2017-04-21 09:30:07 +02:00
2017-03-26 12:13:18 +02:00
2017-04-12 12:38:33 +02:00
2016-09-24 10:07:35 +02:00
2017-01-12 11:22:47 +01:00
2017-04-21 09:30:07 +02:00
2017-02-23 17:43:10 +01:00
2017-04-21 09:30:07 +02:00
2017-03-30 09:35:17 +02:00