Starting System Logging Service... Starting OpenBSD Secure Shell server... [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Reached target Timers. [ OK ] Started Regular background program processing daemon. [ OK ] Started Permit User Sessions. [ OK ] Started System Logging Service. [ OK ] Found device /dev/ttyS0. [ OK ] Started OpenBSD Secure Shell server. [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Started Getty on tty6. [ OK ] Started Getty on tty5. [ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Warning: Permanently added '10.128.0.136' (ECDSA) to the list of known hosts. [ 83.614355][ T35] audit: type=1400 audit(1613290078.591:8): avc: denied { execmem } for pid=8441 comm="syz-executor263" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 Debian GNU/Linux 9 syzkaller ttyS0 syzkaller login: [ 84.946053][ T8455] IPVS: ftp: loaded support on port[0] = 21 [ 84.946064][ T8452] IPVS: ftp: loaded support on port[0] = 21 [ 84.956690][ T8457] IPVS: ftp: loaded support on port[0] = 21 [ 84.982918][ T8456] IPVS: ftp: loaded support on port[0] = 21 [ 85.004363][ T8454] IPVS: ftp: loaded support on port[0] = 21 [ 85.049912][ T8453] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 86.899140][ T8467] Bluetooth: hci3: command 0x0409 tx timeout [ 86.899140][ T2989] Bluetooth: hci0: command 0x0409 tx timeout [ 86.899815][ T8467] Bluetooth: hci2: command 0x0409 tx timeout [ 86.905463][ T2989] Bluetooth: hci5: command 0x0409 tx timeout [ 86.905505][ T2989] Bluetooth: hci4: command 0x0409 tx timeout executing program executing program [ 86.951234][ T8799] ttyprintk ttyprintk: tty_port_close_start: tty->count = 1 port count = 85 [ 86.961406][ C0] [ 86.961418][ C0] ====================================================== [ 86.961428][ C0] WARNING: possible circular locking dependency detected [ 86.961437][ C0] 5.11.0-rc7-syzkaller #0 Not tainted [ 86.961445][ C0] ------------------------------------------------------ [ 86.961454][ C0] syz-executor263/8799 is trying to acquire lock: [ 86.961462][ C0] ffffffff8bc82ca0 (console_owner){....}-{0:0}, at: console_unlock+0x2fb/0xbb0 [ 86.961494][ C0] [ 86.961499][ C0] but task is already holding lock: [ 86.961506][ C0] ffffffff906b3358 (&port->lock){-.-.}-{2:2}, at: tty_port_close_start.part.0+0x28/0x550 [ 86.961536][ C0] [ 86.961541][ C0] which lock already depends on the new lock. [ 86.961547][ C0] [ 86.961552][ C0] [ 86.961558][ C0] the existing dependency chain (in reverse order) is: [ 86.961565][ C0] [ 86.961569][ C0] -> #2 (&port->lock){-.-.}-{2:2}: [ 86.961595][ C0] _raw_spin_lock_irqsave+0x39/0x50 [ 86.961602][ C0] tty_port_tty_get+0x1f/0x100 [ 86.961608][ C0] tty_port_default_wakeup+0x11/0x40 [ 86.961614][ C0] serial8250_tx_chars+0x487/0xa80 [ 86.961621][ C0] serial8250_handle_irq.part.0+0x328/0x3d0 [ 86.961628][ C0] serial8250_default_handle_irq+0xb2/0x220 [ 86.961634][ C0] serial8250_interrupt+0xfd/0x200 executing program executing program executing program [ 86.961642][ C0] __handle_irq_event_percpu+0x303/0x8f0 [ 86.961649][ C0] handle_irq_event+0x102/0x290 [ 86.961656][ C0] handle_edge_irq+0x25f/0xd00 [ 86.961663][ C0] asm_call_irq_on_stack+0xf/0x20 [ 86.961669][ C0] common_interrupt+0x120/0x200 [ 86.961675][ C0] asm_common_interrupt+0x1e/0x40 [ 86.961682][ C0] acpi_idle_do_entry+0x1c9/0x250 [ 86.961688][ C0] acpi_idle_enter+0x361/0x500 [ 86.961695][ C0] cpuidle_enter_state+0x1b1/0xc80 [ 86.961701][ C0] cpuidle_enter+0x4a/0xa0 executing program executing program executing program [ 86.961708][ C0] do_idle+0x3e1/0x590 [ 86.961714][ C0] cpu_startup_entry+0x14/0x20 [ 86.961720][ C0] start_kernel+0x46b/0x48c [ 86.961726][ C0] secondary_startup_64_no_verify+0xb0/0xbb [ 86.961732][ C0] [ 86.961735][ C0] -> #1 (&port_lock_key){-.-.}-{2:2}: [ 86.961760][ C0] _raw_spin_lock_irqsave+0x39/0x50 [ 86.961767][ C0] serial8250_console_write+0x880/0xa90 [ 86.961774][ C0] console_unlock+0x841/0xbb0 executing program executing program executing program [ 86.961780][ C0] vprintk_emit+0x189/0x490 [ 86.961786][ C0] vprintk_func+0x8d/0x1e0 [ 86.961792][ C0] printk+0xba/0xed [ 86.961798][ C0] register_console+0x5d1/0x800 [ 86.961805][ C0] univ8250_console_init+0x3a/0x46 [ 86.961812][ C0] console_init+0x3c7/0x596 [ 86.961818][ C0] start_kernel+0x2fc/0x48c [ 86.961825][ C0] secondary_startup_64_no_verify+0xb0/0xbb [ 86.961831][ C0] [ 86.961835][ C0] -> #0 (console_owner){....}-{0:0}: executing program executing program [ 86.961860][ C0] __lock_acquire+0x2b26/0x54f0 [ 86.961867][ C0] lock_acquire+0x1a8/0x720 [ 86.961874][ C0] console_unlock+0x37a/0xbb0 [ 86.961879][ C0] vprintk_emit+0x189/0x490 [ 86.961886][ C0] vprintk_func+0x8d/0x1e0 [ 86.961893][ C0] printk+0xba/0xed [ 86.961899][ C0] tty_port_close_start.part.0+0x503/0x550 [ 86.961907][ C0] tty_port_close+0x46/0x170 [ 86.961913][ C0] tty_release+0x45e/0x1210 [ 86.961920][ C0] __fput+0x283/0x920 executing program executing program executing program [ 86.961926][ C0] task_work_run+0xdd/0x190 [ 86.961933][ C0] exit_to_user_mode_prepare+0x249/0x250 [ 86.961940][ C0] syscall_exit_to_user_mode+0x19/0x50 [ 86.961947][ C0] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 86.961954][ C0] [ 86.961959][ C0] other info that might help us debug this: [ 86.961965][ C0] [ 86.961969][ C0] Chain exists of: [ 86.961974][ C0] console_owner --> &port_lock_key --> &port->lock [ 86.962011][ C0] [ 86.962016][ C0] Possible unsafe locking scenario: [ 86.962022][ C0] [ 86.962027][ C0] CPU0 CPU1 [ 86.962045][ C0] ---- ---- [ 86.962051][ C0] lock(&port->lock); [ 86.962067][ C0] lock(&port_lock_key); [ 86.962085][ C0] lock(&port->lock); [ 86.962102][ C0] lock(console_owner); [ 86.962117][ C0] [ 86.962121][ C0] *** DEADLOCK *** [ 86.962126][ C0] [ 86.962131][ C0] 3 locks held by syz-executor263/8799: [ 86.962138][ C0] #0: ffff8880139a61c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0xbd/0x120 [ 86.962172][ C0] #1: ffffffff906b3358 (&port->lock){-.-.}-{2:2}, at: tty_port_close_start.part.0+0x28/0x550 [ 86.962207][ C0] #2: ffffffff8bd63020 (console_lock){+.+.}-{0:0}, at: vprintk_func+0x8d/0x1e0 [ 86.962251][ C0] [ 86.962255][ C0] stack backtrace: [ 86.962262][ C0] CPU: 0 PID: 8799 Comm: syz-executor263 Not tainted 5.11.0-rc7-syzkaller #0 [ 86.962273][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 86.962283][ C0] Call Trace: [ 86.962288][ C0] dump_stack+0x107/0x163 [ 86.962294][ C0] check_noncircular+0x25f/0x2e0 [ 86.962301][ C0] ? stack_trace_consume_entry+0x160/0x160 [ 86.962308][ C0] ? print_circular_bug+0x480/0x480 [ 86.962314][ C0] ? memcpy+0x39/0x60 [ 86.962319][ C0] ? lockdep_lock+0xc6/0x200 [ 86.962325][ C0] ? call_rcu_zapped+0xb0/0xb0 [ 86.962331][ C0] __lock_acquire+0x2b26/0x54f0 [ 86.962338][ C0] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 86.962344][ C0] lock_acquire+0x1a8/0x720 [ 86.962350][ C0] ? console_unlock+0x2fb/0xbb0 [ 86.962357][ C0] ? lock_release+0x710/0x710 [ 86.962363][ C0] ? lock_downgrade+0x6d0/0x6d0 [ 86.962370][ C0] ? do_raw_spin_lock+0x120/0x2b0 [ 86.962376][ C0] ? rwlock_bug.part.0+0x90/0x90 [ 86.962382][ C0] console_unlock+0x37a/0xbb0 [ 86.962389][ C0] ? console_unlock+0x2fb/0xbb0 [ 86.962395][ C0] ? devkmsg_read+0x740/0x740 [ 86.962401][ C0] ? lock_release+0x710/0x710 [ 86.962408][ C0] ? do_raw_spin_unlock+0x171/0x230 [ 86.962414][ C0] ? vprintk_func+0x8d/0x1e0 [ 86.962420][ C0] vprintk_emit+0x189/0x490 [ 86.962426][ C0] vprintk_func+0x8d/0x1e0 [ 86.962432][ C0] printk+0xba/0xed [ 86.962438][ C0] ? record_print_text.cold+0x16/0x16 [ 86.962445][ C0] ? _raw_spin_lock_irqsave+0x4e/0x50 [ 86.962452][ C0] tty_port_close_start.part.0+0x503/0x550 [ 86.962459][ C0] tty_port_close+0x46/0x170 [ 86.962465][ C0] ? tpk_open+0x60/0x60 [ 86.962471][ C0] tty_release+0x45e/0x1210 [ 86.962478][ C0] ? __sanitizer_cov_trace_const_cmp2+0x22/0x80 [ 86.962485][ C0] __fput+0x283/0x920 [ 86.962491][ C0] ? tty_release_struct+0xe0/0xe0 [ 86.962498][ C0] task_work_run+0xdd/0x190 [ 86.962504][ C0] exit_to_user_mode_prepare+0x249/0x250 [ 86.962512][ C0] syscall_exit_to_user_mode+0x19/0x50 [ 86.962519][ C0] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 86.962526][ C0] RIP: 0033:0x408a9b [ 86.962536][ C0] Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 [ 86.962554][ C0] RSP: 002b:00007ffd0c6ed140 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 [ 86.962570][ C0] RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000408a9b [ 86.962580][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 86.962589][ C0] RBP: 0000000000000032 R08: 0000000000000000 R09: 0000000000000000 [ 86.962599][ C0] R10: 0000000000000000 R11: 0000000000000293 R12: 00000000004d427c [ 86.962609][ C0] R13: 00007ffd0c6ed190 R14: 00007ffd0c6ed1b0 R15: 00007ffd0c6ed220 [ 86.977967][ T8467] Bluetooth: hci1: command 0x0409 tx timeout [ 87.733334][ T8880] ttyprintk ttyprintk: tty_port_close_start: tty->count = 1 port count = 39 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 88.985775][ T8467] Bluetooth: hci4: command 0x041b tx timeout [ 88.993089][ T8467] Bluetooth: hci2: command 0x041b tx timeout [ 89.018685][ T8467] Bluetooth: hci5: command 0x041b tx timeout executing program executing program executing program executing program executing program executing program executing program executing program [ 89.039779][ T8467] Bluetooth: hci0: command 0x041b tx timeout [ 89.073993][ T8467] Bluetooth: hci3: command 0x041b tx timeout executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 89.777799][ T8467] Bluetooth: hci1: command 0x041b tx timeout executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 91.058113][ T8467] Bluetooth: hci5: command 0x040f tx timeout [ 91.087668][ T8467] Bluetooth: hci2: command 0x040f tx timeout executing program executing program executing program executing program executing program [ 91.104151][ T8467] Bluetooth: hci4: command 0x040f tx timeout executing program executing program executing program executing program executing program executing program executing program executing program [ 91.137718][ T8467] Bluetooth: hci3: command 0x040f tx timeout [ 91.166555][ T8467] Bluetooth: hci0: command 0x040f tx timeout executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 91.857689][ T8467] Bluetooth: hci1: command 0x040f tx timeout executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 93.137664][ T8467] Bluetooth: hci4: command 0x0419 tx timeout [ 93.144381][ T8467] Bluetooth: hci2: command 0x0419 tx timeout executing program executing program executing program executing program executing program executing program [ 93.181574][ T8467] Bluetooth: hci5: command 0x0419 tx timeout [ 93.220510][ T8467] Bluetooth: hci0: command 0x0419 tx timeout executing program executing program executing program executing program executing program executing program [ 93.238770][ T8467] Bluetooth: hci3: command 0x0419 tx timeout executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 93.937584][ T8467] Bluetooth: hci1: command 0x0419 tx timeout executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program