ieee802154 phy1 wpan1: encryption failed: -22 Bluetooth: hci5: command 0x0406 tx timeout Bluetooth: hci3: command 0x0406 tx timeout ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 INFO: task syz-executor.5:20537 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28648 20537 14348 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x44/0x80 kernel/locking/rwsem.c:26 __do_page_fault+0x97f/0xd60 arch/x86/mm/fault.c:1348 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1205 RIP: 0033:0x7fc6ed77c673 Code: Bad RIP value. RSP: 002b:00007ffeb9316c78 EFLAGS: 00010287 RAX: 0000001b2c73c000 RBX: 00007fc6ed556008 RCX: 0000001b2c720000 RDX: 0000001b2c73c004 RSI: ffffffff819033ce RDI: 0000000043665356 RBP: 0000000000000001 R08: 0000001b2d720000 R09: 0000001b2c73b198 R10: 0000000000001359 R11: 000000004366535a R12: 000000000000e476 R13: 00007fc6ed8e6000 R14: ffffffff819033ce R15: 00007fc6ed8f1ff0 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 00000000d1c02f94 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 3 locks held by kworker/u4:4/2890: 1 lock held by in:imklog/7844: #0: 000000008ae3ec97 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 1 lock held by syz-executor.5/20537: #0: 00000000d6cad658 (&mm->mmap_sem){++++}, at: __do_page_fault+0x97f/0xd60 arch/x86/mm/fault.c:1348 2 locks held by syz-executor.5/20540: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 20540 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:97 Code: ff 48 89 df e8 11 dd 35 00 e9 ab fe ff ff 4c 89 ef e8 04 dd 35 00 e9 23 fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <48> 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e 81 e2 RSP: 0018:ffff8880ba006e40 EFLAGS: 00000046 RAX: 0000000000010102 RBX: ffff88804866a140 RCX: ffffffff817a3d66 RDX: 0000000000000000 RSI: ffff888048ee2080 RDI: 0000000000000007 RBP: ffff8880ba007618 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000074071 R12: 1ffff11017400dce R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000008 FS: 00007fc6ead54700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c73b000 CR3: 0000000094e51000 CR4: 00000000003426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: get_current arch/x86/include/asm/current.h:15 [inline] get_perf_callchain+0x3f0/0x860 kernel/events/callchain.c:207 perf_callchain+0x165/0x1c0 kernel/events/core.c:6474 perf_prepare_sample+0x81e/0x1620 kernel/events/core.c:6501 __perf_event_output kernel/events/core.c:6616 [inline] perf_event_output_forward+0xf3/0x270 kernel/events/core.c:6634 __perf_event_overflow+0x13c/0x370 kernel/events/core.c:7907 perf_swevent_hrtimer+0x272/0x3e0 kernel/events/core.c:9261 __run_hrtimer kernel/time/hrtimer.c:1465 [inline] __hrtimer_run_queues+0x3f6/0xe60 kernel/time/hrtimer.c:1527 hrtimer_interrupt+0x326/0x9e0 kernel/time/hrtimer.c:1585 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline] smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:26 [inline] RIP: 0010:__orc_find+0x6f/0xf0 arch/x86/kernel/unwind_orc.c:48 Code: 72 4d 4c 89 e0 48 29 e8 48 89 c2 48 c1 e8 3f 48 c1 fa 02 48 01 d0 48 d1 f8 48 8d 5c 85 00 48 89 d8 48 c1 e8 03 42 0f b6 14 38 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 48 48 63 03 48 01 RSP: 0018:ffff8880ba0076c0 EFLAGS: 00000a03 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff1670eb9 RBX: ffffffff8b3875cc RCX: ffffffff818e5902 RDX: 0000000000000000 RSI: ffffffff8b990d0c RDI: ffffffff8b3875bc RBP: ffffffff8b3875bc R08: 0000000000000000 R09: ffffffff8b990d0c R10: ffff8880ba007897 R11: 0000000000074071 R12: ffffffff8b3875dc R13: ffffffff8b3875bc R14: ffffffff8b3875bc R15: dffffc0000000000 orc_find arch/x86/kernel/unwind_orc.c:159 [inline] unwind_next_frame+0x339/0x1400 arch/x86/kernel/unwind_orc.c:422 __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc_node mm/slab.c:3340 [inline] kmem_cache_alloc_node_trace+0x13c/0x3b0 mm/slab.c:3666 __do_kmalloc_node mm/slab.c:3688 [inline] __kmalloc_node_track_caller+0x38/0x70 mm/slab.c:3703 __kmalloc_reserve net/core/skbuff.c:137 [inline] __alloc_skb+0xae/0x560 net/core/skbuff.c:205 __netdev_alloc_skb+0x76/0x460 net/core/skbuff.c:407 netdev_alloc_skb include/linux/skbuff.h:2680 [inline] dev_alloc_skb include/linux/skbuff.h:2693 [inline] __ieee80211_beacon_get+0xc7d/0x1a30 net/mac80211/tx.c:4352 ieee80211_beacon_get_tim+0x88/0x890 net/mac80211/tx.c:4463 ieee80211_beacon_get include/net/mac80211.h:4484 [inline] mac80211_hwsim_beacon_tx+0xff/0x680 drivers/net/wireless/mac80211_hwsim.c:1577 __iterate_interfaces+0x2e1/0x4a0 net/mac80211/util.c:614 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:650 mac80211_hwsim_beacon+0xc9/0x190 drivers/net/wireless/mac80211_hwsim.c:1615 __tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:601 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522 __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:preempt_schedule_irq+0xa6/0x140 kernel/sched/core.c:3744 Code: 00 00 e8 3d 04 29 f9 e8 58 3f 4f f9 4c 89 e8 48 c1 e8 03 80 3c 18 00 75 69 48 83 3d 9b 18 d9 01 00 74 5b fb 66 0f 1f 44 00 00 01 00 00 00 e8 40 d1 ff ff 48 c7 c0 90 82 f1 89 48 c1 e8 03 80 RSP: 0018:ffff888060caf7e0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3053 RBX: dffffc0000000000 RCX: 1ffff110091dc525 RDX: 0000000000000000 RSI: ffff888048ee2908 RDI: ffff888048ee2904 RBP: ffffed10091dc410 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888048ee2080 R13: ffffffff89f18298 R14: 0000000000000000 R15: 0000000000000000 retint_kernel+0x1b/0x2d RIP: 0010:__list_add_valid+0x26/0xa0 lib/list_debug.c:23 Code: 90 90 90 90 48 b8 00 00 00 00 00 fc ff df 41 54 49 89 d4 55 48 89 fd 48 8d 7a 08 48 83 ec 08 48 89 fa 48 c1 ea 03 80 3c 02 00 <75> 50 49 8b 54 24 08 48 39 f2 0f 85 aa 52 85 04 48 b8 00 00 00 00 RSP: 0018:ffff888060caf8b8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: 00000000000001f5 RCX: ffffc90005d83000 RDX: 1ffff1100c195f2a RSI: ffff888060caf948 RDI: ffff888060caf950 RBP: ffffea0000f2d088 R08: 0000000000000001 R09: ffffffffffffffff R10: 0000000000000007 R11: 0000000000000000 R12: ffff888060caf948 R13: ffffea0000f2d080 R14: ffff888060caf948 R15: dffffc0000000000 __list_add include/linux/list.h:60 [inline] list_add include/linux/list.h:79 [inline] release_pages+0x99c/0x15a0 mm/swap.c:794 tlb_flush_mmu_free mm/memory.c:261 [inline] tlb_flush_mmu+0x1dc/0x4f0 mm/memory.c:270 arch_tlb_finish_mmu mm/memory.c:285 [inline] tlb_finish_mmu+0x108/0x200 mm/memory.c:444 unmap_region+0x2cd/0x3a0 mm/mmap.c:2574 do_munmap+0x603/0xde0 mm/mmap.c:2781 mmap_region+0x2a3/0x16b0 mm/mmap.c:1700 do_mmap+0x8e8/0x1080 mm/mmap.c:1530 do_mmap_pgoff include/linux/mm.h:2329 [inline] vm_mmap_pgoff+0x197/0x200 mm/util.c:357 ksys_mmap_pgoff+0x298/0x5a0 mm/mmap.c:1580 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fc6ed7deae9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 Lost 7 message(s)! ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 89 df mov %rbx,%rdi 3: e8 11 dd 35 00 callq 0x35dd19 8: e9 ab fe ff ff jmpq 0xfffffeb8 d: 4c 89 ef mov %r13,%rdi 10: e8 04 dd 35 00 callq 0x35dd19 15: e9 23 fe ff ff jmpq 0xfffffe3d 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 90 nop 25: 90 nop 26: 90 nop 27: 90 nop 28: 90 nop * 29: 48 8b 34 24 mov (%rsp),%rsi <-- trapping instruction 2d: 65 48 8b 04 25 c0 df mov %gs:0x1dfc0,%rax 34: 01 00 36: 65 8b 15 cc 59 9f 7e mov %gs:0x7e9f59cc(%rip),%edx # 0x7e9f5a09 3d: 81 .byte 0x81 3e: e2 .byte 0xe2