syzbot


KCSAN: data-race in ieee80211_rx_handlers / ieee80211_sta_last_active (2)

Status: auto-closed as invalid on 2021/04/29 16:41
Subsystems: wireless
[Documentation on labels]
First crash: 1136d, last: 1136d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ieee80211_rx_handlers / ieee80211_sta_last_active wireless 3 1210d 1226d 0/26 auto-closed as invalid on 2021/02/14 13:07

Sample crash report:
==================================================================
BUG: KCSAN: data-race in ieee80211_rx_handlers / ieee80211_sta_last_active

write to 0xffff88812ddeb220 of 8 bytes by interrupt on cpu 1:
 ieee80211_rx_h_sta_process net/mac80211/rx.c:1741 [inline]
 ieee80211_rx_handlers+0x67d/0x70a0 net/mac80211/rx.c:3770
 ieee80211_invoke_rx_handlers net/mac80211/rx.c:3823 [inline]
 ieee80211_prepare_and_rx_handle+0x191d/0x27b0 net/mac80211/rx.c:4537
 __ieee80211_rx_handle_packet net/mac80211/rx.c:4697 [inline]
 ieee80211_rx_list+0x1449/0x1570 net/mac80211/rx.c:4819
 ieee80211_rx_napi+0x4f/0x130 net/mac80211/rx.c:4842
 ieee80211_rx include/net/mac80211.h:4524 [inline]
 ieee80211_tasklet_handler+0xef/0x140 net/mac80211/main.c:235
 tasklet_action_common+0x81/0xa0 kernel/softirq.c:557
 __do_softirq+0x13c/0x2c3 kernel/softirq.c:345
 run_ksoftirqd+0x13/0x20 kernel/softirq.c:652
 smpboot_thread_fn+0x34f/0x520 kernel/smpboot.c:165
 kthread+0x20b/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

read to 0xffff88812ddeb220 of 8 bytes by task 29936 on cpu 0:
 ieee80211_sta_last_active+0x171/0x1b0 net/mac80211/sta_info.c:2546
 ieee80211_ibss_sta_expire net/mac80211/ibss.c:1265 [inline]
 ieee80211_sta_merge_ibss net/mac80211/ibss.c:1305 [inline]
 ieee80211_ibss_work+0x314/0xd90 net/mac80211/ibss.c:1711
 ieee80211_iface_work+0x628/0x670 net/mac80211/iface.c:1461
 process_one_work+0x3e1/0x950 kernel/workqueue.c:2275
 worker_thread+0x616/0xa70 kernel/workqueue.c:2421
 kthread+0x20b/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 29936 Comm: kworker/u4:5 Not tainted 5.12.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy12 ieee80211_iface_work
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/25 16:38 upstream e138138003eb 6a383ecf .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in ieee80211_rx_handlers / ieee80211_sta_last_active
* Struck through repros no longer work on HEAD.