BUG: please report to dccp@vger.kernel.org => prev = 2, last = 2 at net/dccp/ccids/lib/packet_history.c:414/tfrc_rx_hist_sample_rtt()
CPU: 0 PID: 5099 Comm: syz-executor.5 Not tainted 6.7.0-rc8-syzkaller-00120-g3f14b377d01d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
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:lock_acquire+0x1ef/0x520 kernel/locking/lockdep.c:5722
Code: c1 05 3d 84 9a 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24
RSP: 0018:ffffc90003d5fb40 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff920007abf6a RCX: ffffffff8167148e
RDX: 0000000000000001 RSI: ffffffff8accb1c0 RDI: ffffffff8b2f0220
RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff23e39d2
R10: ffffffff91f1ce97 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: ffffffff8cc0a098 R15: 0000000000000000
__raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
_raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228
__do_wait+0x105/0x890 kernel/exit.c:1582
do_wait+0x212/0x530 kernel/exit.c:1626
kernel_wait4+0x16d/0x280 kernel/exit.c:1785
__do_sys_wait4+0x15b/0x170 kernel/exit.c:1813
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:0x7f3d54479757
Code: 89 7c 24 10 48 89 4c 24 18 e8 d5 a3 02 00 4c 8b 54 24 18 8b 54 24 14 41 89 c0 48 8b 74 24 08 8b 7c 24 10 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 89 44 24 10 e8 25 a4 02 00 8b 44
RSP: 002b:00007ffc69d87b50 EFLAGS: 00000293 ORIG_RAX: 000000000000003d
RAX: ffffffffffffffda RBX: 0000000000003616 RCX: 00007f3d54479757
RDX: 0000000040000001 RSI: 00007ffc69d87bdc RDI: 00000000ffffffff
RBP: 00007ffc69d87bdc R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 00000000002d0cc8 R14: 00000000002d0c01 R15: 0000000000000007
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: 4098 Comm: syz-executor.1 Not tainted 6.7.0-rc8-syzkaller-00120-g3f14b377d01d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
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:__sanitizer_cov_trace_pc+0x34/0x60 kernel/kcov.c:207
Code: bc 03 00 65 8b 05 64 4a 7c 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 fc 15 00 00 85 c0 74 2b 8b 82 d8 15 00 00 <83> f8 02 75 20 48 8b 8a e0 15 00 00 8b 92 dc 15 00 00 48 8b 01 48
RSP: 0018:ffffc9000a13f4a8 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffffffff8f9a664c RCX: ffffffff8139ebf4
RDX: ffff88803010d940 RSI: ffffffff8139ebfe RDI: 0000000000000006
RBP: ffffffff8f9a6688 R08: 0000000000000006 R09: ffffffff8aa0008a
R10: ffffffff8aa000b8 R11: 0000000000000000 R12: ffffffff8aa0008a
R13: ffffffff8aa000b8 R14: dffffc0000000000 R15: ffffffff8f9a6668
__orc_find+0xce/0x130 arch/x86/kernel/unwind_orc.c:106
orc_find arch/x86/kernel/unwind_orc.c:227 [inline]
unwind_next_frame+0x329/0x2390 arch/x86/kernel/unwind_orc.c:494
arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x50 mm/kasan/common.c:45
kasan_set_track+0x25/0x30 mm/kasan/common.c:52
kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522
____kasan_slab_free mm/kasan/common.c:236 [inline]
____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200
kasan_slab_free include/linux/kasan.h:164 [inline]
slab_free_hook mm/slub.c:1800 [inline]
slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826
slab_free mm/slub.c:3809 [inline]
__kmem_cache_free+0xc0/0x180 mm/slub.c:3822
__sock_kfree_s net/core/sock.c:2709 [inline]
sock_kfree_s+0x28/0x60 net/core/sock.c:2715
____sys_sendmsg+0x3d3/0x940 net/socket.c:2600
___sys_sendmsg+0x135/0x1d0 net/socket.c:2640
__sys_sendmmsg+0x1a1/0x450 net/socket.c:2726
__do_sys_sendmmsg net/socket.c:2755 [inline]
__se_sys_sendmmsg net/socket.c:2752 [inline]
__x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2752
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:0x7fa15d27cd29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa15e02d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007fa15d3abf80 RCX: 00007fa15d27cd29
RDX: 0000000000000003 RSI: 00000000200017c0 RDI: 0000000000000004
RBP: 00007fa15d2c947a R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000c000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fa15d3abf80 R15: 00007ffefc1d3378
----------------
Code disassembly (best guess):
0: c1 05 3d 84 9a 7e 83 roll $0x83,0x7e9a843d(%rip) # 0x7e9a8444
7: f8 clc
8: 01 0f add %ecx,(%rdi)
a: 85 b4 02 00 00 9c 58 test %esi,0x589c0000(%rdx,%rax,1)
11: f6 c4 02 test $0x2,%ah
14: 0f 85 9f 02 00 00 jne 0x2b9
1a: 48 85 ed test %rbp,%rbp
1d: 74 01 je 0x20
1f: fb sti
20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
27: fc ff df
* 2a: 48 01 c3 add %rax,%rbx <-- trapping instruction
2d: 48 c7 03 00 00 00 00 movq $0x0,(%rbx)
34: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx)
3b: 00
3c: 48 rex.W
3d: 8b .byte 0x8b
3e: 84 .byte 0x84
3f: 24 .byte 0x24