memory leak in vhost_net_ioctl
Subsystems (5)
Hello Jason
Quoted 4 lines · On Thu, 13 Jun 2019 17:10:39 +0800 Jason Wang wrote:
This is basically a kfree(ubuf) after the second
vhost_net_flush()invhost_net_release().
Fairly good catch.
Quoted 2 lines
Could you please post a formal patch?
I'd like very much to do that; but I wont, I am afraid, until I collect a Tested-by because of reproducer without a cutting edge.
Thanks
Hillf
Quoted 9 lines · Hillf Danton
Hello Jason
Quoted 4 lines · On Thu, 13 Jun 2019 17:10:39 +0800 Jason Wang wrote:
This is basically a kfree(ubuf) after the second
vhost_net_flush()invhost_net_release().
Quoted 6 lines
Fairly good catch.
Quoted 2 lines
Could you please post a formal patch?
I'd like very much to do that; but I wont, I am afraid, until I collect a Tested-by because of reproducer without a cutting edge.
You can easily collect Tested-by from syzbot for any bug with a reproducer ;)
https://github.com/google/syzkaller/blob/master/docs/syzbot.md#testing-patches