------------[ cut here ]------------ WARNING: CPU: 0 PID: 22869 at lib/idr.c:269 idr_get_next+0x11f/0x150 lib/idr.c:269 Modules linked in: CPU: 0 PID: 22869 Comm: syz-executor.3 Not tainted 5.12.0-rc4-next-20210326-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:idr_get_next+0x11f/0x150 lib/idr.c:269 Code: 44 05 00 00 00 00 00 48 8b 44 24 58 65 48 2b 04 25 28 00 00 00 75 31 48 83 c4 60 4c 89 e0 5b 5d 41 5c 41 5d c3 e8 31 c3 8e fd <0f> 0b 45 31 e4 eb be 48 89 df e8 62 0f d3 fd e9 50 ff ff ff 48 89 RSP: 0018:ffffc90017ee7c88 EFLAGS: 00010202 RAX: 0000000000000750 RBX: ffffc90017ee7d40 RCX: ffffc9000fad3000 RDX: 0000000000040000 RSI: ffffffff83e5659f RDI: 0000000000000003 RBP: 1ffff92002fdcf91 R08: 000000007fffffff R09: 0000000000000000 R10: ffffffff83e5652d R11: 0000000000000000 R12: ffff88803314e880 R13: 00000000fffffffd R14: 00000000fffffffe R15: ffffc90017ee7d40 FS: 00007fecf6ec9700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000540198 CR3: 0000000014124000 CR4: 00000000001506e0 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+0x3e4/0x650 net/qrtr/qrtr.c:801 qrtr_bind+0x1c1/0x250 net/qrtr/qrtr.c:837 __sys_bind+0x1e9/0x250 net/socket.c:1637 __do_sys_bind net/socket.c:1648 [inline] __se_sys_bind net/socket.c:1646 [inline] __x64_sys_bind+0x6f/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:0x466459 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:00007fecf6ec9188 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000466459 RDX: 000000000000000c RSI: 0000000020000140 RDI: 0000000000000008 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007ffc3f9d97cf R14: 00007fecf6ec9300 R15: 0000000000022000