BUG: using __this_cpu_write() in preemptible [00000000] code: syz.0.173/6173 caller is tcp_v6_do_rcv+0x10c2/0x1ca0 net/ipv6/tcp_ipv6.c:1644 CPU: 0 UID: 0 PID: 6173 Comm: syz.0.173 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 check_preemption_disabled+0xd3/0xe0 lib/smp_processor_id.c:47 tcp_v6_do_rcv+0x10c2/0x1ca0 net/ipv6/tcp_ipv6.c:1644 sk_backlog_rcv include/net/sock.h:1190 [inline] __release_sock+0x1b8/0x3a0 net/core/sock.c:3216 __tcp_close+0x832/0xfe0 net/ipv4/tcp.c:3238 __mptcp_close_ssk+0x52d/0x1180 net/mptcp/protocol.c:2604 mptcp_destroy_common+0x15c/0x330 net/mptcp/protocol.c:3408 mptcp_destroy+0x82/0x120 net/mptcp/protocol.c:3616 __mptcp_destroy_sock+0x156/0x370 net/mptcp/protocol.c:3250 __mptcp_close+0x8f6/0xd10 net/mptcp/protocol.c:3352 mptcp_close+0x28/0x1a0 net/mptcp/protocol.c:3367 inet_release+0x143/0x190 net/ipv4/af_inet.c:442 __sock_release net/socket.c:722 [inline] sock_close+0xc3/0x240 net/socket.c:1514 __fput+0x44f/0xa60 fs/file_table.c:510 task_work_run+0x1d9/0x270 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:67 [inline] exit_to_user_mode_loop+0xed/0x480 kernel/entry/common.c:98 __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:238 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x33e/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f69be79cdd9 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:00007ffc7668ad18 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007ffc7668ae00 RCX: 00007f69be79cdd9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 0000000000012dd1 R08: 0000000000000001 R09: 0000000000000000 R10: 0000001b32b20000 R11: 0000000000000246 R12: 00007ffc7668ae40 R13: 00007f69bea15fac R14: 0000000000012e0a R15: 00007f69bea15fa0