------------[ cut here ]------------ page_counter underflow: -4294961030 nr_pages=4294967295 WARNING: CPU: 1 PID: 19 at mm/page_counter.c:56 page_counter_cancel+0xcf/0xe0 mm/page_counter.c:56 Modules linked in: CPU: 1 PID: 19 Comm: ksoftirqd/1 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:page_counter_cancel+0xcf/0xe0 mm/page_counter.c:56 Code: c7 04 24 00 00 00 00 45 31 f6 eb 97 e8 1a 95 b4 ff 4c 89 ea 48 89 ee 48 c7 c7 00 d2 b8 89 c6 05 e6 94 b9 0b 01 e8 fc c3 3d 07 <0f> 0b eb a8 4c 89 e7 e8 65 5a fb ff eb c7 0f 1f 00 41 56 41 55 49 RSP: 0018:ffffc90000d96850 EFLAGS: 00010086 RAX: 0000000000000000 RBX: ffff88801cee0120 RCX: 0000000000000000 RDX: ffff88801193d700 RSI: ffffffff815f21d8 RDI: fffff520001b2cfc RBP: ffffffff0000187a R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815ebf7e R11: 0000000000000000 R12: ffff88801cee0120 R13: 00000000ffffffff R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555574e7708 CR3: 00000000281ad000 CR4: 0000000000350ee0 Call Trace: page_counter_uncharge+0x2e/0x60 mm/page_counter.c:160 drain_stock+0xc1/0x180 mm/memcontrol.c:2166 refill_stock+0x139/0x2f0 mm/memcontrol.c:2218 __sk_mem_reduce_allocated+0x24d/0x550 net/core/sock.c:2945 __mptcp_rmem_reclaim net/mptcp/protocol.c:167 [inline] __mptcp_mem_reclaim_partial+0x124/0x410 net/mptcp/protocol.c:975 mptcp_alloc_tx_skb net/mptcp/protocol.c:1210 [inline] mptcp_sendmsg_frag+0x1898/0x2190 net/mptcp/protocol.c:1279 __mptcp_subflow_push_pending+0x1f7/0x6c0 net/mptcp/protocol.c:1604 __mptcp_check_push+0x1bb/0x1f0 net/mptcp/protocol.c:2947 mptcp_incoming_options+0x7af/0x2190 net/mptcp/options.c:1082 tcp_data_queue+0x1640/0x4b90 net/ipv4/tcp_input.c:4989 tcp_rcv_established+0x8ad/0x2130 net/ipv4/tcp_input.c:5945 tcp_v6_do_rcv+0x461/0x1320 net/ipv6/tcp_ipv6.c:1521 tcp_v6_rcv+0x236d/0x2cb0 net/ipv6/tcp_ipv6.c:1764 ip6_protocol_deliver_rcu+0x2e9/0x1ca0 net/ipv6/ip6_input.c:422 ip6_input_finish+0x62/0x170 net/ipv6/ip6_input.c:463 NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ip6_input+0x9c/0xd0 net/ipv6/ip6_input.c:472 dst_input include/net/dst.h:460 [inline] ip6_rcv_finish+0x1d7/0x310 net/ipv6/ip6_input.c:76 ip_sabotage_in net/bridge/br_netfilter_hooks.c:873 [inline] ip_sabotage_in+0x206/0x270 net/bridge/br_netfilter_hooks.c:864 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xc5/0x1e0 net/netfilter/core.c:619 nf_hook.constprop.0+0x3ac/0x650 include/linux/netfilter.h:262 NF_HOOK include/linux/netfilter.h:305 [inline] ipv6_rcv+0x9e/0x3c0 net/ipv6/ip6_input.c:297 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5465 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5579 netif_receive_skb_internal net/core/dev.c:5665 [inline] netif_receive_skb+0x13e/0x8e0 net/core/dev.c:5724 NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] br_pass_frame_up+0x2d2/0x3e0 net/bridge/br_input.c:61 br_handle_frame_finish+0x694/0x1850 net/bridge/br_input.c:174 br_nf_hook_thresh+0x2a5/0x360 net/bridge/br_netfilter_hooks.c:1025 br_nf_pre_routing_finish_ipv6+0x684/0xe00 net/bridge/br_netfilter_ipv6.c:206 NF_HOOK include/linux/netfilter.h:307 [inline] br_nf_pre_routing_ipv6+0x42c/0x7b0 net/bridge/br_netfilter_ipv6.c:236 br_nf_pre_routing+0x1477/0x1ec0 net/bridge/br_netfilter_hooks.c:505 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_bridge_pre net/bridge/br_input.c:230 [inline] br_handle_frame+0x8f8/0x1180 net/bridge/br_input.c:370 __netif_receive_skb_core+0x9e1/0x3770 net/core/dev.c:5359 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5463 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5579 process_backlog+0x2a5/0x6c0 net/core/dev.c:6455 __napi_poll+0xaf/0x440 net/core/dev.c:7023 napi_poll net/core/dev.c:7090 [inline] net_rx_action+0x801/0xb40 net/core/dev.c:7177 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295