BUG: KCSAN: data-race in audit_log_start / audit_receive write to 0xffffffff88bcd270 of 8 bytes by task 5758 on cpu 0: audit_ctl_unlock kernel/audit.c:243 [inline] audit_receive+0x28da/0x2a20 kernel/audit.c:1580 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x599/0x670 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x5cc/0x6e0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0x140/0x180 net/socket.c:744 ____sys_sendmsg+0x312/0x410 net/socket.c:2607 ___sys_sendmsg net/socket.c:2661 [inline] __sys_sendmsg+0x1d9/0x270 net/socket.c:2690 __do_sys_sendmsg net/socket.c:2699 [inline] __se_sys_sendmsg net/socket.c:2697 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2697 x64_sys_call+0x2689/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:47 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffffffff88bcd270 of 8 bytes by task 3000 on cpu 1: audit_ctl_owner_current kernel/audit.c:256 [inline] audit_log_start+0x129/0x6b0 kernel/audit.c:1880 common_lsm_audit+0x65/0xfc0 security/lsm_audit.c:449 slow_avc_audit+0xf9/0x140 security/selinux/avc.c:773 avc_audit security/selinux/include/avc.h:127 [inline] avc_has_perm+0x129/0x160 security/selinux/avc.c:1191 selinux_inode_follow_link+0x1d9/0x220 security/selinux/hooks.c:3074 security_inode_follow_link+0x7f/0xc0 security/security.c:2299 pick_link+0x35c/0x7e0 fs/namei.c:1842 step_into+0x725/0x810 fs/namei.c:1923 walk_component fs/namei.c:2059 [inline] link_path_walk+0x54c/0x820 fs/namei.c:2418 path_openat+0x1af/0x1fa0 fs/namei.c:3929 do_filp_open+0xf7/0x200 fs/namei.c:3960 do_sys_openat2+0xab/0x120 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0xf3/0x120 fs/open.c:1441 x64_sys_call+0x1025/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0xffff888107e4c200 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3000 Comm: syslogd Not tainted 6.12.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================