program:
syz_mount_image$fuse(0x0, &(0x7f0000000180)='./file1\x00', 0x8900c, 0x0, 0x1, 0x0, 0x0)
prlimit64(0x0, 0xe, &(0x7f0000000240)={0x8, 0x244}, 0x0)
sched_setscheduler(0x0, 0x1, &(0x7f0000000080)=0x7)
mkdirat(0xffffffffffffff9c, &(0x7f0000002040)='./file0\x00', 0xc0)
r0 = socket$nl_rdma(0x10, 0x3, 0x14)
sendmsg$RDMA_NLDEV_CMD_NEWLINK(r0, &(0x7f0000000240)={0x0, 0x0, &(0x7f0000000200)={&(0x7f0000000180)=ANY=[@ANYBLOB="380000000314230c2abd7000ff05df250900020073797a310000000008004100727865001400330073797a5f74756e"], 0x38}, 0x1, 0x0, 0x0, 0x48845}, 0x4000)
r1 = socket$nl_rdma(0x10, 0x3, 0x14)
sendmsg$RDMA_NLDEV_CMD_NEWLINK(r1, &(0x7f0000000240)={0x0, 0x0, &(0x7f0000000080)={&(0x7f0000000000)=ANY=[@ANYBLOB="38000000031401002abd7000fedbdf250900020073017a31000000000800410072786500140033006c6f"], 0x38}, 0x1, 0x0, 0x0, 0x44}, 0x810)
r2 = openat$kvm(0xffffffffffffff9c, &(0x7f0000000200), 0x80000, 0x0)
r3 = ioctl$KVM_CREATE_VM(r2, 0xae01, 0x0)
r4 = ioctl$KVM_CREATE_VCPU(r3, 0xae41, 0x0)
ioctl$KVM_SET_GUEST_DEBUG_x86(r4, 0x4048ae9b, &(0x7f0000000780)={0x1a0003, 0x0, {[0x2683, 0x9, 0x9, 0x8, 0x7, 0x3, 0x8, 0x1]}})
ioctl$KVM_GET_DEBUGREGS(r4, 0x8080aea1, &(0x7f0000000040))
syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000340)=ANY=[@ANYBLOB="12013f00000000407f04ffff0000000000010902"], 0x0)
r5 = socket$nl_rdma(0x10, 0x3, 0x14)
sendmsg$RDMA_NLDEV_CMD_DELLINK(r5, &(0x7f00000002c0)={0x0, 0x0, &(0x7f0000000280)={&(0x7f0000000100)={0x18, 0x1404, 0x1, 0x70bd2d, 0x25dfdbfe, "", [@RDMA_NLDEV_ATTR_DEV_INDEX={0x8}]}, 0x18}, 0x1, 0x0, 0x0, 0x4000000}, 0x0)
syz_mount_image$fuse(0x0, &(0x7f00000000c0)='./file0/file1\x00', 0x2008420, 0x0, 0x3, 0x0, 0x0)
mount$overlay(0x0, &(0x7f0000000000)='./file0\x00', &(0x7f0000000b80), 0x0, &(0x7f0000000040)={[{@workdir={'workdir', 0x3d, './bus'}}, {@lowerdir={'lowerdir', 0x3d, '.'}}, {@upperdir={'upperdir', 0x3d, './file0'}}, {@nfs_export_on}]})
unlinkat(0xffffffffffffff9c, &(0x7f00000001c0)='./file0/file1\x00', 0x200)
[ 85.353862][ T5288] Bluetooth: hci0: command tx timeout
[ 86.119295][ T5323] infiniband syz1: set active
[ 86.122220][ T5323] infiniband syz1: added syz_tun
[ 86.194196][ T5323] smbdirect: ib_dev[syz1]: added: IB_CA max_fast_reg_page_list_len=512 device_cap_flags=0x1c001223c76 kernel_cap_flags=0x14 page_size_cap=0xfffff000
[ 86.219905][ T5323] smbdirect: ib_dev[syz1]: num_ports=1 max_qp_rd_atom=128 max_qp_init_rd_atom=128 max_sgl_rd=0 max_sge_rd=32 max_cqe=32767 max_qp_wr=1048576 max_send_sge=32 max_recv_sge=32
[ 86.240560][ T5323] smbdirect: ib_dev[syz1]PORT[1]: iwarp=0 ib=0 roce=1 v1=0 v2=1 core_cap_flags=0x803005
[ 86.252386][ T1368] usb 5-1: new high-speed USB device number 2 using dummy_hcd
[ 86.285637][ T5323] RDS/IB: syz1: added
[ 86.287862][ T5323] smc: adding ib device syz1 with port count 1
[ 86.298879][ T5323] smc: ib device syz1 port 1 has no pnetid
[ 86.499556][ T5324] lo speed is unknown, defaulting to 1000
[ 86.520063][ T5324] lo speed is unknown, defaulting to 1000
[ 86.565042][ T5324] lo speed is unknown, defaulting to 1000
[ 86.803820][ T1368] usb 5-1: config 0 has no interfaces?
[ 86.887698][ T1368] usb 5-1: New USB device found, idVendor=047f, idProduct=ffff, bcdDevice= 0.00
[ 86.919513][ T1368] usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 86.950753][ T1368] usb 5-1: config 0 descriptor??
[ 87.314585][ T5323] smc: removing ib device syz1
[ 87.346627][ T5323] smbdirect: ib_dev[syz1] removed
[ 87.708858][ T5323] ------------[ cut here ]------------
[ 87.733056][ T5323] !xa_empty(xa)
[ 87.733070][ T5323] WARNING: drivers/infiniband/core/restrack.c:52 at rdma_restrack_clean+0xaf/0xd0, CPU#0: syz.0.0/5323
[ 87.754261][ T5323] Modules linked in:
[ 87.760097][ T5323] CPU: 0 UID: 0 PID: 5323 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
[ 87.773990][ T5323] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 87.779704][ T5323] RIP: 0010:rdma_restrack_clean+0xaf/0xd0
[ 87.782491][ T5323] Code: ff 48 01 ef e8 52 88 05 03 49 81 fd 08 03 00 00 74 1d e8 b4 ed 1c f9 49 83 c5 58 43 80 3c 3c 00 75 a6 eb ac e8 a2 ed 1c f9 90 <0f> 0b 90 eb ca e8 97 ed 1c f9 4c 89 f7 5b 41 5c 41 5d 41 5e 41 5f
[ 87.810565][ T5323] RSP: 0018:ffffc90003507030 EFLAGS: 00010246
[ 87.816320][ T5323] RAX: ffffffff88a9575e RBX: ffff888042604ec0 RCX: 0000000000100000
[ 87.821732][ T5323] RDX: ffffc90020802000 RSI: 00000000000fffff RDI: 0000000000100000
[ 87.831999][ T5323] RBP: ffff888052726800 R08: ffff888042604ed3 R09: 1ffff110084c09da
[ 87.846518][ T5323] R10: dffffc0000000000 R11: ffffed10084c09db R12: 1ffff110084c09d8
[ 87.850172][ T5323] R13: 0000000000000048 R14: ffff888052726800 R15: dffffc0000000000
[ 87.861292][ T5323] FS: 00007fb854e736c0(0000) GS:ffff88808c848000(0000) knlGS:0000000000000000
[ 87.875528][ T5323] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 87.878391][ T5323] CR2: 00007f583a111ad0 CR3: 00000000128fe000 CR4: 0000000000352ef0
[ 87.881920][ T5323] Call Trace:
[ 87.883460][ T5323]
[ 87.884850][ T5323] ib_dealloc_device+0x16a/0x200
[ 87.887045][ T5323] __ib_unregister_device+0x38f/0x400
[ 87.906576][ T5323] ? rxe_ns_pernet_sk6+0x2d/0x220
[ 87.909431][ T5323] ib_unregister_device_and_put+0xb8/0xf0
[ 87.916815][ T5323] nldev_dellink+0x39e/0x430
[ 87.919143][ T5323] ? __pfx___css_rstat_updated+0x10/0x10
[ 87.922037][ T5323] ? __pfx_nldev_dellink+0x10/0x10
[ 87.930893][ T5323] ? kasan_save_track+0x4f/0x80
[ 87.958077][ T5323] ? apparmor_capable+0x126/0x170
[ 87.962374][ T5323] ? bpf_lsm_capable+0x9/0x20
[ 87.965356][ T5323] ? security_capable+0x7e/0x2c0
[ 87.968275][ T5323] ? __pfx_nldev_dellink+0x10/0x10
[ 87.990273][ T5323] rdma_nl_rcv+0x6ef/0xa40
[ 88.006447][ T5323] ? __netlink_lookup+0xc6/0x8b0
[ 88.015913][ T5323] ? __pfx_rdma_nl_rcv+0x10/0x10
[ 88.018416][ T5323] ? net_generic+0x1e/0x240
[ 88.023309][ T5323] ? rcu_is_watching+0x15/0xb0
[ 88.032610][ T5323] ? net_generic+0x1e/0x240
[ 88.035039][ T5323] ? net_generic+0x1e/0x240
[ 88.036945][ T5323] ? netlink_deliver_tap+0x2e/0x1b0
[ 88.045200][ T5323] netlink_unicast+0x7bb/0x940
[ 88.047419][ T5323] netlink_sendmsg+0x813/0xb40
[ 88.054580][ T5323] ? __pfx_netlink_sendmsg+0x10/0x10
[ 88.064562][ T5323] ? futex_unqueue+0x22/0x240
[ 88.087473][ T5323] ? tomoyo_socket_sendmsg_permission+0x1e0/0x300
[ 88.090611][ T5323] ? lock_release+0x4b/0x3c0
[ 88.092739][ T5323] ? __pfx_netlink_sendmsg+0x10/0x10
[ 88.099984][ T5323] sock_sendmsg_nosec+0x13a/0x180
[ 88.105550][ T5323] ____sys_sendmsg+0x54e/0x850
[ 88.112736][ T5323] ? __pfx_____sys_sendmsg+0x10/0x10
[ 88.116943][ T5323] ? lock_release+0x4b/0x3c0
[ 88.132799][ T5323] ? import_iovec+0x73/0xa0
[ 88.135736][ T5323] ___sys_sendmsg+0x2a5/0x360
[ 88.143711][ T5323] ? __pfx____sys_sendmsg+0x10/0x10
[ 88.151660][ T5323] ? futex_wait+0x2a2/0x390
[ 88.153822][ T5323] ? __fget_files+0x2a/0x420
[ 88.163074][ T5323] ? __fget_files+0x3a2/0x420
[ 88.170918][ T5323] __x64_sys_sendmsg+0x1b1/0x290
[ 88.173313][ T5323] ? __pfx___x64_sys_sendmsg+0x10/0x10
[ 88.177642][ T5323] ? rcu_is_watching+0x15/0xb0
[ 88.185523][ T5323] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 88.195300][ T5323] do_syscall_64+0x174/0x580
[ 88.197829][ T5323] ? trace_irq_disable+0x3b/0x140
[ 88.205558][ T5323] ? clear_bhb_loop+0x40/0x90
[ 88.207926][ T5323] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 88.216510][ T5323] RIP: 0033:0x7fb853f9ce59
[ 88.219768][ T5323] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
[ 88.246289][ T5323] RSP: 002b:00007fb854e72fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 88.257306][ T5323] RAX: ffffffffffffffda RBX: 00007fb854215fa0 RCX: 00007fb853f9ce59
[ 88.266674][ T5323] RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000009
[ 88.273756][ T5323] RBP: 00007fb854032e6f R08: 0000000000000000 R09: 0000000000000000
[ 88.280918][ T5323] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 88.288112][ T5323] R13: 00007fb854216038 R14: 00007fb854215fa0 R15: 00007ffcdf5e60c8
[ 88.294381][ T5323]
[ 88.297344][ T5323] Kernel panic - not syncing: kernel: panic_on_warn set ...
[ 88.305970][ T5323] CPU: 0 UID: 0 PID: 5323 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full)
[ 88.314117][ T5323] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 88.324455][ T5323] Call Trace:
[ 88.327024][ T5323]
[ 88.329228][ T5323] vpanic+0x56c/0xa60
[ 88.332098][ T5323] ? __pfx__printk+0x10/0x10
[ 88.334870][ T5323] ? __pfx_vpanic+0x10/0x10
[ 88.338316][ T5323] ? is_bpf_text_address+0x292/0x2b0
[ 88.347415][ T5323] ? is_bpf_text_address+0x26/0x2b0
[ 88.356078][ T5323] panic+0xc5/0xd0
[ 88.359508][ T5323] ? __pfx_panic+0x10/0x10
[ 88.366807][ T5323] __warn+0x315/0x4c0
[ 88.369453][ T5323] ? rdma_restrack_clean+0xaf/0xd0
[ 88.378016][ T5323] ? rdma_restrack_clean+0xaf/0xd0
[ 88.381034][ T5323] __report_bug+0x331/0x530
[ 88.387575][ T5323] ? rdma_restrack_clean+0xaf/0xd0
[ 88.396151][ T5323] ? __pfx___report_bug+0x10/0x10
[ 88.399207][ T5323] ? __pfx___mutex_unlock_slowpath+0x10/0x10
[ 88.406450][ T5323] ? xas_start+0x3b3/0x770
[ 88.409195][ T5323] ? rdma_restrack_clean+0xaf/0xd0
[ 88.417571][ T5323] report_bug+0x16a/0x220
[ 88.420306][ T5323] ? rdma_restrack_clean+0xaf/0xd0
[ 88.427487][ T5323] ? rdma_restrack_clean+0xb1/0xd0
[ 88.436251][ T5323] handle_bug+0x9c/0x200
[ 88.439072][ T5323] exc_invalid_op+0x1a/0x50
[ 88.445494][ T5323] asm_exc_invalid_op+0x1a/0x20
[ 88.448395][ T5323] RIP: 0010:rdma_restrack_clean+0xaf/0xd0
[ 88.457995][ T5323] Code: ff 48 01 ef e8 52 88 05 03 49 81 fd 08 03 00 00 74 1d e8 b4 ed 1c f9 49 83 c5 58 43 80 3c 3c 00 75 a6 eb ac e8 a2 ed 1c f9 90 <0f> 0b 90 eb ca e8 97 ed 1c f9 4c 89 f7 5b 41 5c 41 5d 41 5e 41 5f
[ 88.480234][ T5323] RSP: 0018:ffffc90003507030 EFLAGS: 00010246
[ 88.483470][ T5323] RAX: ffffffff88a9575e RBX: ffff888042604ec0 RCX: 0000000000100000
[ 88.495449][ T5323] RDX: ffffc90020802000 RSI: 00000000000fffff RDI: 0000000000100000
[ 88.506089][ T5323] RBP: ffff888052726800 R08: ffff888042604ed3 R09: 1ffff110084c09da
[ 88.511153][ T5323] R10: dffffc0000000000 R11: ffffed10084c09db R12: 1ffff110084c09d8
[ 88.523715][ T5323] R13: 0000000000000048 R14: ffff888052726800 R15: dffffc0000000000
[ 88.537071][ T5323] ? rdma_restrack_clean+0xae/0xd0
[ 88.539658][ T5323] ib_dealloc_device+0x16a/0x200
[ 88.541866][ T5323] __ib_unregister_device+0x38f/0x400
[ 88.544113][ T5323] ? rxe_ns_pernet_sk6+0x2d/0x220
[ 88.557407][ T5323] ib_unregister_device_and_put+0xb8/0xf0
[ 88.562249][ T5323] nldev_dellink+0x39e/0x430
[ 88.565218][ T5323] ? __pfx___css_rstat_updated+0x10/0x10
[ 88.576025][ T5323] ? __pfx_nldev_dellink+0x10/0x10
[ 88.579004][ T5323] ? kasan_save_track+0x4f/0x80
[ 88.582241][ T5323] ? apparmor_capable+0x126/0x170
[ 88.595503][ T5323] ? bpf_lsm_capable+0x9/0x20
[ 88.599573][ T5323] ? security_capable+0x7e/0x2c0
[ 88.602859][ T5323] ? __pfx_nldev_dellink+0x10/0x10
[ 88.605789][ T5323] rdma_nl_rcv+0x6ef/0xa40
[ 88.607806][ T5323] ? __netlink_lookup+0xc6/0x8b0
[ 88.610163][ T5323] ? __pfx_rdma_nl_rcv+0x10/0x10
[ 88.612616][ T5323] ? net_generic+0x1e/0x240
[ 88.614746][ T5323] ? rcu_is_watching+0x15/0xb0
[ 88.632630][ T5323] ? net_generic+0x1e/0x240
[ 88.635846][ T5323] ? net_generic+0x1e/0x240
[ 88.645193][ T5323] ? netlink_deliver_tap+0x2e/0x1b0
[ 88.648277][ T5323] netlink_unicast+0x7bb/0x940
[ 88.652808][ T5323] netlink_sendmsg+0x813/0xb40
[ 88.666895][ T5323] ? __pfx_netlink_sendmsg+0x10/0x10
[ 88.669477][ T5323] ? futex_unqueue+0x22/0x240
[ 88.672482][ T5323] ? tomoyo_socket_sendmsg_permission+0x1e0/0x300
[ 88.685585][ T5323] ? lock_release+0x4b/0x3c0
[ 88.688486][ T5323] ? __pfx_netlink_sendmsg+0x10/0x10
[ 88.691640][ T5323] sock_sendmsg_nosec+0x13a/0x180
[ 88.716163][ T5323] ____sys_sendmsg+0x54e/0x850
[ 88.719268][ T5323] ? __pfx_____sys_sendmsg+0x10/0x10
[ 88.721668][ T5323] ? lock_release+0x4b/0x3c0
[ 88.723880][ T5323] ? import_iovec+0x73/0xa0
[ 88.747458][ T5323] ___sys_sendmsg+0x2a5/0x360
[ 88.750416][ T5323] ? __pfx____sys_sendmsg+0x10/0x10
[ 88.753849][ T5323] ? futex_wait+0x2a2/0x390
[ 88.774602][ T5323] ? __fget_files+0x2a/0x420
[ 88.778270][ T5323] ? __fget_files+0x3a2/0x420
[ 88.780544][ T5323] __x64_sys_sendmsg+0x1b1/0x290
[ 88.782640][ T5323] ? __pfx___x64_sys_sendmsg+0x10/0x10
[ 88.784841][ T5323] ? rcu_is_watching+0x15/0xb0
[ 88.794000][ T5323] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 88.796599][ T5323] do_syscall_64+0x174/0x580
[ 88.798859][ T5323] ? trace_irq_disable+0x3b/0x140
[ 88.801320][ T5323] ? clear_bhb_loop+0x40/0x90
[ 88.803337][ T5323] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 88.807225][ T5323] RIP: 0033:0x7fb853f9ce59
[ 88.810455][ T5323] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
[ 88.821434][ T5323] RSP: 002b:00007fb854e72fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 88.829915][ T5323] RAX: ffffffffffffffda RBX: 00007fb854215fa0 RCX: 00007fb853f9ce59
[ 88.833544][ T5323] RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000009
[ 88.837007][ T5323] RBP: 00007fb854032e6f R08: 0000000000000000 R09: 0000000000000000
[ 88.842311][ T5323] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
[ 88.847418][ T5323] R13: 00007fb854216038 R14: 00007fb854215fa0 R15: 00007ffcdf5e60c8
[ 88.854381][ T5323]
[ 88.857894][ T5323] Kernel Offset: disabled
[ 88.863613][ T5323] Rebooting in 86400 seconds..