Files
i2som-imx-linux/drivers
Michael S. Tsirkin 984cbc9c66 vhost/net: fix heads usage of ubuf_info
commit 46aa92d1ba upstream.

ubuf info allocator uses guest controlled head as an index,
so a malicious guest could put the same head entry in the ring twice,
and we will get two callbacks on the same value.
To fix use upend_idx which is guaranteed to be unique.

Reported-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-03-27 02:41:02 +00:00
..
2013-02-20 03:15:35 +00:00
2013-01-03 03:33:33 +00:00
2013-03-20 15:03:29 +00:00
2013-03-27 02:41:00 +00:00