================================================================== BUG: KCSAN: data-race in nci_dev_up / nci_req_complete write to 0xffff88810398d9a0 of 4 bytes by task 30931 on cpu 1: __nci_request net/nfc/nci/core.c:136 [inline] nci_open_device net/nfc/nci/core.c:503 [inline] nci_dev_up+0x257/0x8a0 net/nfc/nci/core.c:632 nfc_dev_up+0x11b/0x1c0 net/nfc/core.c:118 nfc_genl_dev_up+0x53/0x80 net/nfc/netlink.c:770 genl_family_rcv_msg_doit net/netlink/genetlink.c:972 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1052 [inline] genl_rcv_msg+0x627/0x6c0 net/netlink/genetlink.c:1067 netlink_rcv_skb+0x126/0x220 net/netlink/af_netlink.c:2545 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1076 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline] netlink_unicast+0x589/0x650 net/netlink/af_netlink.c:1368 netlink_sendmsg+0x66e/0x770 net/netlink/af_netlink.c:1910 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x37c/0x4d0 net/socket.c:2586 ___sys_sendmsg net/socket.c:2640 [inline] __sys_sendmsg+0x1e9/0x270 net/socket.c:2669 __do_sys_sendmsg net/socket.c:2678 [inline] __se_sys_sendmsg net/socket.c:2676 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2676 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b read to 0xffff88810398d9a0 of 4 bytes by task 22997 on cpu 0: nci_req_complete+0x24/0x90 net/nfc/nci/core.c:80 nci_core_reset_rsp_packet net/nfc/nci/rsp.c:43 [inline] nci_rsp_packet+0x92c/0xe10 net/nfc/nci/rsp.c:372 nci_rx_work+0xe4/0x200 net/nfc/nci/core.c:1518 process_one_work kernel/workqueue.c:2627 [inline] process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2700 worker_thread+0x525/0x730 kernel/workqueue.c:2781 kthread+0x1d7/0x210 kernel/kthread.c:388 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 22997 Comm: kworker/u4:1 Not tainted 6.7.0-rc8-syzkaller-00177-g52b1853b080a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: nfc2_nci_rx_wq nci_rx_work ==================================================================