program: r0 = socket(0x400000000010, 0x3, 0x0) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000000)={'gre0\x00', 0x0}) mkdirat(0xffffffffffffff9c, &(0x7f0000000040)='./config\x00', 0x1ff) mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000140)='configfs\x00', 0x0, 0x0) mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./config/dlm\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/dlm/cluster1\x00', 0x1ff) mkdirat(0xffffffffffffff9c, &(0x7f0000000340)='./config/dlm/cluster1/comms/1\x00', 0x1ff) r2 = openat(0xffffffffffffff9c, &(0x7f0000000380)='./config/dlm/cluster1/comms/1/addr\x00', 0x1, 0x0) prctl$PR_SET_IO_FLUSHER(0x41, 0x1) mmap(&(0x7f0000001000/0xc00000)=nil, 0xc00000, 0x0, 0x3032, 0xffffffffffffffff, 0x0) write(r2, &(0x7f00000003c0)='0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', 0x80) mkdirat(0xffffffffffffff9c, &(0x7f00000004c0)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000000500)='./debug\x00', &(0x7f0000000540)='debugfs\x00', 0x0, 0x0) r3 = openat(0xffffffffffffff9c, &(0x7f0000000580)='./debug/dlm/comms/1/rawmsg\x00', 0x1, 0x0) write(r3, &(0x7f00000005c0)='\x00'/16, 0x10) rmdir(&(0x7f0000000600)='./config/dlm/cluster1/comms/1\x00') sendmsg$nl_route_sched(r0, &(0x7f0000000080)={0x0, 0xffffffffffffff2d, &(0x7f00000000c0)={&(0x7f0000000180)=@newqdisc={0x2c, 0x24, 0x4ee4e6a52ff56541, 0x70bd2a, 0xfffffffd, {0x0, 0x0, 0x0, r1, {0x0, 0x1}, {0xffff, 0xffff}, {0xffe0, 0x9}}, [@qdisc_kind_options=@q_qfg={0x8}]}, 0x2c}}, 0x0) sendmsg$nl_route_sched(r0, &(0x7f00000001c0)={0x0, 0x0, &(0x7f0000000240)={&(0x7f0000000280)=@newtfilter={0x4c, 0x2c, 0xf3f, 0x30bd29, 0x25dfd3f5, {0x0, 0x0, 0x0, r1, {0x1, 0x6}, {}, {0x7, 0xe}}, [@filter_kind_options=@f_flow={{0x9}, {0x1c, 0x2, [@TCA_FLOW_MODE={0x8, 0x2, 0x1}, @TCA_FLOW_KEYS={0x8, 0x1, 0xfe2c}, @TCA_FLOW_MASK={0x8, 0x6, 0x6}]}}]}, 0x4c}, 0x1, 0x0, 0x0, 0x20041890}, 0x0) socket(0x400000000010, 0x3, 0x0) (async) ioctl$sock_SIOCGIFINDEX(r0, 0x8933, &(0x7f0000000000)={'gre0\x00'}) (async) mkdirat(0xffffffffffffff9c, &(0x7f0000000040)='./config\x00', 0x1ff) (async) mount(0x0, &(0x7f0000000100)='./config\x00', &(0x7f0000000140)='configfs\x00', 0x0, 0x0) (async) mkdirat(0xffffffffffffff9c, &(0x7f0000000200)='./config/dlm\x00', 0x1ff) (async) mkdirat(0xffffffffffffff9c, &(0x7f0000000300)='./config/dlm/cluster1\x00', 0x1ff) (async) mkdirat(0xffffffffffffff9c, &(0x7f0000000340)='./config/dlm/cluster1/comms/1\x00', 0x1ff) (async) openat(0xffffffffffffff9c, &(0x7f0000000380)='./config/dlm/cluster1/comms/1/addr\x00', 0x1, 0x0) (async) prctl$PR_SET_IO_FLUSHER(0x41, 0x1) (async) mmap(&(0x7f0000001000/0xc00000)=nil, 0xc00000, 0x0, 0x3032, 0xffffffffffffffff, 0x0) (async) write(r2, &(0x7f00000003c0)='0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', 0x80) (async) mkdirat(0xffffffffffffff9c, &(0x7f00000004c0)='./debug\x00', 0x1ff) (async) mount(0x0, &(0x7f0000000500)='./debug\x00', &(0x7f0000000540)='debugfs\x00', 0x0, 0x0) (async) openat(0xffffffffffffff9c, &(0x7f0000000580)='./debug/dlm/comms/1/rawmsg\x00', 0x1, 0x0) (async) write(r3, &(0x7f00000005c0)='\x00'/16, 0x10) (async) rmdir(&(0x7f0000000600)='./config/dlm/cluster1/comms/1\x00') (async) sendmsg$nl_route_sched(r0, &(0x7f0000000080)={0x0, 0xffffffffffffff2d, &(0x7f00000000c0)={&(0x7f0000000180)=@newqdisc={0x2c, 0x24, 0x4ee4e6a52ff56541, 0x70bd2a, 0xfffffffd, {0x0, 0x0, 0x0, r1, {0x0, 0x1}, {0xffff, 0xffff}, {0xffe0, 0x9}}, [@qdisc_kind_options=@q_qfg={0x8}]}, 0x2c}}, 0x0) (async) sendmsg$nl_route_sched(r0, &(0x7f00000001c0)={0x0, 0x0, &(0x7f0000000240)={&(0x7f0000000280)=@newtfilter={0x4c, 0x2c, 0xf3f, 0x30bd29, 0x25dfd3f5, {0x0, 0x0, 0x0, r1, {0x1, 0x6}, {}, {0x7, 0xe}}, [@filter_kind_options=@f_flow={{0x9}, {0x1c, 0x2, [@TCA_FLOW_MODE={0x8, 0x2, 0x1}, @TCA_FLOW_KEYS={0x8, 0x1, 0xfe2c}, @TCA_FLOW_MASK={0x8, 0x6, 0x6}]}}]}, 0x4c}, 0x1, 0x0, 0x0, 0x20041890}, 0x0) (async) [ 102.175940][ T4649] Bluetooth: hci0: command tx timeout [ 102.318469][ T5332] dlm: closing connection to node 1 [ 102.318806][ T5332] dlm: io handling for node: 1 stopped [ 102.319671][ T5332] dlm: closing connection to node 1 done [ 102.351832][ T5335] dlm: closing connection to node 1 [ 102.352206][ T5335] ------------[ cut here ]------------ [ 102.352215][ T5335] !con [ 102.352219][ T5335] WARNING: fs/dlm/lowcomms.c:1455 at dlm_lowcomms_close+0x12d/0x440, CPU#0: syz.0.0/5335 [ 102.366883][ T5335] Modules linked in: [ 102.368869][ T5335] CPU: 0 UID: 0 PID: 5335 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 102.373014][ T5335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 102.378970][ T5335] RIP: 0010:dlm_lowcomms_close+0x12d/0x440 [ 102.381730][ T5335] Code: a9 99 9f 00 eb a6 44 89 e1 80 e1 07 80 c1 03 38 c1 7c ac 4c 89 e7 e8 f2 32 12 01 eb a2 e8 8b 99 9f 00 eb 05 e8 84 99 9f 00 90 <0f> 0b 90 44 89 f7 e8 d8 31 5c 01 b8 fe ff ff ff 48 83 c4 20 5b 41 [ 102.390361][ T5335] RSP: 0018:ffffc9000f1a7c40 EFLAGS: 00010293 [ 102.393028][ T5335] RAX: ffffffff81287fe5 RBX: 0000000000000001 RCX: ffff888035454b00 [ 102.396631][ T5335] RDX: 0000000000000000 RSI: ffffffff8e6f99b5 RDI: ffffffff8c6e2480 [ 102.400381][ T5335] RBP: dffffc0000000000 R08: 0000000000000004 R09: ffffffff97bcd278 [ 102.404115][ T5335] R10: 000000005f862432 R11: 00000000f0096958 R12: 0000000000000000 [ 102.407723][ T5335] R13: ffffffff81287f18 R14: 0000000000000001 R15: 0000000000000000 [ 102.411513][ T5335] FS: 00007fabd9b926c0(0000) GS:ffff88808b0a5000(0000) knlGS:0000000000000000 [ 102.415622][ T5335] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 102.418713][ T5335] CR2: 00007fabd9aaafe8 CR3: 000000001395d000 CR4: 0000000000352ef0 [ 102.422707][ T5335] Call Trace: [ 102.424065][ T5335] [ 102.425295][ T5335] ? dlm_midcomms_close+0x3a9/0x4c0 [ 102.427670][ T5335] ? dlm_midcomms_close+0x4b/0x4c0 [ 102.430029][ T5335] drop_comm+0x61/0x190 [ 102.431886][ T5335] ? configfs_rmdir+0x850/0x950 [ 102.433800][ T5335] ? __pfx_drop_comm+0x10/0x10 [ 102.435834][ T5335] configfs_rmdir+0x85f/0x950 [ 102.438125][ T5335] vfs_rmdir+0x3e6/0x6a0 [ 102.440105][ T5335] ? bpf_lsm_path_rmdir+0x9/0x20 [ 102.442350][ T5335] filename_rmdir+0x292/0x520 [ 102.444356][ T5335] ? __pfx_filename_rmdir+0x10/0x10 [ 102.446767][ T5335] ? do_getname+0x151/0x250 [ 102.448933][ T5335] __se_sys_rmdir+0x2e/0x140 [ 102.451313][ T5335] do_syscall_64+0x166/0x520 [ 102.453901][ T5335] ? trace_irq_disable+0x3b/0x140 [ 102.456210][ T5335] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 102.459035][ T5335] ? clear_bhb_loop+0x70/0xc0 [ 102.461170][ T5335] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 102.463789][ T5335] RIP: 0033:0x7fabdd79f559 [ 102.465878][ T5335] 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 [ 102.474616][ T5335] RSP: 002b:00007fabd9b91fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 [ 102.478733][ T5335] RAX: ffffffffffffffda RBX: 00007fabdda26270 RCX: 00007fabdd79f559 [ 102.482571][ T5335] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000600 [ 102.485991][ T5335] RBP: 00007fabdd836b20 R08: 0000000000000000 R09: 0000000000000000 [ 102.489361][ T5335] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 102.492890][ T5335] R13: 00007fabdda26308 R14: 00007fabdda26270 R15: 00007ffc2aafc938 [ 102.496442][ T5335] [ 102.498031][ T5335] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 102.501252][ T5335] CPU: 0 UID: 0 PID: 5335 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 102.505271][ T5335] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 102.509810][ T5335] Call Trace: [ 102.511326][ T5335] [ 102.512661][ T5335] vpanic+0x56d/0xa60 [ 102.514458][ T5335] ? __pfx__printk+0x10/0x10 [ 102.516522][ T5335] ? __pfx_vpanic+0x10/0x10 [ 102.518565][ T5335] ? is_bpf_text_address+0x292/0x2b0 [ 102.520836][ T5335] ? is_bpf_text_address+0x26/0x2b0 [ 102.523038][ T5335] panic+0xc5/0xd0 [ 102.524738][ T5335] ? __pfx_panic+0x10/0x10 [ 102.526753][ T5335] __warn+0x315/0x4c0 [ 102.528517][ T5335] ? dlm_lowcomms_close+0x12d/0x440 [ 102.530962][ T5335] ? dlm_lowcomms_close+0x12d/0x440 [ 102.533246][ T5335] __report_bug+0x276/0x570 [ 102.535343][ T5335] ? check_path+0x21/0x40 [ 102.537209][ T5335] ? dlm_lowcomms_close+0x12d/0x440 [ 102.539074][ T5335] ? __pfx___report_bug+0x10/0x10 [ 102.541346][ T5335] ? lockdep_unlock+0x5c/0xd0 [ 102.544005][ T5335] ? __lock_acquire+0x1511/0x2de0 [ 102.546311][ T5335] ? dlm_lowcomms_close+0x12d/0x440 [ 102.548596][ T5335] report_bug+0x16b/0x220 [ 102.550480][ T5335] ? dlm_lowcomms_close+0x12d/0x440 [ 102.552569][ T5335] ? dlm_lowcomms_close+0x12f/0x440 [ 102.554641][ T5335] handle_bug+0x9c/0x200 [ 102.556326][ T5335] exc_invalid_op+0x1a/0x50 [ 102.558137][ T5335] asm_exc_invalid_op+0x1a/0x20 [ 102.560062][ T5335] RIP: 0010:dlm_lowcomms_close+0x12d/0x440 [ 102.562293][ T5335] Code: a9 99 9f 00 eb a6 44 89 e1 80 e1 07 80 c1 03 38 c1 7c ac 4c 89 e7 e8 f2 32 12 01 eb a2 e8 8b 99 9f 00 eb 05 e8 84 99 9f 00 90 <0f> 0b 90 44 89 f7 e8 d8 31 5c 01 b8 fe ff ff ff 48 83 c4 20 5b 41 [ 102.570246][ T5335] RSP: 0018:ffffc9000f1a7c40 EFLAGS: 00010293 [ 102.572896][ T5335] RAX: ffffffff81287fe5 RBX: 0000000000000001 RCX: ffff888035454b00 [ 102.576415][ T5335] RDX: 0000000000000000 RSI: ffffffff8e6f99b5 RDI: ffffffff8c6e2480 [ 102.579961][ T5335] RBP: dffffc0000000000 R08: 0000000000000004 R09: ffffffff97bcd278 [ 102.583494][ T5335] R10: 000000005f862432 R11: 00000000f0096958 R12: 0000000000000000 [ 102.586662][ T5335] R13: ffffffff81287f18 R14: 0000000000000001 R15: 0000000000000000 [ 102.589790][ T5335] ? dlm_lowcomms_close+0x58/0x440 [ 102.591827][ T5335] ? dlm_lowcomms_close+0x125/0x440 [ 102.599990][ T5335] ? dlm_midcomms_close+0x3a9/0x4c0 [ 102.601980][ T5335] ? dlm_midcomms_close+0x4b/0x4c0 [ 102.604107][ T5335] drop_comm+0x61/0x190 [ 102.606001][ T5335] ? configfs_rmdir+0x850/0x950 [ 102.608097][ T5335] ? __pfx_drop_comm+0x10/0x10 [ 102.610135][ T5335] configfs_rmdir+0x85f/0x950 [ 102.612373][ T5335] vfs_rmdir+0x3e6/0x6a0 [ 102.614341][ T5335] ? bpf_lsm_path_rmdir+0x9/0x20 [ 102.616398][ T5335] filename_rmdir+0x292/0x520 [ 102.618250][ T5335] ? __pfx_filename_rmdir+0x10/0x10 [ 102.620212][ T5335] ? do_getname+0x151/0x250 [ 102.622063][ T5335] __se_sys_rmdir+0x2e/0x140 [ 102.623899][ T5335] do_syscall_64+0x166/0x520 [ 102.625745][ T5335] ? trace_irq_disable+0x3b/0x140 [ 102.627800][ T5335] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 102.630241][ T5335] ? clear_bhb_loop+0x70/0xc0 [ 102.632348][ T5335] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 102.634571][ T5335] RIP: 0033:0x7fabdd79f559 [ 102.636377][ T5335] 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 [ 102.643994][ T5335] RSP: 002b:00007fabd9b91fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 [ 102.647498][ T5335] RAX: ffffffffffffffda RBX: 00007fabdda26270 RCX: 00007fabdd79f559 [ 102.650837][ T5335] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000600 [ 102.654189][ T5335] RBP: 00007fabdd836b20 R08: 0000000000000000 R09: 0000000000000000 [ 102.657601][ T5335] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 102.660929][ T5335] R13: 00007fabdda26308 R14: 00007fabdda26270 R15: 00007ffc2aafc938 [ 102.664409][ T5335] [ 102.666221][ T5335] Kernel Offset: disabled [ 102.668151][ T5335] Rebooting in 86400 seconds..