------------[ cut here ]------------ WARNING: CPU: 0 PID: 9523 at net/mptcp/protocol.c:629 __mptcp_move_skbs_from_subflow+0x2cbc/0x2dac net/mptcp/protocol.c:629 Modules linked in: CPU: 0 PID: 9523 Comm: syz.3.1296 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __mptcp_move_skbs_from_subflow+0x2cbc/0x2dac net/mptcp/protocol.c:629 lr : __mptcp_move_skbs_from_subflow+0x2cbc/0x2dac net/mptcp/protocol.c:629 sp : ffff80001fb16550 x29: ffff80001fb166e0 x28: 0000000000020000 x27: 0000000000020000 x26: dfff800000000000 x25: 0000000000000000 x24: ffff0000e8372488 x23: 0000000000000000 x22: ffff0000dc0dd770 x21: ffff0000c884504c x20: 000000000000059a x19: 0000000000000529 x18: 0000000000000102 x17: 0000000000000000 x16: ffff8000084c5eb8 x15: 0000000000000004 x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000303 x10: 0000000000000000 x9 : ffff0000d7d1b680 x8 : ffff800011a65de4 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000008 x3 : ffff800011a64118 x2 : 0000000000000001 x1 : 000000000000059a x0 : 0000000000000529 Call trace: __mptcp_move_skbs_from_subflow+0x2cbc/0x2dac net/mptcp/protocol.c:629 move_skbs_to_msk net/mptcp/protocol.c:741 [inline] mptcp_data_ready+0x188/0x4f4 net/mptcp/protocol.c:784 subflow_data_ready+0x198/0x280 net/mptcp/subflow.c:1337 tcp_data_ready+0x22c/0x454 net/ipv4/tcp_input.c:5054 tcp_data_queue+0x1c14/0x5288 net/ipv4/tcp_input.c:5124 tcp_rcv_established+0xa58/0x1f40 net/ipv4/tcp_input.c:6023 tcp_v4_do_rcv+0x340/0xc70 net/ipv4/tcp_ipv4.c:1728 tcp_v4_rcv+0x1fd8/0x2770 net/ipv4/tcp_ipv4.c:2140 ip_protocol_deliver_rcu+0x36c/0x770 net/ipv4/ip_input.c:204 ip_local_deliver_finish+0x1b8/0x30c net/ipv4/ip_input.c:231 NF_HOOK+0x324/0x3d0 include/linux/netfilter.h:302 ip_local_deliver+0x11c/0x190 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:453 [inline] ip_rcv_finish+0x22c/0x264 net/ipv4/ip_input.c:447 NF_HOOK+0x324/0x3d0 include/linux/netfilter.h:302 ip_rcv+0x78/0x98 net/ipv4/ip_input.c:566 __netif_receive_skb_one_core net/core/dev.c:5485 [inline] __netif_receive_skb+0x18c/0x400 net/core/dev.c:5599 process_backlog+0x3ec/0x7e0 net/core/dev.c:6476 __napi_poll+0xb4/0x624 net/core/dev.c:7035 napi_poll net/core/dev.c:7102 [inline] net_rx_action+0x500/0xc10 net/core/dev.c:7192 handle_softirqs+0x384/0xdbc kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] do_softirq+0xfc/0x1b0 kernel/softirq.c:459 __local_bh_enable_ip+0x298/0x470 kernel/softirq.c:383 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0xf8/0x180 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:408 [inline] unlock_sock_fast include/net/sock.h:1737 [inline] mptcp_subflow_cleanup_rbuf net/mptcp/protocol.c:472 [inline] mptcp_cleanup_rbuf net/mptcp/protocol.c:503 [inline] mptcp_recvmsg+0xc84/0x2060 net/mptcp/protocol.c:2087 inet_recvmsg+0x128/0x214 net/ipv4/af_inet.c:870 sock_recvmsg_nosec net/socket.c:966 [inline] sock_recvmsg net/socket.c:984 [inline] __sys_recvfrom+0x33c/0x4ac net/socket.c:2115 __do_sys_recvfrom net/socket.c:2133 [inline] __se_sys_recvfrom net/socket.c:2129 [inline] __arm64_sys_recvfrom+0xd8/0xf8 net/socket.c:2129 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 2221 hardirqs last enabled at (2220): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (2221): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (264): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (264): [] unlock_sock_fast include/net/sock.h:1737 [inline] softirqs last enabled at (264): [] mptcp_subflow_cleanup_rbuf net/mptcp/protocol.c:472 [inline] softirqs last enabled at (264): [] mptcp_cleanup_rbuf net/mptcp/protocol.c:503 [inline] softirqs last enabled at (264): [] mptcp_recvmsg+0xc84/0x2060 net/mptcp/protocol.c:2087 softirqs last disabled at (265): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (265): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (265): [] do_softirq+0xfc/0x1b0 kernel/softirq.c:459 ---[ end trace a42c4d41395a7716 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 9523 at net/mptcp/protocol.c:632 __mptcp_move_skbs_from_subflow+0x1f6c/0x2dac net/mptcp/protocol.c:632 Modules linked in: CPU: 0 PID: 9523 Comm: syz.3.1296 Tainted: G W 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __mptcp_move_skbs_from_subflow+0x1f6c/0x2dac net/mptcp/protocol.c:632 lr : __mptcp_move_skbs_from_subflow+0x1f6c/0x2dac net/mptcp/protocol.c:632 sp : ffff80001fb16550 x29: ffff80001fb166e0 x28: 1fffe0001b578a52 x27: 00000000fffffa66 x26: dfff800000000000 x25: 0000000000001084 x24: ffff0000e8372488 x23: 0000000000000000 x22: 0000000000000000 x21: 00000000d5376909 x20: ffff0000dabc5268 x19: ffff0000c88449c0 x18: 0000000000000102 x17: 0000000000000000 x16: ffff8000084c5eb8 x15: 0000000000000001 x14: 1ffff0000295806a x13: dfff800000000000 x12: ffff700003f62ccc x11: 0000000000000303 x10: 0000000000000000 x9 : ffff0000d7d1b680 x8 : ffff800011a65094 x7 : ffff800011a58470 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000830545c x2 : ffff80001fb16760 x1 : 00000000fffffa66 x0 : 0000000000000aea Call trace: __mptcp_move_skbs_from_subflow+0x1f6c/0x2dac net/mptcp/protocol.c:632 move_skbs_to_msk net/mptcp/protocol.c:741 [inline] mptcp_data_ready+0x188/0x4f4 net/mptcp/protocol.c:784 subflow_data_ready+0x198/0x280 net/mptcp/subflow.c:1337 tcp_data_ready+0x22c/0x454 net/ipv4/tcp_input.c:5054 tcp_data_queue+0x1c14/0x5288 net/ipv4/tcp_input.c:5124 tcp_rcv_established+0xa58/0x1f40 net/ipv4/tcp_input.c:6023 tcp_v4_do_rcv+0x340/0xc70 net/ipv4/tcp_ipv4.c:1728 tcp_v4_rcv+0x1fd8/0x2770 net/ipv4/tcp_ipv4.c:2140 ip_protocol_deliver_rcu+0x36c/0x770 net/ipv4/ip_input.c:204 ip_local_deliver_finish+0x1b8/0x30c net/ipv4/ip_input.c:231 NF_HOOK+0x324/0x3d0 include/linux/netfilter.h:302 ip_local_deliver+0x11c/0x190 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:453 [inline] ip_rcv_finish+0x22c/0x264 net/ipv4/ip_input.c:447 NF_HOOK+0x324/0x3d0 include/linux/netfilter.h:302 ip_rcv+0x78/0x98 net/ipv4/ip_input.c:566 __netif_receive_skb_one_core net/core/dev.c:5485 [inline] __netif_receive_skb+0x18c/0x400 net/core/dev.c:5599 process_backlog+0x3ec/0x7e0 net/core/dev.c:6476 __napi_poll+0xb4/0x624 net/core/dev.c:7035 napi_poll net/core/dev.c:7102 [inline] net_rx_action+0x500/0xc10 net/core/dev.c:7192 handle_softirqs+0x384/0xdbc kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] do_softirq+0xfc/0x1b0 kernel/softirq.c:459 __local_bh_enable_ip+0x298/0x470 kernel/softirq.c:383 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0xf8/0x180 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:408 [inline] unlock_sock_fast include/net/sock.h:1737 [inline] mptcp_subflow_cleanup_rbuf net/mptcp/protocol.c:472 [inline] mptcp_cleanup_rbuf net/mptcp/protocol.c:503 [inline] mptcp_recvmsg+0xc84/0x2060 net/mptcp/protocol.c:2087 inet_recvmsg+0x128/0x214 net/ipv4/af_inet.c:870 sock_recvmsg_nosec net/socket.c:966 [inline] sock_recvmsg net/socket.c:984 [inline] __sys_recvfrom+0x33c/0x4ac net/socket.c:2115 __do_sys_recvfrom net/socket.c:2133 [inline] __se_sys_recvfrom net/socket.c:2129 [inline] __arm64_sys_recvfrom+0xd8/0xf8 net/socket.c:2129 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 2305 hardirqs last enabled at (2304): [] __local_bh_enable_ip+0x230/0x470 kernel/softirq.c:388 hardirqs last disabled at (2305): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (264): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (264): [] unlock_sock_fast include/net/sock.h:1737 [inline] softirqs last enabled at (264): [] mptcp_subflow_cleanup_rbuf net/mptcp/protocol.c:472 [inline] softirqs last enabled at (264): [] mptcp_cleanup_rbuf net/mptcp/protocol.c:503 [inline] softirqs last enabled at (264): [] mptcp_recvmsg+0xc84/0x2060 net/mptcp/protocol.c:2087 softirqs last disabled at (265): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (265): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (265): [] do_softirq+0xfc/0x1b0 kernel/softirq.c:459 ---[ end trace a42c4d41395a7717 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 9523 at net/mptcp/subflow.c:850 skb_is_fully_mapped net/mptcp/subflow.c:850 [inline] WARNING: CPU: 0 PID: 9523 at net/mptcp/subflow.c:850 get_mapping_status net/mptcp/subflow.c:1061 [inline] WARNING: CPU: 0 PID: 9523 at net/mptcp/subflow.c:850 subflow_check_data_avail net/mptcp/subflow.c:1175 [inline] WARNING: CPU: 0 PID: 9523 at net/mptcp/subflow.c:850 mptcp_subflow_data_available+0x1b24/0x3560 net/mptcp/subflow.c:1273 Modules linked in: CPU: 0 PID: 9523 Comm: syz.3.1296 Tainted: G W 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : skb_is_fully_mapped net/mptcp/subflow.c:850 [inline] pc : get_mapping_status net/mptcp/subflow.c:1061 [inline] pc : subflow_check_data_avail net/mptcp/subflow.c:1175 [inline] pc : mptcp_subflow_data_available+0x1b24/0x3560 net/mptcp/subflow.c:1273 lr : skb_is_fully_mapped net/mptcp/subflow.c:850 [inline] lr : get_mapping_status net/mptcp/subflow.c:1061 [inline] lr : subflow_check_data_avail net/mptcp/subflow.c:1175 [inline] lr : mptcp_subflow_data_available+0x1b24/0x3560 net/mptcp/subflow.c:1273 sp : ffff80001fb16640 x29: ffff80001fb167a0 x28: ffff0000c141bc00 x27: 1fffe0001828378a x26: 00000000000101e9 x25: 00000000000015f9 x24: 00000000ffffef7c x23: ffff0000dc0dd4e8 x22: 0000000000000000 x21: ffff0000c141bc54 x20: dfff800000000000 x19: 00000000d5376909 x18: 0000000000000102 x17: 0000000000000000 x16: ffff8000084c5eb8 x15: 0000000000000001 x14: 0000000011abdfd8 x13: 0000000000000043 x12: 0000000000000001 x11: 0000000000000102 x10: 0000000000000000 x9 : ffff0000d7d1b680 x8 : ffff800011a75c70 x7 : 0000000000000000 x6 : 0200000000000014 x5 : ffff0000e4123130 x4 : 0000000000000000 x3 : ffff800011a81168 x2 : 0000000000000000 x1 : 00000000ffffef7c x0 : 0000000000000575 Call trace: skb_is_fully_mapped net/mptcp/subflow.c:850 [inline] get_mapping_status net/mptcp/subflow.c:1061 [inline] subflow_check_data_avail net/mptcp/subflow.c:1175 [inline] mptcp_subflow_data_available+0x1b24/0x3560 net/mptcp/subflow.c:1273 subflow_data_ready+0x184/0x280 net/mptcp/subflow.c:1336 tcp_data_ready+0x22c/0x454 net/ipv4/tcp_input.c:5054 tcp_data_queue+0x1c14/0x5288 net/ipv4/tcp_input.c:5124 tcp_rcv_established+0xa58/0x1f40 net/ipv4/tcp_input.c:6023 tcp_v4_do_rcv+0x340/0xc70 net/ipv4/tcp_ipv4.c:1728 tcp_v4_rcv+0x1fd8/0x2770 net/ipv4/tcp_ipv4.c:2140 ip_protocol_deliver_rcu+0x36c/0x770 net/ipv4/ip_input.c:204 ip_local_deliver_finish+0x1b8/0x30c net/ipv4/ip_input.c:231 NF_HOOK+0x324/0x3d0 include/linux/netfilter.h:302 ip_local_deliver+0x11c/0x190 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:453 [inline] ip_rcv_finish+0x22c/0x264 net/ipv4/ip_input.c:447 NF_HOOK+0x324/0x3d0 include/linux/netfilter.h:302 ip_rcv+0x78/0x98 net/ipv4/ip_input.c:566 __netif_receive_skb_one_core net/core/dev.c:5485 [inline] __netif_receive_skb+0x18c/0x400 net/core/dev.c:5599 process_backlog+0x3ec/0x7e0 net/core/dev.c:6476 __napi_poll+0xb4/0x624 net/core/dev.c:7035 napi_poll net/core/dev.c:7102 [inline] net_rx_action+0x500/0xc10 net/core/dev.c:7192 handle_softirqs+0x384/0xdbc kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] do_softirq+0xfc/0x1b0 kernel/softirq.c:459 __local_bh_enable_ip+0x298/0x470 kernel/softirq.c:383 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0xf8/0x180 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:408 [inline] unlock_sock_fast include/net/sock.h:1737 [inline] mptcp_subflow_cleanup_rbuf net/mptcp/protocol.c:472 [inline] mptcp_cleanup_rbuf net/mptcp/protocol.c:503 [inline] mptcp_recvmsg+0xc84/0x2060 net/mptcp/protocol.c:2087 inet_recvmsg+0x128/0x214 net/ipv4/af_inet.c:870 sock_recvmsg_nosec net/socket.c:966 [inline] sock_recvmsg net/socket.c:984 [inline] __sys_recvfrom+0x33c/0x4ac net/socket.c:2115 __do_sys_recvfrom net/socket.c:2133 [inline] __se_sys_recvfrom net/socket.c:2129 [inline] __arm64_sys_recvfrom+0xd8/0xf8 net/socket.c:2129 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 2337 hardirqs last enabled at (2336): [] __local_bh_enable_ip+0x230/0x470 kernel/softirq.c:388 hardirqs last disabled at (2337): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (264): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (264): [] unlock_sock_fast include/net/sock.h:1737 [inline] softirqs last enabled at (264): [] mptcp_subflow_cleanup_rbuf net/mptcp/protocol.c:472 [inline] softirqs last enabled at (264): [] mptcp_cleanup_rbuf net/mptcp/protocol.c:503 [inline] softirqs last enabled at (264): [] mptcp_recvmsg+0xc84/0x2060 net/mptcp/protocol.c:2087 softirqs last disabled at (265): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (265): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (265): [] do_softirq+0xfc/0x1b0 kernel/softirq.c:459 ---[ end trace a42c4d41395a7718 ]---