------------[ cut here ]------------
WARNING: CPU: 0 PID: 54 at net/core/stream.c:205 sk_stream_kill_queues+0x2eb/0x3d0 net/core/stream.c:205
Modules linked in:
CPU: 0 PID: 54 Comm: kworker/u4:3 Not tainted 5.17.0-rc1-syzkaller-00603-g9c30918925d7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
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 fe 0a 4e fa 0f 0b eb 97 e8 f5 0a 4e fa <0f> 0b eb a0 e8 ec 0a 4e fa 0f 0b e9 6a fe ff ff e8 90 7b 95 fa e9
RSP: 0018:ffffc90000007c28 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000100
RDX: ffff888013dc3a00 RSI: ffffffff872a525b RDI: 0000000000000003
RBP: 0000000000000fff R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff872a51fb R11: 0000000000000000 R12: ffff888076941a30
R13: ffffffff908aa040 R14: ffff888076941828 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6437ba5300 CR3: 0000000046ad4000 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:rcu_preempt_read_enter kernel/rcu/tree_plugin.h:377 [inline]
RIP: 0010:__rcu_read_lock+0x3c/0xf0 kernel/rcu/tree_plugin.h:400
Code: 70 02 00 48 8d bb 3c 04 00 00 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 9e 00 00 00 <65> 48 8b 2c 25 00 70 02 00 48 8d bd 3c 04 00 00 8b 9b 3c 04 00 00
RSP: 0018:ffffc90001a2fc80 EFLAGS: 00000246
RAX: 0000000000000007 RBX: ffff888013dc3a00 RCX: ffff888074964240
RDX: 0000000000000000 RSI: ffffffff88e648c5 RDI: ffff888013dc3e3c
RBP: 0000000000000001 R08: 00000000000003e8 R09: 0000000000000000
R10: ffffffff88e65081 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: dffffc0000000000 R15: 00000000000003e8
rcu_read_lock include/linux/rcupdate.h:692 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0x108/0xfa0 net/batman-adv/network-coding.c:719
process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307
worker_thread+0x657/0x1110 kernel/workqueue.c:2454
kthread+0x2e9/0x3a0 kernel/kthread.c:377
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
irq event stamp: 25946700
hardirqs last enabled at (25946710): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
hardirqs last disabled at (25946717): [] console_unlock+0x8e4/0xb70 kernel/printk/printk.c:2707
softirqs last enabled at (25944860): [] spin_unlock_bh include/linux/spinlock.h:394 [inline]
softirqs last enabled at (25944860): [] batadv_nc_purge_paths+0x2a5/0x3a0 net/batman-adv/network-coding.c:471
softirqs last disabled at (25944867): [] invoke_softirq kernel/softirq.c:432 [inline]
softirqs last disabled at (25944867): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 54 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x6bf/0x880 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 0 PID: 54 Comm: kworker/u4:3 Tainted: G W 5.17.0-rc1-syzkaller-00603-g9c30918925d7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:inet_sock_destruct+0x6bf/0x880 net/ipv4/af_inet.c:154
Code: ff e8 f5 53 b6 f9 0f 0b e9 df fd ff ff e8 e9 53 b6 f9 0f 0b e9 30 fe ff ff e8 dd 53 b6 f9 0f 0b e9 6b fe ff ff e8 d1 53 b6 f9 <0f> 0b e9 d8 fe ff ff e8 65 c4 fd f9 e9 a2 fc ff ff 4c 89 ef e8 68
RSP: 0018:ffffc90000007c10 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000fff RCX: 0000000000000100
RDX: ffff888013dc3a00 RSI: ffffffff87c2097f RDI: 0000000000000003
RBP: ffff888076941828 R08: 0000000000000000 R09: ffff888076941a7f
R10: ffffffff87c20856 R11: 0000000000000000 R12: ffff888076941800
R13: ffff888076941a7c R14: 0000000000000001 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6437ba5300 CR3: 0000000046ad4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__sk_destruct+0x4f/0x920 net/core/sock.c:2028
sk_destruct+0x131/0x180 net/core/sock.c:2076
__sk_free+0xef/0x3d0 net/core/sock.c:2087
sk_free+0x78/0xa0 net/core/sock.c:2098
----------------
Code disassembly (best guess):
0: 70 02 jo 0x4
2: 00 48 8d add %cl,-0x73(%rax)
5: bb 3c 04 00 00 mov $0x43c,%ebx
a: 48 89 fa mov %rdi,%rdx
d: 48 c1 ea 03 shr $0x3,%rdx
11: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx
15: 48 89 f8 mov %rdi,%rax
18: 83 e0 07 and $0x7,%eax
1b: 83 c0 03 add $0x3,%eax
1e: 38 d0 cmp %dl,%al
20: 7c 08 jl 0x2a
22: 84 d2 test %dl,%dl
24: 0f 85 9e 00 00 00 jne 0xc8
* 2a: 65 48 8b 2c 25 00 70 mov %gs:0x27000,%rbp <-- trapping instruction
31: 02 00
33: 48 8d bd 3c 04 00 00 lea 0x43c(%rbp),%rdi
3a: 8b 9b 3c 04 00 00 mov 0x43c(%rbx),%ebx