[ 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. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.14' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 37.373996] [ 37.374000] ============================================ [ 37.374002] WARNING: possible recursive locking detected [ 37.374007] 4.19.180-syzkaller #0 Not tainted [ 37.374009] -------------------------------------------- [ 37.374013] syz-executor660/8077 is trying to acquire lock: [ 37.374017] 00000000b048588a ((fb_notifier_list).rwsem){++++}, at: blocking_notifier_call_chain+0x6f/0xa0 [ 37.374034] [ 37.374034] but task is already holding lock: [ 37.374036] 00000000b048588a ((fb_notifier_list).rwsem){++++}, at: blocking_notifier_call_chain+0x6f/0xa0 [ 37.374047] [ 37.374047] other info that might help us debug this: [ 37.374048] Possible unsafe locking scenario: [ 37.374048] [ 37.374050] CPU0 [ 37.374051] ---- [ 37.374052] lock((fb_notifier_list).rwsem); [ 37.374055] lock((fb_notifier_list).rwsem); [ 37.374058] [ 37.374058] *** DEADLOCK *** [ 37.374058] [ 37.374060] May be due to missing lock nesting notation [ 37.374060] [ 37.374064] 3 locks held by syz-executor660/8077: [ 37.374065] #0: 00000000d6069ee1 (console_lock){+.+.}, at: do_fb_ioctl+0x772/0xb50 [ 37.374079] #1: 00000000dbd46349 (&fb_info->lock){+.+.}, at: do_fb_ioctl+0x77c/0xb50 [ 37.374090] #2: 00000000b048588a ((fb_notifier_list).rwsem){++++}, at: blocking_notifier_call_chain+0x6f/0xa0 [ 37.374101] [ 37.374101] stack backtrace: [ 37.374108] CPU: 1 PID: 8077 Comm: syz-executor660 Not tainted 4.19.180-syzkaller #0 [ 37.374112] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.374114] Call Trace: [ 37.374129] dump_stack+0x1fc/0x2ef [ 37.374138] __lock_acquire.cold+0x121/0x57e [ 37.374148] ? rcu_nmi_exit+0xb3/0x180 [ 37.374156] ? mark_held_locks+0xf0/0xf0 [ 37.374165] ? check_preemption_disabled+0x41/0x280 [ 37.374172] ? delay_tsc+0x8a/0xb0 [ 37.374180] ? vga16fb_update_fix+0x327/0x4a0 [ 37.374187] ? vga16fb_set_par+0x82b/0xa90 [ 37.374195] lock_acquire+0x170/0x3c0 [ 37.374202] ? blocking_notifier_call_chain+0x6f/0xa0 [ 37.374215] down_read+0x36/0x80 [ 37.374222] ? blocking_notifier_call_chain+0x6f/0xa0 [ 37.374229] blocking_notifier_call_chain+0x6f/0xa0 [ 37.374236] fb_set_var+0xc51/0xe20 [ 37.374243] ? fb_set_suspend+0x130/0x130 [ 37.374249] ? cfb_imageblit+0xd43/0x1040 [ 37.374258] ? vga16fb_imageblit+0x6b4/0x2260 [ 37.374266] ? fb_pad_aligned_buffer+0xf7/0x150 [ 37.374275] ? fb_get_color_depth+0x11a/0x240 [ 37.374281] ? bit_cursor+0x1165/0x1740 [ 37.374288] ? fb_videomode_to_var+0xf/0x610 [ 37.374294] fbcon_switch+0x425/0x1ba0 [ 37.374301] ? bit_update_start+0x1f0/0x1f0 [ 37.374308] ? fbcon_event_notify+0x1d80/0x1d80 [ 37.374316] ? bit_update_start+0x1f0/0x1f0 [ 37.374321] ? fbcon_cursor+0x523/0x700 [ 37.374332] redraw_screen+0x37d/0x870 [ 37.374343] ? vc_init+0x440/0x440 [ 37.374354] ? bit_update_start+0x1f0/0x1f0 [ 37.374364] ? fbcon_cursor+0x523/0x700 [ 37.374375] fbcon_blank+0xae6/0xec0 [ 37.374389] ? con2fb_release_oldinfo.constprop.0+0x5f0/0x5f0 [ 37.374401] ? __lock_acquire+0x6de/0x3ff0 [ 37.374415] ? io_schedule_timeout+0x140/0x140 [ 37.374428] ? __lock_acquire+0x6de/0x3ff0 [ 37.374440] ? mark_held_locks+0xf0/0xf0 [ 37.374453] ? mark_held_locks+0xf0/0xf0 [ 37.374469] do_unblank_screen+0x241/0x610 [ 37.374479] fbcon_event_notify+0x1a3a/0x1d80 [ 37.374490] notifier_call_chain+0xc0/0x230 [ 37.374499] blocking_notifier_call_chain+0x85/0xa0 [ 37.374505] fb_blank+0x195/0x1d0 [ 37.374512] ? fb_set_logocmap+0x4a0/0x4a0 [ 37.374518] ? lock_acquire+0x170/0x3c0 [ 37.374526] do_fb_ioctl+0x7ec/0xb50 [ 37.374533] ? check_preemption_disabled+0x41/0x280 [ 37.374540] ? register_framebuffer+0x9e0/0x9e0 [ 37.374548] ? is_bpf_text_address+0xfc/0x1b0 [ 37.374556] ? kernel_text_address+0xbd/0xf0 [ 37.374563] ? __kernel_text_address+0x9/0x30 [ 37.374571] ? unwind_get_return_address+0x51/0x90 [ 37.374578] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.374584] ? __save_stack_trace+0xaf/0x190 [ 37.374591] ? check_preemption_disabled+0x41/0x280 [ 37.374600] ? trace_hardirqs_off+0x64/0x200 [ 37.374608] ? __kasan_slab_free+0x186/0x1f0 [ 37.374615] ? kmem_cache_free+0x7f/0x260 [ 37.374623] ? putname+0xe1/0x120 [ 37.374628] ? do_sys_open+0x2ba/0x520 [ 37.374635] ? do_syscall_64+0xf9/0x620 [ 37.374641] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.374648] ? mark_held_locks+0xf0/0xf0 [ 37.374657] ? debug_check_no_obj_freed+0x201/0x490 [ 37.374664] ? lock_downgrade+0x720/0x720 [ 37.374670] ? lock_acquire+0x170/0x3c0 [ 37.374677] fb_ioctl+0xdd/0x130 [ 37.374683] ? do_fb_ioctl+0xb50/0xb50 [ 37.374690] do_vfs_ioctl+0xcdb/0x12e0 [ 37.374696] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 37.374703] ? debug_check_no_obj_freed+0x201/0x490 [ 37.374709] ? ioctl_preallocate+0x200/0x200 [ 37.374716] ? putname+0xe1/0x120 [ 37.374723] ? putname+0xe1/0x120 [ 37.374729] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 37.374735] ? kmem_cache_free+0x226/0x260 [ 37.374742] ? putname+0xe1/0x120 [ 37.374748] ? do_sys_open+0x2bf/0x520 [ 37.374754] ? filp_open+0x70/0x70 [ 37.374760] ksys_ioctl+0x9b/0xc0 [ 37.374767] __x64_sys_ioctl+0x6f/0xb0 [ 37.374774] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 37.374779] do_syscall_64+0xf9/0x620 [ 37.374786] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.374792] RIP: 0033:0x440119 [ 37.374800] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 37.374803] RSP: 002b:00007fff22d438f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 37.374809] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440119 [ 37.374813] RDX: 0000000000000000 RSI: 0000000000004611 RDI: 0000000000000006 executing program executing program executing program [ 37.374816] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 [ 37.374820] R10: 0000000000000001 R11: 0000000000000246 R12: 00000000004038f0 [ 37.374824] R13: 0000000000000000 R14: 00007fff22d43920 R15: 00007fff22d43910 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program