BUG: please report to dccp@vger.kernel.org => prev = 0, last = 0 at net/dccp/ccids/lib/packet_history.c:414/tfrc_rx_hist_sample_rtt() CPU: 0 PID: 5210 Comm: syz-executor.0 Not tainted 6.7.0-rc7-syzkaller-00049-g453f5db0619e #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106 tfrc_rx_hist_sample_rtt+0x3dd/0x4a0 net/dccp/ccids/lib/packet_history.c:414 ccid3_hc_rx_packet_recv+0x443/0xf50 net/dccp/ccids/ccid3.c:760 ccid_hc_rx_packet_recv net/dccp/ccid.h:182 [inline] dccp_deliver_input_to_ccids+0xe3/0x260 net/dccp/input.c:176 dccp_rcv_established net/dccp/input.c:374 [inline] dccp_rcv_established+0x106/0x160 net/dccp/input.c:364 dccp_v4_do_rcv+0x169/0x1b0 net/dccp/ipv4.c:675 sk_backlog_rcv include/net/sock.h:1121 [inline] __sk_receive_skb+0x2af/0x840 net/core/sock.c:571 dccp_v4_rcv+0x128a/0x1980 net/dccp/ipv4.c:898 ip_protocol_deliver_rcu+0x9f/0x480 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x2e4/0x510 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ip_local_deliver+0x18e/0x1f0 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:461 [inline] ip_rcv_finish+0x1c4/0x2f0 net/ipv4/ip_input.c:449 NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ip_rcv+0xaf/0xd0 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core+0x115/0x180 net/core/dev.c:5532 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5646 process_backlog+0x101/0x6b0 net/core/dev.c:5974 __napi_poll.constprop.0+0xb4/0x540 net/core/dev.c:6536 napi_poll net/core/dev.c:6605 [inline] net_rx_action+0x956/0xe90 net/core/dev.c:6738 __do_softirq+0x21a/0x8de kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x70 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 56 37 e4 f6 48 89 df e8 3e af e4 f6 f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f 01 00 00 00 e8 f5 67 d6 f6 65 8b 05 76 0d 81 75 85 c0 74 12 5b RSP: 0018:ffffc90003917be8 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff88801f283890 RCX: 1ffffffff1e30821 RDX: 0000000000000000 RSI: ffffffff8acc9f40 RDI: ffffffff8b2ed520 RBP: 0000000000000286 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8f187397 R11: ffffffff815d4f96 R12: 0000000000002886 R13: ffff88801a7e60f0 R14: ffff888018cbed78 R15: ffff88801f283800 pipe_write+0x305/0x1bc0 fs/pipe.c:605 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x64f/0xdf0 fs/read_write.c:584 ksys_write+0x1f0/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fa22ec7ba2f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48 RSP: 002b:00007ffe736e8630 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000005566 RCX: 00007fa22ec7ba2f RDX: 000000000000000c RSI: 00007ffe736e8720 RDI: 00000000000000f8 RBP: 00007ffe736e86bc R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 00000000002ea24d R14: 00000000002ea248 R15: 0000000000000002 ---------------- Code disassembly (best guess): 0: f5 cmc 1: 53 push %rbx 2: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 7: 48 89 fb mov %rdi,%rbx a: 48 83 c7 18 add $0x18,%rdi e: e8 56 37 e4 f6 call 0xf6e43769 13: 48 89 df mov %rbx,%rdi 16: e8 3e af e4 f6 call 0xf6e4af59 1b: f7 c5 00 02 00 00 test $0x200,%ebp 21: 75 1f jne 0x42 23: 9c pushf 24: 58 pop %rax 25: f6 c4 02 test $0x2,%ah 28: 75 2f jne 0x59 * 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2f: e8 f5 67 d6 f6 call 0xf6d66829 34: 65 8b 05 76 0d 81 75 mov %gs:0x75810d76(%rip),%eax # 0x75810db1 3b: 85 c0 test %eax,%eax 3d: 74 12 je 0x51 3f: 5b pop %rbx