ieee802154 phy1 wpan1: encryption failed: -22 Bluetooth: hci0: command 0x0406 tx timeout Bluetooth: hci4: command 0x0406 tx timeout ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 INFO: task syz-executor.0:26660 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.0 D27728 26660 26167 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_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 tty_set_termios+0xec/0x830 drivers/tty/tty_ioctl.c:328 set_termios.part.0+0x2b1/0x4c0 drivers/tty/tty_ioctl.c:414 set_termios drivers/tty/tty_ioctl.c:368 [inline] tty_mode_ioctl+0x34c/0xb60 drivers/tty/tty_ioctl.c:772 n_tty_ioctl_helper+0x55/0x3a0 drivers/tty/tty_ioctl.c:940 n_tty_ioctl+0x56/0x360 drivers/tty/n_tty.c:2464 tty_ioctl+0x65d/0x1630 drivers/tty/tty_io.c:2678 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fba98d97049 Code: Bad RIP value. RSP: 002b:00007fba9770c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fba98ea9f60 RCX: 00007fba98d97049 RDX: 00000000200003c0 RSI: 00000000402c542b RDI: 0000000000000004 RBP: 00007fba98df108d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9296fc5f R14: 00007fba9770c300 R15: 0000000000022000 INFO: task syz-executor.0:26664 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.0 D29152 26664 26167 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 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1016 [inline] __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078 paste_selection+0x125/0x470 drivers/tty/vt/selection.c:372 tioclinux+0x122/0x510 drivers/tty/vt/vt.c:3072 vt_ioctl+0x163e/0x2380 drivers/tty/vt/vt_ioctl.c:372 tty_ioctl+0x5b0/0x1630 drivers/tty/tty_io.c:2669 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fba98d97049 Code: Bad RIP value. RSP: 002b:00007fba976eb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fba98eaa030 RCX: 00007fba98d97049 RDX: 0000000020000100 RSI: 000000000000541c RDI: 0000000000000004 RBP: 00007fba98df108d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9296fc5f R14: 00007fba976eb300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 0000000060c89f9c (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 2 locks held by agetty/7844: #0: 00000000f6a05a2c (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000a9e1cdc6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154 1 lock held by in:imklog/19730: #0: 0000000014e7cc7c (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 6 locks held by syz-executor.2/26617: 2 locks held by syz-executor.0/26660: #0: 00000000f1659894 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000b4f89764 (&tty->termios_rwsem){++++}, at: tty_set_termios+0xec/0x830 drivers/tty/tty_ioctl.c:328 2 locks held by syz-executor.0/26664: #0: 00000000f1659894 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000018b88ffd (&buf->lock){+.+.}, at: paste_selection+0x125/0x470 drivers/tty/vt/selection.c:372 ============================================= 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: 8896 Comm: kworker/u4:5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy43 ieee80211_iface_work RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:2318 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:2337 [inline] RIP: 0010:validate_chain kernel/locking/lockdep.c:2391 [inline] RIP: 0010:__lock_acquire+0xbed/0x3ff0 kernel/locking/lockdep.c:3416 Code: db 74 55 48 83 eb 08 74 4f 48 bd 00 00 00 00 00 fc ff df eb 06 48 83 eb 08 74 3d 48 8d 7b 18 48 89 f8 48 c1 e8 03 80 3c 28 00 <0f> 85 8c 1e 00 00 4c 3b 63 18 0f 84 f1 fc ff ff 48 8d 7b 08 48 89 RSP: 0018:ffff88809a1ef138 EFLAGS: 00000046 RAX: 1ffffffff18f04b7 RBX: ffffffff8c7825a0 RCX: 0000000000001432 RDX: 1ffffffff19a42da RSI: 0000000019d3ad57 RDI: ffffffff8c7825b8 RBP: dffffc0000000000 R08: ffffffff8cd216d0 R09: 0000000000000003 R10: ffff88809a1e0d40 R11: 000000004470b61e R12: 95435dc433a5ddf0 R13: ffff88809a1e0440 R14: ffff88809a1e0d58 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f146a0ae000 CR3: 000000009b8fe000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:168 spin_lock_bh include/linux/spinlock.h:334 [inline] cfg80211_bss_update+0xb0/0x2590 net/wireless/scan.c:896 cfg80211_inform_bss_frame_data+0x69c/0xeb0 net/wireless/scan.c:1283 ieee80211_bss_info_update+0x42d/0x1800 net/mac80211/scan.c:105 ieee80211_rx_bss_info net/mac80211/ibss.c:1125 [inline] ieee80211_rx_mgmt_probe_beacon+0xb4f/0x15c0 net/mac80211/ibss.c:1607 ieee80211_ibss_rx_queued_mgmt+0xe27/0x18b0 net/mac80211/ibss.c:1634 ieee80211_iface_work+0x5c4/0x8a0 net/mac80211/iface.c:1341 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 ---------------- Code disassembly (best guess): 0: db 74 55 48 (bad) 0x48(%rbp,%rdx,2) 4: 83 eb 08 sub $0x8,%ebx 7: 74 4f je 0x58 9: 48 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%rbp 10: fc ff df 13: eb 06 jmp 0x1b 15: 48 83 eb 08 sub $0x8,%rbx 19: 74 3d je 0x58 1b: 48 8d 7b 18 lea 0x18(%rbx),%rdi 1f: 48 89 f8 mov %rdi,%rax 22: 48 c1 e8 03 shr $0x3,%rax 26: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) * 2a: 0f 85 8c 1e 00 00 jne 0x1ebc <-- trapping instruction 30: 4c 3b 63 18 cmp 0x18(%rbx),%r12 34: 0f 84 f1 fc ff ff je 0xfffffd2b 3a: 48 8d 7b 08 lea 0x8(%rbx),%rdi 3e: 48 rex.W 3f: 89 .byte 0x89