syzbot


memory leak in drm_vma_node_allow

Status: upstream: reported C repro on 2020/04/11 07:59
Subsystems: dri
[Documentation on labels]
Reported-by: syzbot+04639d98c75c52e41b8a@syzkaller.appspotmail.com
First crash: 1644d, last: 697d
Discussions (2)
Title Replies (including bot) Last reply
memory leak in drm_vma_node_allow 0 (2) 2022/11/09 18:25
Re: [syzbot] memory leak in drm_vma_node_allow 1 (1) 2021/03/25 14:27
Last patch testing requests (13)
Created Duration User Patch Repo Result
2024/09/01 09:02 22m retest repro upstream report log
2024/09/01 09:02 17m retest repro upstream report log
2024/08/31 22:32 19m retest repro upstream report log
2024/08/31 22:32 15m retest repro upstream report log
2024/08/31 22:32 15m retest repro upstream report log
2024/08/31 22:32 21m retest repro upstream report log
2024/08/31 16:28 16m retest repro upstream report log
2024/06/23 08:06 18m retest repro upstream report log
2024/06/23 08:06 21m retest repro upstream report log
2024/06/22 15:17 14m retest repro upstream report log
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:
executing program
executing program
executing program
executing program
BUG: memory leak
unreferenced object 0xffff88810f65f0c0 (size 64):
  comm "syz-executor402", pid 3630, jiffies 4294948375 (age 13.410s)
  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 94 b3 05 81 88 ff ff  ................
  backtrace:
    [<ffffffff814cfce0>] kmalloc_trace+0x20/0x90 mm/slab_common.c:1046
    [<ffffffff826b5bd2>] kmalloc include/linux/slab.h:576 [inline]
    [<ffffffff826b5bd2>] drm_vma_node_allow+0x32/0x120 drivers/gpu/drm/drm_vma_manager.c:274
    [<ffffffff8269bbda>] drm_gem_handle_create_tail+0x10a/0x250 drivers/gpu/drm/drm_gem.c:377
    [<ffffffff826e45e9>] drm_gem_shmem_create_with_handle drivers/gpu/drm/drm_gem_shmem_helper.c:432 [inline]
    [<ffffffff826e45e9>] drm_gem_shmem_dumb_create+0xb9/0x200 drivers/gpu/drm/drm_gem_shmem_helper.c:534
    [<ffffffff826cb557>] drm_mode_create_dumb+0x117/0x150 drivers/gpu/drm/drm_dumb_buffers.c:96
    [<ffffffff8269d094>] drm_ioctl_kernel+0x144/0x260 drivers/gpu/drm/drm_ioctl.c:788
    [<ffffffff8269d49c>] drm_ioctl+0x2ec/0x4f0 drivers/gpu/drm/drm_ioctl.c:891
    [<ffffffff81602aec>] vfs_ioctl fs/ioctl.c:51 [inline]
    [<ffffffff81602aec>] __do_sys_ioctl fs/ioctl.c:870 [inline]
    [<ffffffff81602aec>] __se_sys_ioctl fs/ioctl.c:856 [inline]
    [<ffffffff81602aec>] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:856
    [<ffffffff84608245>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84608245>] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84800087>] entry_SYSCALL_64_after_hwframe+0x63/0xcd


Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/09 18:24 upstream f141df371335 5fa28208 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in drm_vma_node_allow
2021/02/27 10:03 upstream 3fb6d0e00efc 4c37c133 .config console log report syz ci-upstream-gce-leak memory leak in drm_vma_node_allow
2021/01/10 20:53 upstream 2ff90100ace8 2c1f2513 .config console log report syz ci-upstream-gce-leak
2021/01/06 13:28 upstream 6207214a70bf b1c228e1 .config console log report syz ci-upstream-gce-leak
2020/12/19 06:51 upstream a409ed156a90 04201c06 .config console log report syz ci-upstream-gce-leak
2020/12/12 01:44 upstream 33dc9614dc20 ba24ffcd .config console log report syz ci-upstream-gce-leak
2020/04/07 07:48 upstream 7e63420847ae 99a96044 .config console log report syz ci-upstream-gce-leak
2021/08/20 06:30 upstream f87d64319e6f b599f2fc .config console log report syz ci-upstream-gce-leak memory leak in drm_vma_node_allow
2021/08/01 20:12 upstream f3438b4c4e69 6c236867 .config console log report syz ci-upstream-gce-leak memory leak in drm_vma_node_allow
2021/07/21 09:32 upstream 8cae8cd89f05 1b201b48 .config console log report syz ci-upstream-gce-leak memory leak in drm_vma_node_allow
2020/12/11 23:54 upstream 33dc9614dc20 ba24ffcd .config console log report syz ci-upstream-gce-leak
2020/12/11 21:43 upstream 33dc9614dc20 ba24ffcd .config console log report syz ci-upstream-gce-leak
* Struck through repros no longer work on HEAD.