BUG: using smp_processor_id() in preemptible [00000000] code: syz.4.349/7366 caller is net_dm_packet_trace_kfree_skb_hit+0x119/0x350 net/core/drop_monitor.c:519 CPU: 3 UID: 0 PID: 7366 Comm: syz.4.349 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 check_preemption_disabled+0xd2/0xe0 lib/smp_processor_id.c:47 net_dm_packet_trace_kfree_skb_hit+0x119/0x350 net/core/drop_monitor.c:519 __do_trace_kfree_skb include/trace/events/skb.h:24 [inline] trace_kfree_skb+0x18b/0x230 include/trace/events/skb.h:24 __sk_skb_reason_drop net/core/skbuff.c:1231 [inline] sk_skb_reason_drop+0xb7/0x1b0 net/core/skbuff.c:1249 kfree_skb_reason include/linux/skbuff.h:1323 [inline] __skb_queue_purge_reason include/linux/skbuff.h:3470 [inline] __skb_queue_purge include/linux/skbuff.h:3475 [inline] sk_stream_kill_queues+0x115/0x390 net/core/stream.c:202 inet_csk_destroy_sock+0x1aa/0x3d0 net/ipv4/inet_connection_sock.c:1284 tcp_done+0x257/0x360 net/ipv4/tcp.c:5111 tcp_fin+0x410/0x4f0 net/ipv4/tcp_input.c:4964 tcp_data_queue+0x1cac/0x4fb0 net/ipv4/tcp_input.c:5674 tcp_rcv_state_process+0x1063/0x7190 net/ipv4/tcp_input.c:7401 tcp_v6_do_rcv+0x7ff/0x1ff0 net/ipv6/tcp_ipv6.c:1651 sk_backlog_rcv include/net/sock.h:1190 [inline] __release_sock+0x151/0x440 net/core/sock.c:3263 __tcp_close+0x572/0x10d0 net/ipv4/tcp.c:3232 __mptcp_close_ssk+0x6be/0x13b0 net/mptcp/protocol.c:2709 mptcp_destroy_common+0x1ba/0x430 net/mptcp/protocol.c:3577 mptcp_destroy+0x9b/0x120 net/mptcp/protocol.c:3792 __mptcp_destroy_sock+0x1ad/0x3f0 net/mptcp/protocol.c:3419 __mptcp_close+0x757/0xa90 net/mptcp/protocol.c:3521 mptcp_close+0x28/0xe0 net/mptcp/protocol.c:3536 inet_release+0xed/0x200 net/ipv4/af_inet.c:442 inet6_release+0x4f/0x70 net/ipv6/af_inet6.c:472 __sock_release+0xb3/0x260 net/socket.c:735 sock_close+0x1c/0x30 net/socket.c:1526 __fput+0x3ff/0xb50 fs/file_table.c:512 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:336 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fce4a59e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fce4b3be028 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fce4a826090 RCX: 00007fce4a59e159 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000 RBP: 00007fce4a63503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fce4a826128 R14: 00007fce4a826090 R15: 00007ffee8929d78 BUG: using smp_processor_id() in preemptible [00000000] code: syz.4.349/7366 caller is net_dm_packet_trace_kfree_skb_hit+0x119/0x350 net/core/drop_monitor.c:519 CPU: 3 UID: 0 PID: 7366 Comm: syz.4.349 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 check_preemption_disabled+0xd2/0xe0 lib/smp_processor_id.c:47 net_dm_packet_trace_kfree_skb_hit+0x119/0x350 net/core/drop_monitor.c:519 __do_trace_kfree_skb include/trace/events/skb.h:24 [inline] trace_kfree_skb+0x18b/0x230 include/trace/events/skb.h:24 __sk_skb_reason_drop net/core/skbuff.c:1231 [inline] sk_skb_reason_drop+0xb7/0x1b0 net/core/skbuff.c:1249 kfree_skb_reason include/linux/skbuff.h:1323 [inline] __skb_queue_purge_reason include/linux/skbuff.h:3470 [inline] __skb_queue_purge include/linux/skbuff.h:3475 [inline] mptcp_destroy_common+0x2d8/0x430 net/mptcp/protocol.c:3579 mptcp_destroy+0x9b/0x120 net/mptcp/protocol.c:3792 __mptcp_destroy_sock+0x1ad/0x3f0 net/mptcp/protocol.c:3419 __mptcp_close+0x757/0xa90 net/mptcp/protocol.c:3521 mptcp_close+0x28/0xe0 net/mptcp/protocol.c:3536 inet_release+0xed/0x200 net/ipv4/af_inet.c:442 inet6_release+0x4f/0x70 net/ipv6/af_inet6.c:472 __sock_release+0xb3/0x260 net/socket.c:735 sock_close+0x1c/0x30 net/socket.c:1526 __fput+0x3ff/0xb50 fs/file_table.c:512 task_work_run+0x150/0x240 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x1d8/0x700 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:336 [inline] do_syscall_64+0x661/0x790 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fce4a59e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fce4b3be028 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fce4a826090 RCX: 00007fce4a59e159 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000 RBP: 00007fce4a63503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fce4a826128 R14: 00007fce4a826090 R15: 00007ffee8929d78