Starting System Logging Service... Starting OpenBSD Secure Shell server... Starting getty on tty2-tty6 if dbus and logind are not available... [ OK ] Started Regular background program processing daemon. Starting Permit User Sessions... [ OK ] Started System Logging Service. [ OK ] Found device /dev/ttyS0. [ OK ] Started Permit User Sessions. [ 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.1.41' (ECDSA) to the list of known hosts. Debian GNU/Linux 9 syzkaller ttyS0 syzkaller login: [ 80.638391][ T36] audit: type=1400 audit(1608643283.065:8): avc: denied { execmem } for pid=8488 comm="syz-executor499" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 80.693762][ T8495] IPVS: ftp: loaded support on port[0] = 21 [ 80.696409][ T8498] IPVS: ftp: loaded support on port[0] = 21 [ 80.706080][ T8500] IPVS: ftp: loaded support on port[0] = 21 [ 80.711928][ T8496] IPVS: ftp: loaded support on port[0] = 21 [ 80.719931][ T8497] IPVS: ftp: loaded support on port[0] = 21 [ 80.722976][ T8499] IPVS: ftp: loaded support on port[0] = 21 [ 81.022661][ T27] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 81.051367][ T27] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 81.107351][ T8628] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 81.129253][ T287] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 81.143625][ T27] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 81.151871][ T27] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 81.162103][ T287] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 81.182709][ T8628] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 81.225709][ T8628] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 81.245860][ T22] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 81.253894][ T22] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 81.284053][ T287] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 81.312748][ T287] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 81.325502][ T159] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 81.333370][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 81.347947][ T159] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 81.367778][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 81.376484][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready executing program [ 81.411171][ T27] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 81.436630][ T27] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 executing program [ 81.478000][ T22] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 81.480953][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 81.509831][ T22] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 executing program [ 81.550757][ T35] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 81.580974][ T159] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 81.595275][ T159] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 81.612234][ T22] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 executing program executing program [ 81.651770][ T22] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 81.659064][ T3192] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 81.672226][ T3192] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 81.719956][ T159] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 executing program executing program executing program executing program executing program [ 81.762073][ T159] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 81.801460][ T3192] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready executing program executing program executing program executing program [ 81.826454][ T287] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 81.851791][ T287] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 81.868133][ T3192] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 98.530756][T12989] ttyprintk ttyprintk: tty_port_close_start: tty->count = 1 port count = 2131 [ 98.541154][ C1] [ 98.541165][ C1] ====================================================== [ 98.541175][ C1] WARNING: possible circular locking dependency detected [ 98.541185][ C1] 5.10.0-syzkaller #0 Not tainted [ 98.541192][ C1] ------------------------------------------------------ [ 98.541200][ C1] syz-executor499/12989 is trying to acquire lock: [ 98.541206][ C1] ffffffff8b69fea0 (console_owner){....}-{0:0}, at: console_unlock+0x34e/0xc00 [ 98.541233][ C1] [ 98.541237][ C1] but task is already holding lock: [ 98.541241][ C1] ffffffff90360418 (&port->lock){-.-.}-{2:2}, at: tty_port_close_start.part.0+0x28/0x550 [ 98.541265][ C1] [ 98.541269][ C1] which lock already depends on the new lock. [ 98.541274][ C1] [ 98.541276][ C1] [ 98.541281][ C1] the existing dependency chain (in reverse order) is: [ 98.541287][ C1] [ 98.541290][ C1] -> #2 (&port->lock){-.-.}-{2:2}: [ 98.541308][ C1] _raw_spin_lock_irqsave+0x39/0x50 [ 98.541314][ C1] tty_port_tty_get+0x1f/0x100 [ 98.541320][ C1] tty_port_default_wakeup+0x11/0x40 [ 98.541326][ C1] serial8250_tx_chars+0x487/0xa80 [ 98.541332][ C1] serial8250_handle_irq.part.0+0x328/0x3d0 [ 98.541338][ C1] serial8250_default_handle_irq+0xb2/0x220 [ 98.541345][ C1] serial8250_interrupt+0xfd/0x200 [ 98.541350][ C1] __handle_irq_event_percpu+0x303/0x950 [ 98.541356][ C1] handle_irq_event_percpu+0x76/0x170 executing program [ 98.541362][ C1] handle_irq_event+0xa1/0x130 [ 98.541368][ C1] handle_edge_irq+0x25f/0xd00 [ 98.541373][ C1] asm_call_irq_on_stack+0xf/0x20 [ 98.541379][ C1] common_interrupt+0x12f/0x220 [ 98.541385][ C1] asm_common_interrupt+0x1e/0x40 [ 98.541391][ C1] acpi_idle_do_entry+0x1c9/0x250 [ 98.541396][ C1] acpi_idle_enter+0x361/0x500 [ 98.541402][ C1] cpuidle_enter_state+0x1b1/0xc80 [ 98.541407][ C1] cpuidle_enter+0x4a/0xa0 executing program [ 98.541412][ C1] do_idle+0x3eb/0x590 [ 98.541417][ C1] cpu_startup_entry+0x14/0x20 [ 98.541422][ C1] start_kernel+0x496/0x4b7 [ 98.541428][ C1] secondary_startup_64_no_verify+0xb0/0xbb [ 98.541433][ C1] [ 98.541436][ C1] -> #1 (&port_lock_key){-.-.}-{2:2}: [ 98.541455][ C1] _raw_spin_lock_irqsave+0x39/0x50 [ 98.541470][ C1] serial8250_console_write+0x880/0xa90 [ 98.541476][ C1] console_unlock+0x892/0xc00 [ 98.541481][ C1] vprintk_emit+0x198/0x400 [ 98.541487][ C1] vprintk_func+0x8d/0x1e0 [ 98.541492][ C1] printk+0xba/0xed [ 98.541497][ C1] register_console+0x664/0x870 [ 98.541502][ C1] univ8250_console_init+0x3a/0x46 [ 98.541508][ C1] console_init+0x41e/0x613 [ 98.541513][ C1] start_kernel+0x327/0x4b7 [ 98.541519][ C1] secondary_startup_64_no_verify+0xb0/0xbb [ 98.541524][ C1] [ 98.541527][ C1] -> #0 (console_owner){....}-{0:0}: [ 98.541545][ C1] __lock_acquire+0x2b39/0x54b0 [ 98.541550][ C1] lock_acquire+0x29d/0x750 [ 98.541556][ C1] console_unlock+0x3cb/0xc00 [ 98.541562][ C1] vprintk_emit+0x198/0x400 [ 98.541567][ C1] vprintk_func+0x8d/0x1e0 [ 98.541572][ C1] printk+0xba/0xed [ 98.541577][ C1] tty_port_close_start.part.0+0x503/0x550 [ 98.541583][ C1] tty_port_close+0x46/0x170 [ 98.541588][ C1] tty_release+0x45e/0x1210 [ 98.541593][ C1] __fput+0x283/0x920 [ 98.541598][ C1] task_work_run+0xdd/0x190 executing program [ 98.541604][ C1] exit_to_user_mode_prepare+0x1f0/0x200 [ 98.541610][ C1] syscall_exit_to_user_mode+0x19/0x50 [ 98.541617][ C1] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 98.541623][ C1] [ 98.541629][ C1] other info that might help us debug this: [ 98.541635][ C1] [ 98.541639][ C1] Chain exists of: [ 98.541644][ C1] console_owner --> &port_lock_key --> &port->lock [ 98.541675][ C1] [ 98.541680][ C1] Possible unsafe locking scenario: [ 98.541685][ C1] executing program [ 98.541689][ C1] CPU0 CPU1 [ 98.541695][ C1] ---- ---- [ 98.541700][ C1] lock(&port->lock); [ 98.541713][ C1] lock(&port_lock_key); [ 98.541727][ C1] lock(&port->lock); [ 98.541739][ C1] lock(console_owner); [ 98.541751][ C1] [ 98.541754][ C1] *** DEADLOCK *** [ 98.541758][ C1] [ 98.541762][ C1] 3 locks held by syz-executor499/12989: [ 98.541767][ C1] #0: ffff88803175d1c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0xbd/0x120 [ 98.541796][ C1] #1: ffffffff90360418 (&port->lock){-.-.}-{2:2}, at: tty_port_close_start.part.0+0x28/0x550 [ 98.541831][ C1] #2: ffffffff8b780220 (console_lock){+.+.}-{0:0}, at: vprintk_func+0x8d/0x1e0 [ 98.541865][ C1] [ 98.541870][ C1] stack backtrace: [ 98.541878][ C1] CPU: 1 PID: 12989 Comm: syz-executor499 Not tainted 5.10.0-syzkaller #0 [ 98.541888][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 98.541896][ C1] Call Trace: executing program [ 98.541901][ C1] dump_stack+0x107/0x163 [ 98.541906][ C1] check_noncircular+0x25f/0x2e0 [ 98.541912][ C1] ? stack_trace_consume_entry+0x160/0x160 [ 98.541919][ C1] ? print_circular_bug+0x480/0x480 [ 98.541924][ C1] ? memcpy+0x39/0x60 [ 98.541929][ C1] ? lockdep_lock+0xc6/0x200 [ 98.541934][ C1] ? call_rcu_zapped+0xb0/0xb0 [ 98.541940][ C1] __lock_acquire+0x2b39/0x54b0 [ 98.541946][ C1] ? lockdep_hardirqs_on_prepare+0x420/0x420 [ 98.541952][ C1] ? msg_add_ext_text+0x1d0/0x1d0 executing program [ 98.541957][ C1] lock_acquire+0x29d/0x750 [ 98.541963][ C1] ? console_unlock+0x34e/0xc00 [ 98.541969][ C1] ? lock_release+0x710/0x710 [ 98.541974][ C1] ? lock_downgrade+0x6d0/0x6d0 [ 98.541980][ C1] ? do_raw_spin_lock+0x120/0x2b0 [ 98.541985][ C1] ? rwlock_bug.part.0+0x90/0x90 [ 98.541991][ C1] console_unlock+0x3cb/0xc00 [ 98.541996][ C1] ? console_unlock+0x34e/0xc00 [ 98.542002][ C1] ? devkmsg_read+0x740/0x740 [ 98.542007][ C1] ? lock_release+0x710/0x710 [ 98.542012][ C1] ? do_raw_spin_unlock+0x171/0x230 [ 98.542018][ C1] ? vprintk_func+0x8d/0x1e0 [ 98.542023][ C1] vprintk_emit+0x198/0x400 [ 98.542028][ C1] vprintk_func+0x8d/0x1e0 [ 98.542033][ C1] printk+0xba/0xed [ 98.542038][ C1] ? record_print_text.cold+0x16/0x16 [ 98.542045][ C1] ? _raw_spin_lock_irqsave+0x4e/0x50 [ 98.542051][ C1] tty_port_close_start.part.0+0x503/0x550 [ 98.542058][ C1] tty_port_close+0x46/0x170 [ 98.542063][ C1] ? tpk_open+0x60/0x60 [ 98.542068][ C1] tty_release+0x45e/0x1210 [ 98.542073][ C1] ? __sanitizer_cov_trace_const_cmp2+0x22/0x80 [ 98.542080][ C1] __fput+0x283/0x920 [ 98.542085][ C1] ? tty_release_struct+0xe0/0xe0 [ 98.542090][ C1] task_work_run+0xdd/0x190 [ 98.542095][ C1] exit_to_user_mode_prepare+0x1f0/0x200 [ 98.542102][ C1] syscall_exit_to_user_mode+0x19/0x50 [ 98.542108][ C1] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 98.542114][ C1] RIP: 0033:0x406f21 executing program [ 98.542123][ C1] Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 24 1a 00 00 c3 48 83 ec 08 e8 6a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 b3 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 [ 98.542139][ C1] RSP: 002b:00007fff3316c600 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 [ 98.542152][ C1] RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000406f21 [ 98.542161][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 98.542171][ C1] RBP: 00000000006e49f0 R08: 0000000000000000 R09: 0000000000000000 [ 98.542181][ C1] R10: 00007fff3316c630 R11: 0000000000000293 R12: 00000000006e49fc executing program executing program executing program executing program executing program [ 98.542191][ C1] R13: 0000000000000001 R14: 000000000000002d R15: 20c49ba5e353f7cf executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program