Files
linux/drivers
Omar Sandoval 86c6667f6a virtio-console: avoid DMA from stack
commit c4baad5029 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:31:24 +02:00
..
2016-12-05 14:53:46 -05:00
2017-04-21 09:31:23 +02:00
2017-04-21 09:31:24 +02:00
2017-04-12 12:41:11 +02:00
2017-04-21 09:31:23 +02:00
2017-02-23 17:44:36 +01:00
2017-04-12 12:41:18 +02:00
2017-04-21 09:31:24 +02:00
2017-03-30 09:41:24 +02:00