syzbot


memory leak in vhost_net_ioctl
Status: upstream: reported C repro on 2019/06/05 23:42
Reported-by: syzbot+0789f0c7e45efd7bb643@syzkaller.appspotmail.com
First crash: 1085d, last: 1060d
Patch testing requests:
Created Duration User Patch Repo Result
2019/07/15 03:34 16m jasowang@redhat.com patch net OK
2019/07/12 13:00 16m jasowang@redhat.com patch net OK
2019/07/10 04:37 16m jasowang@redhat.com patch upstream report log
2019/06/14 02:45 17m hdanton@sina.com patch upstream report log
2019/06/13 14:55 8m dvyukov@google.com patch upstream report log

Sample crash report:
executing program
BUG: memory leak
unreferenced object 0xffff888108cb5040 (size 64):
  comm "syz-executor532", pid 7123, jiffies 4294942481 (age 7.820s)
  hex dump (first 32 bytes):
    01 00 00 00 20 69 6f 63 00 00 00 00 64 65 76 2f  .... ioc....dev/
    50 50 cb 08 81 88 ff ff 50 50 cb 08 81 88 ff ff  PP......PP......
  backtrace:
    [<00000000e620582a>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000e620582a>] slab_post_alloc_hook mm/slab.h:439 [inline]
    [<00000000e620582a>] slab_alloc mm/slab.c:3326 [inline]
    [<00000000e620582a>] kmem_cache_alloc_trace+0x13d/0x280 mm/slab.c:3553
    [<00000000a39cd283>] kmalloc include/linux/slab.h:547 [inline]
    [<00000000a39cd283>] vhost_net_ubuf_alloc drivers/vhost/net.c:240 [inline]
    [<00000000a39cd283>] vhost_net_set_backend drivers/vhost/net.c:1533 [inline]
    [<00000000a39cd283>] vhost_net_ioctl+0xb43/0xc10 drivers/vhost/net.c:1715
    [<000000006769099f>] vfs_ioctl fs/ioctl.c:46 [inline]
    [<000000006769099f>] file_ioctl fs/ioctl.c:509 [inline]
    [<000000006769099f>] do_vfs_ioctl+0x62a/0x810 fs/ioctl.c:696
    [<000000009a930129>] ksys_ioctl+0x86/0xb0 fs/ioctl.c:713
    [<000000009fe57c78>] __do_sys_ioctl fs/ioctl.c:720 [inline]
    [<000000009fe57c78>] __se_sys_ioctl fs/ioctl.c:718 [inline]
    [<000000009fe57c78>] __x64_sys_ioctl+0x1e/0x30 fs/ioctl.c:718
    [<0000000092220792>] do_syscall_64+0x76/0x1a0 arch/x86/entry/common.c:301
    [<000000009fa3adfa>] entry_SYSCALL_64_after_hwframe+0x44/0xa9


Crashes (11):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-leak 2019/07/01 11:41 upstream 6fbc7275c7a9 699d6448 .config log report syz C
ci-upstream-gce-leak 2019/06/30 10:23 upstream 728254541ebc 7509bf36 .config log report syz C
ci-upstream-gce-leak 2019/06/29 09:24 upstream 556e2f6020bf 7509bf36 .config log report syz C
ci-upstream-gce-leak 2019/06/28 12:25 upstream c84afab02c31 7509bf36 .config log report syz C
ci-upstream-gce-leak 2019/06/26 20:07 upstream 249155c20f9b 7509bf36 .config log report syz C
ci-upstream-gce-leak 2019/06/26 16:32 upstream 249155c20f9b 4d342240 .config log report syz C
ci-upstream-gce-leak 2019/06/24 04:43 upstream 241e39004581 472f0082 .config log report syz C
ci-upstream-gce-leak 2019/06/19 04:37 upstream 29f785ff76b6 e3f76baa .config log report syz C
ci-upstream-gce-leak 2019/06/13 11:51 upstream b076173a309e 3f4e812b .config log report syz C
ci-upstream-gce-leak 2019/06/09 10:27 upstream 8d72e5bd86cb 0159583c .config log report syz C
ci-upstream-gce-leak 2019/06/05 21:09 upstream 788a024921c4 bfb4a51e .config log report syz C