bisecting fixing commit since 4d41ead6ead97c3730bbd186a601a64828668f01 building syzkaller on d5a3ae1f760e7cb2cd5a721d9645ae22eae114fe testing commit 4d41ead6ead97c3730bbd186a601a64828668f01 with gcc (GCC) 8.4.1 20210217 kernel signature: 6a96e2f04d2e277414979154fdf61f4d9d7cfefcac4517d02470e7eeeeb8630f all runs: crashed: WARNING in idr_get_next testing current HEAD f296bfd5cd04cbb49b8fc9585adc280ab2b58624 testing commit f296bfd5cd04cbb49b8fc9585adc280ab2b58624 with gcc (GCC) 10.2.1 20210217 kernel signature: 2d47d7fb6e676b9317e5a873978cae4187234d683e0dd0c9f4607f85d6fd0747 all runs: crashed: WARNING in idr_get_next revisions tested: 2, total time: 18m52.312150783s (build: 11m44.788499413s, test: 6m29.04548685s) the crash still happens on HEAD commit msg: Merge tag 'nfs-for-5.12-2' of git://git.linux-nfs.org/projects/anna/linux-nfs crash: WARNING in idr_get_next ------------[ cut here ]------------ WARNING: CPU: 0 PID: 7417 at lib/idr.c:269 idr_get_next+0xf2/0x120 lib/idr.c:273 Modules linked in: CPU: 0 PID: 7417 Comm: syz-executor.1 Not tainted 5.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:idr_get_next+0xf2/0x120 lib/idr.c:269 Code: 00 00 00 00 00 fc ff df 48 c7 44 15 00 00 00 00 00 48 8b 7c 24 60 65 48 2b 3c 25 28 00 00 00 75 2e 48 83 c4 68 5b 5d 41 5c c3 <0f> 0b 31 c0 eb ce 48 89 f7 e8 30 59 32 fe e9 75 ff ff ff 48 89 df RSP: 0018:ffffc90004a17c98 EFLAGS: 00010212 RAX: ffff888100d110c0 RBX: ffffc90004a17d48 RCX: 0000000000000000 RDX: 00000000fffffffc RSI: 0000000000000000 RDI: ffffc90004a17c18 RBP: 1ffff92000942f94 R08: ffff888100d110c0 R09: ffffffff8a38e207 R10: fffffbfff1471c40 R11: 000000000000001e R12: 00000000fffffffc R13: 0000000000000001 R14: ffffc90004a17d48 R15: 00000000fffffffe FS: 00007f7e12838700(0000) GS:ffff8881f6400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f93f3296000 CR3: 000000011b44e001 CR4: 00000000001706f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: qrtr_reset_ports net/qrtr/qrtr.c:758 [inline] __qrtr_bind.isra.0+0x358/0x450 net/qrtr/qrtr.c:801 qrtr_bind+0x179/0x210 net/qrtr/qrtr.c:837 __sys_bind+0x16b/0x1d0 net/socket.c:1637 __do_sys_bind net/socket.c:1648 [inline] __se_sys_bind net/socket.c:1646 [inline] __x64_sys_bind+0x6a/0xb0 net/socket.c:1646 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465109 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:00007f7e12838188 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 000000000055cf00 RCX: 0000000000465109 RDX: 000000000000000c RSI: 0000000020000140 RDI: 0000000000000003 RBP: 00000000004af711 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000055cf00 R13: 00007fff7e310a7f R14: 00007f7e12838300 R15: 0000000000022000 irq event stamp: 4245 hardirqs last enabled at (4257): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (4257): [] _raw_spin_unlock_irq+0x1f/0x80 kernel/locking/spinlock.c:199 hardirqs last disabled at (4302): [] __schedule+0x1225/0x2180 kernel/sched/core.c:4974 softirqs last enabled at (4404): [] invoke_softirq kernel/softirq.c:221 [inline] softirqs last enabled at (4404): [] __irq_exit_rcu kernel/softirq.c:422 [inline] softirqs last enabled at (4404): [] irq_exit_rcu+0x237/0x280 kernel/softirq.c:434 softirqs last disabled at (4417): [] invoke_softirq kernel/softirq.c:221 [inline] softirqs last disabled at (4417): [] __irq_exit_rcu kernel/softirq.c:422 [inline] softirqs last disabled at (4417): [] irq_exit_rcu+0x237/0x280 kernel/softirq.c:434 ---[ end trace dfe1f43da4e49d5b ]---