test invalid sendmsg and recvmsg

Syzbot found a double free bug due to failure in sendmsg.
This test exposes the bug.

Reported-by: syzbot+4c597a574a3f5a251bda@syzkaller.appspotmail.com
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220923151858.968528-1-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 file changed