BUG: unable to handle page fault for address: fffffffffffffc10 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD e997067 P4D e997067 PUD e999067 PMD 0 Oops: Oops: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 9849 Comm: kworker/u32:4 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: netns cleanup_net RIP: 0010:strnlen+0x4b/0x80 lib/string.c:414 Code: 49 89 fc 48 89 f8 eb 09 48 83 c0 01 48 39 e8 74 1e 48 89 c2 48 89 c1 48 c1 ea 03 83 e1 07 0f b6 14 1a 38 ca 7f 04 84 d2 75 15 <80> 38 00 75 d9 4c 29 e0 48 83 c4 08 5b 5d 41 5c e9 c0 88 07 00 48 RSP: 0018:ffffc90003c77218 EFLAGS: 00010246 RAX: fffffffffffffc10 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000010 RDI: fffffffffffffc10 RBP: fffffffffffffc20 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 000000000000758b R12: fffffffffffffc10 R13: ffff88801c2f3e00 R14: 0000000000000006 R15: 0000000000000010 FS: 0000000000000000(0000) GS:ffff8880d5eec000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffc10 CR3: 000000005c7b6000 CR4: 0000000000352ef0 Call Trace: strnlen include/linux/fortify-string.h:183 [inline] __fortify_strlen include/linux/fortify-string.h:219 [inline] trace_event_get_offsets_drv_net_setup_tc net/mac80211/trace.h:2539 [inline] do_trace_event_raw_event_drv_net_setup_tc net/mac80211/trace.h:2539 [inline] trace_event_raw_event_drv_net_setup_tc+0x100/0x5d0 net/mac80211/trace.h:2539 __do_trace_drv_net_setup_tc net/mac80211/trace.h:2539 [inline] trace_drv_net_setup_tc net/mac80211/trace.h:2539 [inline] drv_net_setup_tc net/mac80211/driver-ops.h:1706 [inline] ieee80211_netdev_setup_tc+0x2c6/0x3e0 net/mac80211/iface.c:938 tcf_block_offload_cmd.isra.0+0x1c4/0x310 net/sched/cls_api.c:853 tcf_block_offload_unbind+0xad/0x170 net/sched/cls_api.c:917 __tcf_block_put+0x11a/0x2a0 net/sched/cls_api.c:1344 tcf_block_put_ext+0xf6/0x1d0 net/sched/cls_api.c:1577 tcf_block_put+0xb6/0x100 net/sched/cls_api.c:1587 drr_destroy_qdisc+0x48/0x1d0 net/sched/sch_drr.c:449 __qdisc_destroy+0x109/0x530 net/sched/sch_generic.c:1122 qdisc_put+0xb0/0xf0 net/sched/sch_generic.c:1150 dev_shutdown+0x1d2/0x440 net/sched/sch_generic.c:1515 unregister_netdevice_many_notify+0xd55/0x2150 net/core/dev.c:12435 unregister_netdevice_many net/core/dev.c:12509 [inline] unregister_netdevice_queue net/core/dev.c:12320 [inline] unregister_netdevice_queue+0x30b/0x3c0 net/core/dev.c:12310 unregister_netdevice include/linux/netdevice.h:3474 [inline] _cfg80211_unregister_wdev+0x66e/0x830 net/wireless/core.c:1422 ieee80211_remove_interfaces+0x34e/0x6e0 net/mac80211/iface.c:2492 ieee80211_unregister_hw+0x55/0x360 net/mac80211/main.c:1718 mac80211_hwsim_del_radio drivers/net/wireless/virtual/mac80211_hwsim_main.c:6226 [inline] hwsim_exit_net+0x88e/0x14f0 drivers/net/wireless/virtual/mac80211_hwsim_main.c:7207 ops_exit_list net/core/net_namespace.c:199 [inline] ops_undo_list+0x2ee/0xab0 net/core/net_namespace.c:252 cleanup_net+0x499/0x920 net/core/net_namespace.c:702 process_one_work+0xa23/0x1940 kernel/workqueue.c:3322 process_scheduled_works kernel/workqueue.c:3405 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3486 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x72b/0xd50 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: CR2: fffffffffffffc10 ---[ end trace 0000000000000000 ]--- RIP: 0010:strnlen+0x4b/0x80 lib/string.c:414 Code: 49 89 fc 48 89 f8 eb 09 48 83 c0 01 48 39 e8 74 1e 48 89 c2 48 89 c1 48 c1 ea 03 83 e1 07 0f b6 14 1a 38 ca 7f 04 84 d2 75 15 <80> 38 00 75 d9 4c 29 e0 48 83 c4 08 5b 5d 41 5c e9 c0 88 07 00 48 RSP: 0018:ffffc90003c77218 EFLAGS: 00010246 RAX: fffffffffffffc10 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000010 RDI: fffffffffffffc10 RBP: fffffffffffffc20 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 000000000000758b R12: fffffffffffffc10 R13: ffff88801c2f3e00 R14: 0000000000000006 R15: 0000000000000010 FS: 0000000000000000(0000) GS:ffff8880d5eec000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffc10 CR3: 000000005c7b6000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 49 89 fc mov %rdi,%r12 3: 48 89 f8 mov %rdi,%rax 6: eb 09 jmp 0x11 8: 48 83 c0 01 add $0x1,%rax c: 48 39 e8 cmp %rbp,%rax f: 74 1e je 0x2f 11: 48 89 c2 mov %rax,%rdx 14: 48 89 c1 mov %rax,%rcx 17: 48 c1 ea 03 shr $0x3,%rdx 1b: 83 e1 07 and $0x7,%ecx 1e: 0f b6 14 1a movzbl (%rdx,%rbx,1),%edx 22: 38 ca cmp %cl,%dl 24: 7f 04 jg 0x2a 26: 84 d2 test %dl,%dl 28: 75 15 jne 0x3f * 2a: 80 38 00 cmpb $0x0,(%rax) <-- trapping instruction 2d: 75 d9 jne 0x8 2f: 4c 29 e0 sub %r12,%rax 32: 48 83 c4 08 add $0x8,%rsp 36: 5b pop %rbx 37: 5d pop %rbp 38: 41 5c pop %r12 3a: e9 c0 88 07 00 jmp 0x788ff 3f: 48 rex.W