syzbot


KCSAN: data-race in crda_timeout_work / regulatory_hint_user

Status: auto-obsoleted due to no activity on 2023/07/01 02:47
Subsystems: wireless
[Documentation on labels]
First crash: 814d, last: 814d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in crda_timeout_work / regulatory_hint_user

read-write to 0xffffffff86fe2580 of 4 bytes by task 23259 on cpu 1:
 crda_timeout_work+0x23/0x40 net/wireless/reg.c:539
 process_one_work+0x3e6/0x750 kernel/workqueue.c:2405
 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2552
 kthread+0x1d7/0x210 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

write to 0xffffffff86fe2580 of 4 bytes by task 32461 on cpu 0:
 reset_crda_timeouts net/wireless/reg.c:556 [inline]
 regulatory_hint_user+0x159/0x1a0 net/wireless/reg.c:3250
 nl80211_req_set_reg+0xc4/0x150 net/wireless/nl80211.c:8048
 genl_family_rcv_msg_doit net/netlink/genetlink.c:968 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:1048 [inline]
 genl_rcv_msg+0x65b/0x700 net/netlink/genetlink.c:1065
 netlink_rcv_skb+0x126/0x220 net/netlink/af_netlink.c:2546
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1076
 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline]
 netlink_unicast+0x56f/0x640 net/netlink/af_netlink.c:1365
 netlink_sendmsg+0x665/0x770 net/netlink/af_netlink.c:1913
 sock_sendmsg_nosec net/socket.c:724 [inline]
 sock_sendmsg net/socket.c:747 [inline]
 ____sys_sendmsg+0x375/0x4c0 net/socket.c:2503
 ___sys_sendmsg net/socket.c:2557 [inline]
 __sys_sendmsg+0x1e3/0x270 net/socket.c:2586
 __do_sys_sendmsg net/socket.c:2595 [inline]
 __se_sys_sendmsg net/socket.c:2593 [inline]
 __x64_sys_sendmsg+0x46/0x50 net/socket.c:2593
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 32461 Comm: syz-executor.1 Not tainted 6.4.0-rc3-syzkaller-00190-g0d85b27b0cc6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/27 02:45 upstream 0d85b27b0cc6 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in crda_timeout_work / regulatory_hint_user
* Struck through repros no longer work on HEAD.