program: r0 = openat$random(0xffffffffffffff9c, &(0x7f0000000000), 0x0, 0x0) poll(&(0x7f00000001c0)=[{r0, 0x92}], 0x1, 0x0) r1 = add_key$keyring(&(0x7f0000000240), 0x0, 0x0, 0x0, 0xffffffffffffffff) r2 = socket$nl_generic(0x10, 0x3, 0x10) syz_genetlink_get_family_id$nl80211(0x0, 0xffffffffffffffff) ioctl$sock_SIOCGIFINDEX_80211(r2, 0x8933, &(0x7f0000000400)={'wlan0\x00'}) keyctl$chown(0x4, r1, 0x0, 0x0) r3 = socket$nl_rdma(0x10, 0x3, 0x14) prctl$PR_SET_TIMERSLACK(0x3d, 0x0) sendmsg$RDMA_NLDEV_CMD_NEWLINK(r3, &(0x7f0000000240)={0x0, 0x0, &(0x7f0000000200)={&(0x7f0000000180)={0x38, 0x1403, 0xc23, 0x70bd2a, 0x25dfdbff, "", [{{0x9, 0x2, 'syz1\x00'}, {0x8, 0x41, 'rxe\x00'}, {0x14, 0x33, 'syz_tun\x00'}}]}, 0x38}, 0x1, 0x0, 0x0, 0x48845}, 0x4000) sendmsg$RDMA_NLDEV_CMD_NEWLINK(r3, 0x0, 0x20000000) syz_open_dev$evdev(&(0x7f0000000000), 0x3, 0x822b01) setsockopt$XDP_UMEM_REG(0xffffffffffffffff, 0x11b, 0x4, 0x0, 0x0) ioctl$DRM_IOCTL_GEM_FLINK(0xffffffffffffffff, 0xc008640a, 0x0) prlimit64(0x0, 0xe, &(0x7f0000000140)={0x8, 0x8}, 0x0) sched_setscheduler(0x0, 0x2, &(0x7f0000000200)=0x4) pipe2(0x0, 0x4000) socketpair$nbd(0x1, 0x1, 0x0, 0x0) splice(0xffffffffffffffff, 0x0, 0xffffffffffffffff, 0x0, 0x1, 0x0) socket$inet_mptcp(0x2, 0x1, 0x106) r4 = socket$nl_rdma(0x10, 0x3, 0x14) sendmsg$RDMA_NLDEV_CMD_DELLINK(r4, &(0x7f00000002c0)={0x0, 0x600, &(0x7f0000000280)={&(0x7f0000000100)={0x18, 0x1404, 0x1, 0x70bd2d, 0x25dfdbfe, "", [@RDMA_NLDEV_ATTR_DEV_INDEX={0x8}]}, 0x18}, 0x1, 0x0, 0x0, 0x671ec167a4b72164}, 0x0) bpf$ITER_CREATE(0x21, 0x0, 0x0) [ 72.842408][ T4662] Bluetooth: hci0: command tx timeout [ 73.009934][ T5317] infiniband syz1: set active [ 73.012717][ T5317] infiniband syz1: added syz_tun [ 73.044667][ T5317] RDS/IB: syz1: added [ 73.058405][ T5317] smc: adding ib device syz1 with port count 1 [ 73.060949][ T5317] smc: ib device syz1 port 1 has pnetid [ 73.136142][ T5318] smc: removing ib device syz1 [ 73.267494][ T5318] ------------[ cut here ]------------ [ 73.269597][ T5318] WARNING: CPU: 0 PID: 5318 at drivers/infiniband/core/restrack.c:52 rdma_restrack_clean+0x2af/0x320 [ 73.274180][ T5318] Modules linked in: [ 73.276166][ T5318] CPU: 0 UID: 0 PID: 5318 Comm: syz.0.0 Not tainted 6.13.0-rc7-syzkaller-00039-gc3812b15000c #0 [ 73.280504][ T5318] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 73.285180][ T5318] RIP: 0010:rdma_restrack_clean+0x2af/0x320 [ 73.287522][ T5318] Code: 02 dd f8 49 81 c7 68 02 00 00 4c 89 ff e8 59 2b 05 03 4c 89 f7 5b 41 5c 41 5d 41 5e 41 5f 5d e9 c7 cf 37 f9 e8 42 02 dd f8 90 <0f> 0b 90 e9 b3 fd ff ff e8 34 02 dd f8 90 0f 0b 90 e9 f1 fd ff ff [ 73.294068][ T5318] RSP: 0018:ffffc9000d4b70e0 EFLAGS: 00010283 [ 73.296627][ T5318] RAX: ffffffff88c2802e RBX: ffff888052b10848 RCX: 0000000000100000 [ 73.299621][ T5318] RDX: ffffc9000ec9b000 RSI: 00000000000a1c6d RDI: 00000000000a1c6e [ 73.302571][ T5318] RBP: 1ffff11007de21c3 R08: ffffffff88bb12d7 R09: 1ffff11007de21c5 [ 73.305232][ T5318] R10: dffffc0000000000 R11: ffffed1007de21c6 R12: dffffc0000000000 [ 73.308190][ T5318] R13: dffffc0000000000 R14: ffff888052b10800 R15: ffff88803ef10e18 [ 73.311123][ T5318] FS: 00007f056259c6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 [ 73.314316][ T5318] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 73.316824][ T5318] CR2: 000055d0f79a11d0 CR3: 000000003bbf4000 CR4: 0000000000352ef0 [ 73.319548][ T5318] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 73.322850][ T5318] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 73.325928][ T5318] Call Trace: [ 73.327563][ T5318] [ 73.329127][ T5318] ? __warn+0x165/0x4d0 [ 73.330797][ T5318] ? rdma_restrack_clean+0x2af/0x320 [ 73.332838][ T5318] ? report_bug+0x2b3/0x500 [ 73.334627][ T5318] ? rdma_restrack_clean+0x2af/0x320 [ 73.336715][ T5318] ? handle_bug+0x60/0x90 [ 73.338468][ T5318] ? exc_invalid_op+0x1a/0x50 [ 73.340227][ T5318] ? asm_exc_invalid_op+0x1a/0x20 [ 73.342154][ T5318] ? ib_dealloc_device+0x157/0x200 [ 73.344094][ T5318] ? rdma_restrack_clean+0x2ae/0x320 [ 73.346039][ T5318] ? rdma_restrack_clean+0x2af/0x320 [ 73.348357][ T5318] ib_dealloc_device+0x168/0x200 [ 73.350071][ T5318] __ib_unregister_device+0x366/0x3d0 [ 73.352038][ T5318] ? __pfx_ib_device_get_by_index+0x10/0x10 [ 73.354121][ T5318] ib_unregister_device_and_put+0xb9/0xf0 [ 73.356130][ T5318] nldev_dellink+0x2c6/0x310 [ 73.357759][ T5318] ? __pfx_nldev_dellink+0x10/0x10 [ 73.359724][ T5318] ? apparmor_capable+0x13b/0x1b0 [ 73.361640][ T5318] ? bpf_lsm_capable+0x9/0x10 [ 73.363407][ T5318] ? security_capable+0x7e/0x2d0 [ 73.365408][ T5318] ? __pfx_nldev_dellink+0x10/0x10 [ 73.367514][ T5318] rdma_nl_rcv+0x6dd/0x9e0 [ 73.369170][ T5318] ? __pfx_rdma_nl_rcv+0x10/0x10 [ 73.370892][ T5318] ? netlink_deliver_tap+0x2e/0x1b0 [ 73.372859][ T5318] netlink_unicast+0x7f6/0x990 [ 73.375027][ T5318] ? __pfx_netlink_unicast+0x10/0x10 [ 73.377353][ T5318] ? __virt_addr_valid+0x45f/0x530 [ 73.379264][ T5318] ? __phys_addr_symbol+0x2f/0x70 [ 73.381133][ T5318] ? __check_object_size+0x47a/0x730 [ 73.383145][ T5318] netlink_sendmsg+0x8e4/0xcb0 [ 73.385011][ T5318] ? __pfx_netlink_sendmsg+0x10/0x10 [ 73.387155][ T5318] ? aa_sock_msg_perm+0x91/0x160 [ 73.389044][ T5318] ? __pfx_netlink_sendmsg+0x10/0x10 [ 73.391022][ T5318] __sock_sendmsg+0x221/0x270 [ 73.392786][ T5318] ____sys_sendmsg+0x52a/0x7e0 [ 73.394550][ T5318] ? __pfx_____sys_sendmsg+0x10/0x10 [ 73.396628][ T5318] ? __fget_files+0x2a/0x410 [ 73.398497][ T5318] ? __fget_files+0x2a/0x410 [ 73.400234][ T5318] __sys_sendmsg+0x269/0x350 [ 73.401998][ T5318] ? __pfx___sys_sendmsg+0x10/0x10 [ 73.404388][ T5318] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 73.406808][ T5318] ? do_syscall_64+0x100/0x230 [ 73.408754][ T5318] ? do_syscall_64+0xb6/0x230 [ 73.410590][ T5318] do_syscall_64+0xf3/0x230 [ 73.412312][ T5318] ? clear_bhb_loop+0x35/0x90 [ 73.414002][ T5318] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 73.417318][ T5318] RIP: 0033:0x7f0561785d29 [ 73.419000][ T5318] 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 a8 ff ff ff f7 d8 64 89 01 48 [ 73.426192][ T5318] RSP: 002b:00007f056259c038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 73.429352][ T5318] RAX: ffffffffffffffda RBX: 00007f0561976080 RCX: 00007f0561785d29 [ 73.433581][ T5318] RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000009 [ 73.436706][ T5318] RBP: 00007f0561801b08 R08: 0000000000000000 R09: 0000000000000000 [ 73.439808][ T5318] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 73.442738][ T5318] R13: 0000000000000000 R14: 00007f0561976080 R15: 00007ffdce037348 [ 73.445581][ T5318] [ 73.446707][ T5318] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 73.449426][ T5318] CPU: 0 UID: 0 PID: 5318 Comm: syz.0.0 Not tainted 6.13.0-rc7-syzkaller-00039-gc3812b15000c #0 [ 73.453056][ T5318] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 73.456956][ T5318] Call Trace: [ 73.458231][ T5318] [ 73.459308][ T5318] dump_stack_lvl+0x241/0x360 [ 73.461789][ T5318] ? __pfx_dump_stack_lvl+0x10/0x10 [ 73.463787][ T5318] ? __pfx__printk+0x10/0x10 [ 73.465516][ T5318] ? _printk+0xd5/0x120 [ 73.467101][ T5318] ? __init_begin+0x41000/0x41000 [ 73.469005][ T5318] ? vscnprintf+0x5d/0x90 [ 73.470668][ T5318] panic+0x349/0x880 [ 73.472148][ T5318] ? __warn+0x174/0x4d0 [ 73.473717][ T5318] ? __pfx_panic+0x10/0x10 [ 73.475340][ T5318] __warn+0x344/0x4d0 [ 73.476872][ T5318] ? rdma_restrack_clean+0x2af/0x320 [ 73.478942][ T5318] report_bug+0x2b3/0x500 [ 73.480687][ T5318] ? rdma_restrack_clean+0x2af/0x320 [ 73.482615][ T5318] handle_bug+0x60/0x90 [ 73.484245][ T5318] exc_invalid_op+0x1a/0x50 [ 73.486002][ T5318] asm_exc_invalid_op+0x1a/0x20 [ 73.487889][ T5318] RIP: 0010:rdma_restrack_clean+0x2af/0x320 [ 73.490123][ T5318] Code: 02 dd f8 49 81 c7 68 02 00 00 4c 89 ff e8 59 2b 05 03 4c 89 f7 5b 41 5c 41 5d 41 5e 41 5f 5d e9 c7 cf 37 f9 e8 42 02 dd f8 90 <0f> 0b 90 e9 b3 fd ff ff e8 34 02 dd f8 90 0f 0b 90 e9 f1 fd ff ff [ 73.497398][ T5318] RSP: 0018:ffffc9000d4b70e0 EFLAGS: 00010283 [ 73.499567][ T5318] RAX: ffffffff88c2802e RBX: ffff888052b10848 RCX: 0000000000100000 [ 73.502256][ T5318] RDX: ffffc9000ec9b000 RSI: 00000000000a1c6d RDI: 00000000000a1c6e [ 73.504976][ T5318] RBP: 1ffff11007de21c3 R08: ffffffff88bb12d7 R09: 1ffff11007de21c5 [ 73.507797][ T5318] R10: dffffc0000000000 R11: ffffed1007de21c6 R12: dffffc0000000000 [ 73.510752][ T5318] R13: dffffc0000000000 R14: ffff888052b10800 R15: ffff88803ef10e18 [ 73.513703][ T5318] ? ib_dealloc_device+0x157/0x200 [ 73.515669][ T5318] ? rdma_restrack_clean+0x2ae/0x320 [ 73.517555][ T5318] ib_dealloc_device+0x168/0x200 [ 73.519399][ T5318] __ib_unregister_device+0x366/0x3d0 [ 73.521363][ T5318] ? __pfx_ib_device_get_by_index+0x10/0x10 [ 73.523547][ T5318] ib_unregister_device_and_put+0xb9/0xf0 [ 73.525929][ T5318] nldev_dellink+0x2c6/0x310 [ 73.527703][ T5318] ? __pfx_nldev_dellink+0x10/0x10 [ 73.529656][ T5318] ? apparmor_capable+0x13b/0x1b0 [ 73.531572][ T5318] ? bpf_lsm_capable+0x9/0x10 [ 73.533299][ T5318] ? security_capable+0x7e/0x2d0 [ 73.535163][ T5318] ? __pfx_nldev_dellink+0x10/0x10 [ 73.537131][ T5318] rdma_nl_rcv+0x6dd/0x9e0 [ 73.538905][ T5318] ? __pfx_rdma_nl_rcv+0x10/0x10 [ 73.540780][ T5318] ? netlink_deliver_tap+0x2e/0x1b0 [ 73.542709][ T5318] netlink_unicast+0x7f6/0x990 [ 73.544634][ T5318] ? __pfx_netlink_unicast+0x10/0x10 [ 73.546456][ T5318] ? __virt_addr_valid+0x45f/0x530 [ 73.548466][ T5318] ? __phys_addr_symbol+0x2f/0x70 [ 73.550314][ T5318] ? __check_object_size+0x47a/0x730 [ 73.552225][ T5318] netlink_sendmsg+0x8e4/0xcb0 [ 73.554061][ T5318] ? __pfx_netlink_sendmsg+0x10/0x10 [ 73.556151][ T5318] ? aa_sock_msg_perm+0x91/0x160 [ 73.558467][ T5318] ? __pfx_netlink_sendmsg+0x10/0x10 [ 73.560657][ T5318] __sock_sendmsg+0x221/0x270 [ 73.562844][ T5318] ____sys_sendmsg+0x52a/0x7e0 [ 73.564908][ T5318] ? __pfx_____sys_sendmsg+0x10/0x10 [ 73.566987][ T5318] ? __fget_files+0x2a/0x410 [ 73.568811][ T5318] ? __fget_files+0x2a/0x410 [ 73.570548][ T5318] __sys_sendmsg+0x269/0x350 [ 73.572341][ T5318] ? __pfx___sys_sendmsg+0x10/0x10 [ 73.574239][ T5318] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 73.576689][ T5318] ? do_syscall_64+0x100/0x230 [ 73.578490][ T5318] ? do_syscall_64+0xb6/0x230 [ 73.580247][ T5318] do_syscall_64+0xf3/0x230 [ 73.581945][ T5318] ? clear_bhb_loop+0x35/0x90 [ 73.583672][ T5318] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 73.586253][ T5318] RIP: 0033:0x7f0561785d29 [ 73.588052][ T5318] 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 a8 ff ff ff f7 d8 64 89 01 48 [ 73.595874][ T5318] RSP: 002b:00007f056259c038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 73.599027][ T5318] RAX: ffffffffffffffda RBX: 00007f0561976080 RCX: 00007f0561785d29 [ 73.602031][ T5318] RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000009 [ 73.605082][ T5318] RBP: 00007f0561801b08 R08: 0000000000000000 R09: 0000000000000000 [ 73.608039][ T5318] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 73.611083][ T5318] R13: 0000000000000000 R14: 00007f0561976080 R15: 00007ffdce037348 [ 73.614026][ T5318] [ 73.615418][ T5318] Kernel Offset: disabled [ 73.617190][ T5318] Rebooting in 86400 seconds..