==================================================================
BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
BUG: KASAN: null-ptr-deref in test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:70 [inline]
BUG: KASAN: null-ptr-deref in try_to_grab_pending.part.0+0x26/0x770 kernel/workqueue.c:1276
Write of size 8 at addr 0000000000000088 by task kworker/1:0/5307

CPU: 1 PID: 5307 Comm: kworker/1:0 Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events cfg80211_destroy_iface_wk
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 __kasan_report mm/kasan/report.c:437 [inline]
 kasan_report.cold+0x66/0xdf mm/kasan/report.c:450
 check_region_inline mm/kasan/generic.c:183 [inline]
 kasan_check_range+0x13d/0x180 mm/kasan/generic.c:189
 instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
 test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:70 [inline]
 try_to_grab_pending.part.0+0x26/0x770 kernel/workqueue.c:1276
 try_to_grab_pending+0xa1/0xd0 kernel/workqueue.c:1333
 __cancel_work_timer+0xa6/0x570 kernel/workqueue.c:3130
 rhashtable_free_and_destroy+0x29/0x920 lib/rhashtable.c:1137
 mesh_table_free net/mac80211/mesh_pathtbl.c:73 [inline]
 mesh_pathtbl_unregister+0x42/0xa0 net/mac80211/mesh_pathtbl.c:815
 ieee80211_teardown_sdata net/mac80211/iface.c:721 [inline]
 ieee80211_uninit+0x7e/0x90 net/mac80211/iface.c:726
 unregister_netdevice_many+0xc83/0x1790 net/core/dev.c:11094
 unregister_netdevice_queue+0x2dd/0x3c0 net/core/dev.c:11011
 unregister_netdevice include/linux/netdevice.h:2989 [inline]
 _cfg80211_unregister_wdev+0x483/0x770 net/wireless/core.c:1136
 ieee80211_if_remove+0x1df/0x380 net/mac80211/iface.c:2115
 ieee80211_del_iface+0x12/0x20 net/mac80211/cfg.c:174
 rdev_del_virtual_intf net/wireless/rdev-ops.h:57 [inline]
 cfg80211_destroy_ifaces+0x2ff/0x840 net/wireless/core.c:354
 cfg80211_destroy_iface_wk+0x1a/0x20 net/wireless/core.c:368
 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445
 kthread+0x405/0x4f0 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
==================================================================