------------[ cut here ]------------
WARNING: CPU: 0 PID: 1064 at net/mptcp/subflow.c:1405 subflow_data_ready+0x3a0/0x690 net/mptcp/subflow.c:1405
Modules linked in:
CPU: 0 PID: 1064 Comm: syz-executor.4 Not tainted 6.7.0-rc3-syzkaller-00805-g5a08d0065a91 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:subflow_data_ready+0x3a0/0x690 net/mptcp/subflow.c:1405
Code: 89 ee e8 c3 a1 21 f7 40 84 ed 75 21 e8 89 a6 21 f7 44 89 fe bf 07 00 00 00 e8 ec a1 21 f7 41 83 ff 07 74 09 e8 71 a6 21 f7 90 <0f> 0b 90 e8 68 a6 21 f7 48 89 df e8 e0 b2 ff ff 31 ff 89 c5 89 c6
RSP: 0018:ffffc90000007598 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88806a85a580 RCX: ffffffff8a65ebd4
RDX: ffff888056ab5940 RSI: ffffffff8a65ebdf RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000007
R10: 000000000000000b R11: ffffffff815e7526 R12: 1ffff92000000eb3
R13: ffff88802b12c680 R14: ffff888027063200 R15: 000000000000000b
FS: 00007fb15a56e6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31a24000 CR3: 0000000037eba000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tcp_data_ready+0x14c/0x5b0 net/ipv4/tcp_input.c:5121
tcp_data_queue+0x19bb/0x5190 net/ipv4/tcp_input.c:5201
tcp_rcv_state_process+0x11d2/0x4e30 net/ipv4/tcp_input.c:6837
tcp_v4_do_rcv+0x369/0xa10 net/ipv4/tcp_ipv4.c:1935
tcp_v4_rcv+0x3892/0x3b40 net/ipv4/tcp_ipv4.c:2335
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+0x1b8/0x2e0 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:5528
__netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5642
process_backlog+0x101/0x6b0 net/core/dev.c:5970
__napi_poll.constprop.0+0xb4/0x540 net/core/dev.c:6570
napi_poll net/core/dev.c:6639 [inline]
net_rx_action+0x956/0xe90 net/core/dev.c:6772
__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:645
RIP: 0010:lock_acquire+0x1ef/0x520 kernel/locking/lockdep.c:5722
Code: c1 05 bd 6c 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:ffffc9000a6ff740 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff920014dfeea RCX: ffffffff81672c0e
RDX: 0000000000000001 RSI: ffffffff8accbae0 RDI: ffffffff8b2f13c0
RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff23e2bd1
R10: ffffffff91f15e8f R11: 0000000000000003 R12: 0000000000000001
R13: 0000000000000000 R14: ffffffff8d1dc218 R15: 0000000000000000
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:351 [inline]
kernfs_put.part.0+0x1d1/0x490 fs/kernfs/dir.c:566
kernfs_put+0x47/0x50 fs/kernfs/dir.c:543
kernfs_remove_by_name_ns+0xbc/0x130 fs/kernfs/dir.c:1674
kernfs_remove_by_name include/linux/kernfs.h:623 [inline]
remove_files+0x96/0x1c0 fs/sysfs/group.c:28
sysfs_remove_group+0x8b/0x180 fs/sysfs/group.c:292
sysfs_remove_groups fs/sysfs/group.c:316 [inline]
sysfs_remove_groups+0x60/0xa0 fs/sysfs/group.c:308
device_remove_groups drivers/base/core.c:2734 [inline]
device_remove_attrs+0x200/0x290 drivers/base/core.c:2915
device_del+0x392/0xa50 drivers/base/core.c:3813
unregister_netdevice_many_notify+0xc93/0x1a10 net/core/dev.c:11107
vti6_exit_batch_net+0x3b7/0x720 net/ipv6/ip6_vti.c:1188
ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
setup_net+0x64d/0xa40 net/core/net_namespace.c:362
copy_net_ns+0x2fa/0x670 net/core/net_namespace.c:491
create_new_namespaces+0x3ea/0xb10 kernel/nsproxy.c:110
unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228
ksys_unshare+0x443/0x9b0 kernel/fork.c:3433
__do_sys_unshare kernel/fork.c:3504 [inline]
__se_sys_unshare kernel/fork.c:3502 [inline]
__x64_sys_unshare+0x31/0x40 kernel/fork.c:3502
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fb15987cba9
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:00007fb15a56e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007fb15999bf80 RCX: 00007fb15987cba9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000044020000
RBP: 00007fb1598c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fb15999bf80 R15: 00007ffd699ae5c8
----------------
Code disassembly (best guess):
0: c1 05 bd 6c 9a 7e 83 roll $0x83,0x7e9a6cbd(%rip) # 0x7e9a6cc4
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