Files
linux-stable-mirror/drivers
Michael S. Tsirkin 7446344baa vhost: fix info leak due to uninitialized memory
commit 670ae9caac upstream.

struct vhost_msg within struct vhost_msg_node is copied to userspace.
Unfortunately it turns out on 64 bit systems vhost_msg has padding after
type which gcc doesn't initialize, leaking 4 uninitialized bytes to
userspace.

This padding also unfortunately means 32 bit users of this interface are
broken on a 64 bit kernel which will need to be fixed separately.

Fixes: CVE-2018-1118
Cc: stable@vger.kernel.org
Reported-by: Kevin Easton <kevin@guarana.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reported-by: syzbot+87cfa083e727a224754b@syzkaller.appspotmail.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-26 08:06:33 +08:00
..
2018-05-16 10:10:29 +02:00
…
…
2018-06-16 09:45:18 +02:00
…
…
…
…
…
…
2018-06-16 09:45:14 +02:00
…
…
2018-06-11 22:49:19 +02:00
…
…
…
…
2018-06-26 08:06:33 +08:00
2018-06-21 04:02:42 +09:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…