bisecting fixing commit since 4938296e03bd227e5020d63d418956fe52baf97c building syzkaller on bc5f1d88c519868f37bd2b5ebca79b33a659c2c9 testing commit 4938296e03bd227e5020d63d418956fe52baf97c compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: b4585d12281957c446dbc6a379829445f0e64c17096b738ab79cf23704b7fda8 all runs: crashed: WARNING in brd_probe testing current HEAD b172b44fcb1771e083aad806fa96f3f60e2ddfac testing commit b172b44fcb1771e083aad806fa96f3f60e2ddfac compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 193b3b9a5bacd2a7acca065c1ccbbec3b38e1a6fbb65f26477b35a1a8a000054 all runs: crashed: WARNING in brd_probe revisions tested: 2, total time: 28m4.90890335s (build: 19m56.172579603s, test: 7m35.845906482s) the crash still happens on HEAD commit msg: Linux 4.19.206 crash: WARNING in brd_probe RDX: 0000000000000012 RSI: 0000000020000140 RDI: 0000000000000003 RBP: 00007f46c81691d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007fffa202f73f R14: 00007f46c8169300 R15: 0000000000022000 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 13903 at block/genhd.c:719 __device_add_disk.cold.11+0xce/0x109 block/genhd.c:719 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 13903 Comm: syz-executor.3 Not tainted 4.19.206-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+0x17c/0x226 lib/dump_stack.c:118 panic+0x1cd/0x375 kernel/panic.c:186 __warn.cold.7+0x1b/0x36 kernel/panic.c:541 report_bug+0x1a1/0x200 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+0x200/0x350 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:__device_add_disk.cold.11+0xce/0x109 block/genhd.c:719 Code: 8d af 90 06 00 00 e9 b3 22 ae fb 48 c7 c7 20 d0 4e 88 e8 3f 29 f8 ff 0f 0b e9 38 25 ae fb 48 c7 c7 20 d0 4e 88 e8 2c 29 f8 ff <0f> 0b e9 11 29 ae fb 48 8b b5 f8 fe ff ff 48 c7 c7 80 d8 4e 88 e8 RSP: 0018:ffff888093257608 EFLAGS: 00010286 RAX: 0000000000000024 RBX: ffff88809be4f250 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff885023e0 RDI: ffffffff8bad9720 RBP: ffff888093257718 R08: ffffed1017444ea9 R09: ffffed1017444ea8 R10: ffffed1017444ea8 R11: ffff8880ba227547 R12: ffff8880932576f0 R13: ffff88809be4f850 R14: ffff88809be4f1c4 R15: ffff88809be4f1c0 device_add_disk+0xe/0x10 block/genhd.c:741 add_disk include/linux/genhd.h:409 [inline] brd_init_one drivers/block/brd.c:434 [inline] brd_probe+0x160/0x370 drivers/block/brd.c:456 kobj_lookup+0x20a/0x410 drivers/base/map.c:124 get_gendisk+0x2b/0x2d0 block/genhd.c:856 bdev_get_gendisk fs/block_dev.c:1080 [inline] __blkdev_get+0x3ee/0x1200 fs/block_dev.c:1473 blkdev_get+0x271/0x8c0 fs/block_dev.c:1627 blkdev_get_by_dev+0x31/0x50 fs/block_dev.c:1752 swsusp_check+0x4e/0x200 kernel/power/swap.c:1516 software_resume+0x18e/0x2c0 kernel/power/hibernate.c:870 resume_store+0xb3/0xf0 kernel/power/hibernate.c:1072 kobj_attr_store+0x36/0x70 lib/kobject.c:811 sysfs_kf_write+0xfd/0x150 fs/sysfs/file.c:140 kernfs_fop_write+0x255/0x410 fs/kernfs/file.c:316 __vfs_write+0xe3/0x890 fs/read_write.c:485 vfs_write+0x150/0x4d0 fs/read_write.c:549 ksys_write+0x103/0x260 fs/read_write.c:599 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f46c8169188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000012 RSI: 0000000020000140 RDI: 0000000000000003 RBP: 00007f46c81691d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007fffa202f73f R14: 00007f46c8169300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..