syzbot


memory leak in drm_vma_node_allow

Status: upstream: reported syz repro on 2020/04/11 07:59
Reported-by: syzbot+04639d98c75c52e41b8a@syzkaller.appspotmail.com
First crash: 818d, last: 318d
Patch testing requests:
Created Duration User Patch Repo Result
2021/10/22 01:45 8m 11115066@vivo.com patch upstream report log
2021/03/10 13:52 9m igormtorrente@gmail.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ master report log
2020/09/23 10:43 12m anant.thazhemadam@gmail.com upstream report log

Sample crash report:
BUG: memory leak
unreferenced object 0xffff888127338180 (size 64):
  comm "syz-executor.6", pid 11434, jiffies 4294961165 (age 15.480s)
  hex dump (first 32 bytes):
    01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 4a 0d 28 81 88 ff ff  .........J.(....
  backtrace:
    [<ffffffff825b2892>] kmalloc include/linux/slab.h:591 [inline]
    [<ffffffff825b2892>] drm_vma_node_allow+0x32/0x120 drivers/gpu/drm/drm_vma_manager.c:274
    [<ffffffff825983b7>] drm_gem_handle_create_tail+0x107/0x250 drivers/gpu/drm/drm_gem.c:390
    [<ffffffff826271bd>] vgem_gem_create drivers/gpu/drm/vgem/vgem_drv.c:203 [inline]
    [<ffffffff826271bd>] vgem_gem_dumb_create+0x8d/0x240 drivers/gpu/drm/vgem/vgem_drv.c:223
    [<ffffffff825c72f1>] drm_mode_create_dumb+0x121/0x150 drivers/gpu/drm/drm_dumb_buffers.c:96
    [<ffffffff82599660>] drm_ioctl_kernel+0xf0/0x160 drivers/gpu/drm/drm_ioctl.c:795
    [<ffffffff82599c7a>] drm_ioctl+0x2ea/0x4f0 drivers/gpu/drm/drm_ioctl.c:898
    [<ffffffff8158e45c>] vfs_ioctl fs/ioctl.c:51 [inline]
    [<ffffffff8158e45c>] __do_sys_ioctl fs/ioctl.c:1069 [inline]
    [<ffffffff8158e45c>] __se_sys_ioctl fs/ioctl.c:1055 [inline]
    [<ffffffff8158e45c>] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:1055
    [<ffffffff843b6675>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff843b6675>] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84400068>] entry_SYSCALL_64_after_hwframe+0x44/0xae


Crashes (11):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-leak 2021/08/20 06:30 upstream f87d64319e6f b599f2fc .config log report syz memory leak in drm_vma_node_allow
ci-upstream-gce-leak 2021/08/01 20:12 upstream f3438b4c4e69 6c236867 .config log report syz memory leak in drm_vma_node_allow
ci-upstream-gce-leak 2021/07/21 09:32 upstream 8cae8cd89f05 1b201b48 .config log report syz memory leak in drm_vma_node_allow
ci-upstream-gce-leak 2021/02/27 10:03 upstream 3fb6d0e00efc 4c37c133 .config log report syz memory leak in drm_vma_node_allow
ci-upstream-gce-leak 2021/01/10 20:53 upstream 2ff90100ace8 2c1f2513 .config log report syz
ci-upstream-gce-leak 2021/01/06 13:28 upstream 6207214a70bf b1c228e1 .config log report syz
ci-upstream-gce-leak 2020/12/19 06:51 upstream a409ed156a90 04201c06 .config log report syz
ci-upstream-gce-leak 2020/12/12 01:44 upstream 33dc9614dc20 ba24ffcd .config log report syz
ci-upstream-gce-leak 2020/12/11 23:54 upstream 33dc9614dc20 ba24ffcd .config log report syz
ci-upstream-gce-leak 2020/12/11 21:43 upstream 33dc9614dc20 ba24ffcd .config log report syz
ci-upstream-gce-leak 2020/04/07 07:48 upstream 7e63420847ae 99a96044 .config log report syz