------------[ cut here ]------------ WARNING: CPU: 0 PID: 6798 at lib/idr.c:269 idr_get_next+0x11f/0x150 lib/idr.c:269 Modules linked in: CPU: 0 PID: 6798 Comm: syz-executor.0 Not tainted 5.10.0-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 d1 32 8b fd <0f> 0b 45 31 e4 eb be 48 89 df e8 52 ae cf fd e9 50 ff ff ff 48 89 RSP: 0018:ffffc90009a7fc98 EFLAGS: 00010216 RAX: 000000000000073d RBX: ffffc90009a7fd50 RCX: ffffc90002421000 RDX: 0000000000040000 RSI: ffffffff83eb07bf RDI: 0000000000000007 RBP: 1ffff9200134ff93 R08: 0000000000000000 R09: ffffffff8df64ba7 R10: 000000007fffffff R11: 0000000000000001 R12: ffff88804c343180 R13: 00000000fffffffc R14: 00000000fffffffe R15: ffffc90009a7fd50 FS: 00007fbb1b9e0700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdef55dec0 CR3: 0000000018be0000 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+0x43e/0x6c0 net/qrtr/qrtr.c:801 qrtr_bind+0x165/0x1c0 net/qrtr/qrtr.c:837 __sys_bind+0x1e9/0x250 net/socket.c:1635 __do_sys_bind net/socket.c:1646 [inline] __se_sys_bind net/socket.c:1644 [inline] __x64_sys_bind+0x6f/0xb0 net/socket.c:1644 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fbb1b9dfc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219 RDX: 000000000000000c RSI: 0000000020000380 RDI: 0000000000000003 RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007fff2015f31f R14: 00007fbb1b9e09c0 R15: 000000000119bf8c