bisecting fixing commit since 2b79150141611d3c6e1b55d4e70f49602482f0b8 building syzkaller on cba33199be220cbf61f7c0c8223d88a25a913d6f testing commit 2b79150141611d3c6e1b55d4e70f49602482f0b8 with gcc (GCC) 8.4.1 20210217 kernel signature: faaf4c2329826d2fcafe6a1559cbeff58c2e18e99ffbec2a0c8aa768cd8e3dac all runs: crashed: WARNING in __rate_control_send_low testing current HEAD cf256fbcbe347b7d0ff58fe2dfa382a156bd3694 testing commit cf256fbcbe347b7d0ff58fe2dfa382a156bd3694 with gcc (GCC) 8.4.1 20210217 kernel signature: cb6c47e2de98c6f969cb7f0ba8e62d234d678d908930ec63768291f08062c8b4 run #0: crashed: WARNING in __rate_control_send_low run #1: crashed: WARNING in __rate_control_send_low run #2: crashed: WARNING in __rate_control_send_low run #3: crashed: WARNING in __rate_control_send_low run #4: crashed: WARNING in __rate_control_send_low run #5: crashed: WARNING in __rate_control_send_low run #6: crashed: WARNING in corrupted run #7: crashed: WARNING in __rate_control_send_low run #8: crashed: WARNING in __rate_control_send_low run #9: crashed: WARNING in __rate_control_send_low revisions tested: 2, total time: 20m57.405485675s (build: 14m8.975857644s, test: 6m26.808168306s) the crash still happens on HEAD commit msg: Linux 4.14.231 crash: WARNING in __rate_control_send_low IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 no supported rates (0xffffffff) in rate_mask 0x0 with flags 0x0 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 25 at net/mac80211/rate.c:362 __rate_control_send_low.cold.6+0x56/0x78 net/mac80211/rate.c:359 Modules linked in: CPU: 1 PID: 25 Comm: kworker/u4:2 Not tainted 4.14.231-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy12 ieee80211_iface_work task: ffff8881f4e5c6c0 task.stack: ffff8881f4e68000 RIP: 0010:__rate_control_send_low.cold.6+0x56/0x78 net/mac80211/rate.c:359 RSP: 0018:ffff8881f6507a58 EFLAGS: 00010282 RAX: 000000000000003f RBX: 000000000000000c RCX: 0000000000000000 RDX: 000000000000003f RSI: ffff8881f4e5d010 RDI: ffffed103eca0f42 RBP: ffff8881f6507ac0 R08: ffff8881f4e5cfe0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881f4729b68 R13: 0000000000000000 R14: 0000000000000090 R15: 000000000000000c FS: 0000000000000000(0000) GS:ffff8881f6500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000960004 CR3: 0000000008e6a006 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rate_control_send_low+0x222/0x5a0 net/mac80211/rate.c:383 minstrel_ht_get_rate+0x50/0x1500 net/mac80211/rc80211_minstrel_ht.c:1045 rate_control_get_rate+0x3ac/0x5e0 net/mac80211/rate.c:910 __ieee80211_beacon_get+0x814/0x1940 net/mac80211/tx.c:4319 ieee80211_beacon_get_tim+0x7c/0x6d0 net/mac80211/tx.c:4346 ieee80211_beacon_get include/net/mac80211.h:4401 [inline] mac80211_hwsim_beacon_tx+0xd3/0x550 drivers/net/wireless/mac80211_hwsim.c:1520 __iterate_interfaces+0xd6/0x380 net/mac80211/util.c:613 ieee80211_iterate_active_interfaces_atomic+0x61/0x100 net/mac80211/util.c:649 mac80211_hwsim_beacon+0xbb/0x180 drivers/net/wireless/mac80211_hwsim.c:1558 __tasklet_hrtimer_trampoline+0x2d/0xb0 kernel/softirq.c:618 tasklet_hi_action+0x19e/0x360 kernel/softirq.c:549 __do_softirq+0x247/0x9a2 kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x15f/0x1a0 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:638 [inline] smp_apic_timer_interrupt+0x149/0x5d0 arch/x86/kernel/apic/apic.c:1106 apic_timer_interrupt+0x9a/0xa0 arch/x86/entry/entry_64.S:793 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline] RIP: 0010:console_unlock+0xabf/0xe50 kernel/printk/printk.c:2408 RSP: 0018:ffff8881f4e6fa38 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff11e10a1 RBX: 0000000000000200 RCX: 1ffff1103e9cb9fc RDX: 0000000000000000 RSI: ffff8881f4e5cfc0 RDI: 0000000000000286 RBP: ffff8881f4e6fab0 R08: ffff8881f4e5cfe0 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8961e4a0 R15: ffffffff8961e470 vprintk_emit+0x32f/0x4e0 kernel/printk/printk.c:1923 vprintk_default+0x1a/0x20 kernel/printk/printk.c:1963 vprintk_func+0x49/0x130 kernel/printk/printk_safe.c:409 printk+0x91/0xab kernel/printk/printk.c:1996 ieee80211_sta_find_ibss net/mac80211/ibss.c:1474 [inline] ieee80211_ibss_work.cold.11+0x262/0x4d8 net/mac80211/ibss.c:1700 ieee80211_iface_work+0x4a6/0x690 net/mac80211/iface.c:1383 process_one_work+0x74f/0x1620 kernel/workqueue.c:2116 worker_thread+0xcc/0xee0 kernel/workqueue.c:2250 kthread+0x338/0x400 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: 89 f8 83 e0 07 83 c0 03 38 c8 7c 04 84 c9 75 26 8b 04 9a 8b 55 d0 44 89 e9 89 c6 48 c7 c7 40 22 6a 88 4c 89 4d c8 e8 41 cf e3 ff <0f> 0b 4c 8b 4d c8 e9 26 e5 96 ff 48 89 55 c0 4c 89 4d c8 e8 b5 ---[ end trace 4a1df20228212e66 ]--- wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready