Files
linux/drivers/virtio
Wei Yongjun fa54eea35b virtio: fix memory leak in virtqueue_add()
commit 58625edf9e upstream.

When using the indirect buffers feature, 'desc' is allocated in
virtqueue_add() but isn't freed before leaving on a ring full error,
causing a memory leak.

For example, it seems rather clear that this can trigger
with virtio net if mergeable buffers are not used.

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-07 08:32:36 +02:00
..
2015-03-29 12:13:52 +10:30
2015-03-29 12:13:52 +10:30
2015-09-08 13:30:28 +03:00