syzbot


WARNING in drm_mode_create_lease_ioctl

Status: upstream: reported C repro on 2024/06/29 12:04
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+f26744b52ab87f2864e3@syzkaller.appspotmail.com
First crash: 105d, last: 11d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/06/29 upstream (ToT) de0a9f448633 C [report] WARNING in drm_mode_create_lease_ioctl
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in drm_mode_create_lease_ioctl origin:upstream C error 7 86d 105d 0/3 upstream: reported C repro on 2024/06/29 12:06
upstream WARNING in drm_mode_create_lease_ioctl dri C inconclusive 66 26d 108d 0/28 upstream: reported C repro on 2024/06/26 21:05
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/10/01 21:17 14m retest repro linux-5.15.y report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3500 at mm/page_alloc.c:5398 __alloc_pages+0x5cf/0x700
Modules linked in:
CPU: 0 PID: 3500 Comm: syz-executor267 Not tainted 5.15.161-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:__alloc_pages+0x5cf/0x700 mm/page_alloc.c:5398
Code: 00 48 ba 00 00 00 00 00 fc ff df e9 1d fd ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 2e fd ff ff e8 16 40 0a 00 e9 24 fd ff ff <0f> 0b 45 31 e4 e9 70 fd ff ff 48 8d 4c 24 50 80 e1 07 80 c1 03 38
RSP: 0018:ffffc90002fb78a0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 000000000000000b RCX: 0000000000000000
RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc90002fb7928
RBP: ffffc90002fb79b8 R08: dffffc0000000000 R09: ffffc90002fb7900
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000040dc0
R13: 1ffff920005f6f1c R14: ffffc90002fb7900 R15: 1ffff920005f6f18
FS:  0000555555d86380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000203d0000 CR3: 000000001e72b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 kmalloc_order+0x41/0x150 mm/slab_common.c:966
 kmalloc_order_trace+0x15/0xe0 mm/slab_common.c:982
 kmalloc_large include/linux/slab.h:520 [inline]
 __kmalloc+0x214/0x300 mm/slub.c:4396
 kmalloc_array include/linux/slab.h:631 [inline]
 kcalloc include/linux/slab.h:660 [inline]
 fill_object_idr drivers/gpu/drm/drm_lease.c:386 [inline]
 drm_mode_create_lease_ioctl+0x3f9/0x1120 drivers/gpu/drm/drm_lease.c:523
 drm_ioctl_kernel+0x345/0x4f0 drivers/gpu/drm/drm_ioctl.c:801
 drm_ioctl+0x60d/0x9d0 drivers/gpu/drm/drm_ioctl.c:904
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f9ca5806129
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffed1774d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fffed1776a8 RCX: 00007f9ca5806129
RDX: 0000000020000040 RSI: 00000000c01864c6 RDI: 0000000000000003
RBP: 00007f9ca5879610 R08: 0023647261632f69 R09: 00007fffed1776a8
R10: 000000000000000f R11: 0000000000000246 R12: 0000000000000001
R13: 00007fffed177698 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/29 13:42 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in drm_mode_create_lease_ioctl
2024/06/29 12:16 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in drm_mode_create_lease_ioctl
2024/07/18 03:17 linux-5.15.y f45bea23c39c 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in drm_mode_create_lease_ioctl
2024/07/18 03:17 linux-5.15.y f45bea23c39c 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in drm_mode_create_lease_ioctl
2024/07/09 09:58 linux-5.15.y f45bea23c39c bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in drm_mode_create_lease_ioctl
2024/07/01 04:31 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in drm_mode_create_lease_ioctl
2024/06/29 12:04 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in drm_mode_create_lease_ioctl
2024/07/18 02:32 linux-5.15.y f45bea23c39c 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in drm_mode_create_lease_ioctl
2024/07/18 02:32 linux-5.15.y f45bea23c39c 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in drm_mode_create_lease_ioctl
2024/07/09 10:52 linux-5.15.y f45bea23c39c bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in drm_mode_create_lease_ioctl
2024/07/09 10:52 linux-5.15.y f45bea23c39c bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in drm_mode_create_lease_ioctl
2024/07/01 04:35 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in drm_mode_create_lease_ioctl
2024/06/29 12:03 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in drm_mode_create_lease_ioctl
* Struck through repros no longer work on HEAD.