syzbot


WARNING in drm_format_info

Status: upstream: reported C repro on 2021/05/21 12:08
Reported-by: syzbot+34d6aecf920e1930bdc3@syzkaller.appspotmail.com
First crash: 1063d, last: 694d
Fix bisection: failed (error log, bisect log)
  
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2021/11/11 05:12 16m bisect fix linux-4.19.y error job log (0)
2021/10/12 04:44 28m bisect fix linux-4.19.y job log (0) log
2021/09/12 02:20 27m bisect fix linux-4.19.y job log (0) log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8084 at drivers/gpu/drm/drm_fourcc.c:204 drm_format_info.part.0+0x11/0x14 drivers/gpu/drm/drm_fourcc.c:204
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8084 Comm: syz-executor361 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:drm_format_info.part.0+0x11/0x14 drivers/gpu/drm/drm_fourcc.c:204
Code: fb e8 e4 52 64 f9 48 c7 c7 60 81 c4 88 e8 43 84 f5 ff 0f 0b e9 e3 5e d8 fb e8 cc 52 64 f9 48 c7 c7 40 89 c4 88 e8 2b 84 f5 ff <0f> 0b c3 e8 b8 52 64 f9 45 31 e4 e8 df ff ff ff e9 22 89 d8 fb e8
RSP: 0018:ffff888095717990 EFLAGS: 00010282
RAX: 0000000000000024 RBX: 0000000000000044 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1012ae2f24
RBP: 0000000056555941 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: 00000000a0203843 R14: dffffc0000000000 R15: ffff888095717c58
 drm_format_info drivers/gpu/drm/drm_fourcc.c:204 [inline]
 drm_get_format_info drivers/gpu/drm/drm_fourcc.c:228 [inline]
 drm_get_format_info.cold+0xd/0x12 drivers/gpu/drm/drm_fourcc.c:219
 framebuffer_check drivers/gpu/drm/drm_framebuffer.c:178 [inline]
 drm_internal_framebuffer_create+0x32d/0xf00 drivers/gpu/drm/drm_framebuffer.c:303
 drm_mode_addfb2+0x97/0x300 drivers/gpu/drm/drm_framebuffer.c:340
 drm_ioctl_kernel+0x208/0x2a0 drivers/gpu/drm/drm_ioctl.c:758
 drm_ioctl+0x5a0/0x9e0 drivers/gpu/drm/drm_ioctl.c:861
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
 __do_sys_ioctl fs/ioctl.c:712 [inline]
 __se_sys_ioctl fs/ioctl.c:710 [inline]
 __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f49abca36d9
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc749d19f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f49abca36d9
RDX: 0000000020000580 RSI: 00000000c06864b8 RDI: 0000000000000003
RBP: 00007f49abc63280 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000ffff R11: 0000000000000246 R12: 00007f49abc63310
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/05/25 22:59 linux-4.19.y 3f8a27f9e27b 3037caa9 .config console log report syz C ci2-linux-4-19 WARNING in drm_format_info
2021/06/16 18:25 linux-4.19.y eb575cd5d7f6 c06f97ad .config console log report syz C ci2-linux-4-19 WARNING in drm_format_info
2021/05/21 12:21 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report syz C ci2-linux-4-19 WARNING in drm_format_info
2022/05/25 22:49 linux-4.19.y 3f8a27f9e27b 3037caa9 .config console log report info ci2-linux-4-19 WARNING in drm_format_info
2022/03/22 23:44 linux-4.19.y 3f8a27f9e27b d88ef0c5 .config console log report info ci2-linux-4-19 WARNING in drm_format_info
2022/03/15 00:17 linux-4.19.y 3f8a27f9e27b 9e8eaa75 .config console log report info ci2-linux-4-19 WARNING in drm_format_info
2021/11/29 03:00 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 WARNING in drm_format_info
2021/11/13 11:59 linux-4.19.y 3f8a27f9e27b 75b04091 .config console log report info ci2-linux-4-19 WARNING in drm_format_info
2021/09/12 04:44 linux-4.19.y b172b44fcb17 3ce60af8 .config console log report info ci2-linux-4-19 WARNING in drm_format_info
2021/08/13 02:20 linux-4.19.y addba38e7c3b c551a195 .config console log report info ci2-linux-4-19 WARNING in drm_format_info
2021/07/31 09:54 linux-4.19.y 53bd76690e27 6c236867 .config console log report info ci2-linux-4-19 WARNING in drm_format_info
2021/07/18 14:33 linux-4.19.y fcfbdfe9626e f115ae98 .config console log report info ci2-linux-4-19 WARNING in drm_format_info
2021/06/21 09:24 linux-4.19.y eb575cd5d7f6 aba2b2fb .config console log report info ci2-linux-4-19 WARNING in drm_format_info
2021/05/21 12:07 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING in drm_format_info
* Struck through repros no longer work on HEAD.