------------[ cut here ]------------ WARNING: CPU: 0 PID: 11788 at net/core/stream.c:205 sk_stream_kill_queues+0x2eb/0x3d0 net/core/stream.c:205 Modules linked in: CPU: 0 PID: 11788 Comm: syz-executor.3 Not tainted 5.17.0-rc1-syzkaller-00569-g52dae93f3bad #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:sk_stream_kill_queues+0x2eb/0x3d0 net/core/stream.c:205 Code: 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e ec 00 00 00 8b ab 30 02 00 00 e9 60 ff ff ff e8 2e 10 4e fa 0f 0b eb 97 e8 25 10 4e fa <0f> 0b eb a0 e8 1c 10 4e fa 0f 0b e9 6a fe ff ff e8 c0 80 95 fa e9 RSP: 0018:ffffc90000007c28 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000100 RDX: ffff8880310e8000 RSI: ffffffff872a4d2b RDI: 0000000000000003 RBP: 0000000000000f2a R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff872a4ccb R11: 0000000000000000 R12: ffff88801d23be30 R13: ffffffff908aa040 R14: ffff88801d23bc28 R15: 0000000000000000 FS: 00007fcb88a36700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2dc29000 CR3: 00000000292b7000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_csk_destroy_sock+0x1a5/0x440 net/ipv4/inet_connection_sock.c:1009 tcp_done+0x23b/0x340 net/ipv4/tcp.c:4451 tcp_write_err net/ipv4/tcp_timer.c:74 [inline] tcp_probe_timer net/ipv4/tcp_timer.c:395 [inline] tcp_write_timer_handler+0x447/0xbc0 net/ipv4/tcp_timer.c:626 tcp_write_timer+0xa2/0x2b0 net/ipv4/tcp_timer.c:642 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:91 [inline] RIP: 0010:lock_is_held_type+0x31/0x140 kernel/locking/lockdep.c:5675 Code: bd ff ff ff ff 41 54 55 53 48 83 ec 08 8b 0d f2 67 49 04 85 c9 0f 84 d9 00 00 00 65 8b 05 f7 e0 b7 76 85 c0 0f 85 ca 00 00 00 <65> 4c 8b 24 25 00 70 02 00 41 8b 94 24 5c 0a 00 00 85 d2 0f 85 b1 RSP: 0018:ffffc9000542f5c8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 1ffffffff1771a26 RSI: 00000000ffffffff RDI: ffffffff8bb83a20 RBP: 1ffff92000a85ec5 R08: 0000000000000000 R09: ffffffff8d93cd17 R10: fffffbfff1b279a2 R11: 0000000000000000 R12: 0000000000000001 R13: 00000000ffffffff R14: ffff88802f003a00 R15: ffff888010c67810 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x522/0x720 kernel/locking/lockdep.c:5650 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:389 [inline] __kernfs_new_node+0x1f7/0x8b0 fs/kernfs/dir.c:596 kernfs_new_node+0x93/0x120 fs/kernfs/dir.c:647 __kernfs_create_file+0x51/0x350 fs/kernfs/file.c:987 sysfs_add_file_mode_ns+0x20f/0x3f0 fs/sysfs/file.c:294 create_files fs/sysfs/group.c:64 [inline] internal_create_group+0x322/0xb10 fs/sysfs/group.c:148 internal_create_groups.part.0+0x90/0x140 fs/sysfs/group.c:188 internal_create_groups fs/sysfs/group.c:184 [inline] sysfs_create_groups+0x25/0x50 fs/sysfs/group.c:214 setup_gid_attrs drivers/infiniband/core/sysfs.c:1169 [inline] ib_setup_port_attrs+0x3e7/0x5c0 drivers/infiniband/core/sysfs.c:1441 add_one_compat_dev+0x517/0x7f0 drivers/infiniband/core/device.c:968 rdma_dev_init_net+0x28b/0x480 drivers/infiniband/core/device.c:1184 ops_init+0xaf/0x470 net/core/net_namespace.c:140 setup_net+0x554/0xbb0 net/core/net_namespace.c:331 copy_net_ns+0x318/0x760 net/core/net_namespace.c:477 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:226 ksys_unshare+0x445/0x920 kernel/fork.c:3048 __do_sys_unshare kernel/fork.c:3119 [inline] __se_sys_unshare kernel/fork.c:3117 [inline] __x64_sys_unshare+0x2d/0x40 kernel/fork.c:3117 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fcb8a0c1059 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcb88a36168 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007fcb8a1d3f60 RCX: 00007fcb8a0c1059 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000400 RBP: 00007fcb8a11b08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd5ee4f95f R14: 00007fcb88a36300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: bd ff ff ff ff mov $0xffffffff,%ebp 5: 41 54 push %r12 7: 55 push %rbp 8: 53 push %rbx 9: 48 83 ec 08 sub $0x8,%rsp d: 8b 0d f2 67 49 04 mov 0x44967f2(%rip),%ecx # 0x4496805 13: 85 c9 test %ecx,%ecx 15: 0f 84 d9 00 00 00 je 0xf4 1b: 65 8b 05 f7 e0 b7 76 mov %gs:0x76b7e0f7(%rip),%eax # 0x76b7e119 22: 85 c0 test %eax,%eax 24: 0f 85 ca 00 00 00 jne 0xf4 * 2a: 65 4c 8b 24 25 00 70 mov %gs:0x27000,%r12 <-- trapping instruction 31: 02 00 33: 41 8b 94 24 5c 0a 00 mov 0xa5c(%r12),%edx 3a: 00 3b: 85 d2 test %edx,%edx 3d: 0f .byte 0xf 3e: 85 .byte 0x85 3f: b1 .byte 0xb1