Warning: Permanently added '10.128.0.228' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 41.907898] [ 41.907902] ============================================ [ 41.907904] WARNING: possible recursive locking detected [ 41.907909] 4.19.211-syzkaller #0 Not tainted [ 41.907911] -------------------------------------------- [ 41.907916] syz-executor301/8133 is trying to acquire lock: [ 41.907919] 0000000049dd2a93 ((fb_notifier_list).rwsem){++++}, at: blocking_notifier_call_chain+0x6f/0xa0 [ 41.907939] [ 41.907939] but task is already holding lock: [ 41.907942] 0000000049dd2a93 ((fb_notifier_list).rwsem){++++}, at: blocking_notifier_call_chain+0x6f/0xa0 [ 41.907960] [ 41.907960] other info that might help us debug this: [ 41.907963] Possible unsafe locking scenario: [ 41.907963] [ 41.907965] CPU0 [ 41.907967] ---- [ 41.907969] lock((fb_notifier_list).rwsem); [ 41.907975] lock((fb_notifier_list).rwsem); [ 41.907981] [ 41.907981] *** DEADLOCK *** [ 41.907981] [ 41.907984] May be due to missing lock nesting notation [ 41.907984] [ 41.907991] 3 locks held by syz-executor301/8133: [ 41.907993] #0: 00000000c985598e (console_lock){+.+.}, at: do_fb_ioctl+0x772/0xb50 [ 41.908012] #1: 00000000d3bb56cf (&fb_info->lock){+.+.}, at: do_fb_ioctl+0x77c/0xb50 [ 41.908028] #2: 0000000049dd2a93 ((fb_notifier_list).rwsem){++++}, at: blocking_notifier_call_chain+0x6f/0xa0 [ 41.908041] [ 41.908041] stack backtrace: [ 41.908048] CPU: 0 PID: 8133 Comm: syz-executor301 Not tainted 4.19.211-syzkaller #0 [ 41.908052] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 41.908054] Call Trace: [ 41.908065] dump_stack+0x1fc/0x2ef [ 41.908075] __lock_acquire.cold+0x121/0x57e [ 41.908084] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 41.908092] ? mark_held_locks+0xf0/0xf0 [ 41.908099] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 41.908107] ? retint_kernel+0x2d/0x2d [ 41.908115] ? vga16fb_setcolreg+0xed/0x380 [ 41.908122] lock_acquire+0x170/0x3c0 [ 41.908129] ? blocking_notifier_call_chain+0x6f/0xa0 [ 41.908135] down_read+0x36/0x80 [ 41.908142] ? blocking_notifier_call_chain+0x6f/0xa0 [ 41.908149] blocking_notifier_call_chain+0x6f/0xa0 [ 41.908157] fb_set_var+0xd9a/0xf90 [ 41.908165] ? fb_set_suspend+0x130/0x130 [ 41.908172] ? cfb_imageblit+0xd43/0x1040 [ 41.908180] ? vga16fb_imageblit+0x6b4/0x2260 [ 41.908187] ? fb_pad_aligned_buffer+0xf7/0x150 [ 41.908195] ? fb_get_color_depth+0x11a/0x240 [ 41.908201] ? bit_cursor+0x1165/0x1740 [ 41.908207] ? fb_videomode_to_var+0xf/0x610 [ 41.908214] fbcon_switch+0x425/0x1ba0 [ 41.908221] ? bit_update_start+0x1f0/0x1f0 [ 41.908227] ? fbcon_event_notify+0x1d80/0x1d80 [ 41.908236] ? bit_update_start+0x1f0/0x1f0 [ 41.908241] ? fbcon_cursor+0x531/0x710 [ 41.908250] redraw_screen+0x37d/0x870 [ 41.908257] ? vc_init+0x440/0x440 [ 41.908263] ? bit_update_start+0x1f0/0x1f0 [ 41.908269] ? fbcon_cursor+0x531/0x710 [ 41.908275] fbcon_blank+0xae6/0xec0 [ 41.908283] ? con2fb_release_oldinfo.constprop.0+0x5f0/0x5f0 [ 41.908289] ? __lock_acquire+0x6de/0x3ff0 [ 41.908303] ? mark_held_locks+0xf0/0xf0 [ 41.908312] do_unblank_screen+0x241/0x610 [ 41.908319] fbcon_event_notify+0x1a3a/0x1d80 [ 41.908326] notifier_call_chain+0xc0/0x230 [ 41.908334] blocking_notifier_call_chain+0x85/0xa0 [ 41.908341] fb_blank+0x195/0x1d0 [ 41.908348] ? fb_set_logocmap+0x4a0/0x4a0 [ 41.908354] ? lock_acquire+0x170/0x3c0 [ 41.908361] do_fb_ioctl+0x7ec/0xb50 [ 41.908367] ? register_framebuffer+0x9e0/0x9e0 [ 41.908373] ? lock_downgrade+0x720/0x720 [ 41.908382] ? page_remove_rmap.part.0+0x2f/0x2c0 [ 41.908388] ? do_raw_spin_unlock+0x171/0x230 [ 41.908396] ? wp_page_copy+0x1203/0x2c40 [ 41.908403] ? follow_pte_pmd+0x60/0x60 [ 41.908410] ? do_wp_page+0x2dc/0x2210 [ 41.908417] ? finish_mkwrite_fault+0x640/0x640 [ 41.908424] ? __handle_mm_fault+0x15f6/0x41c0 [ 41.908430] ? mark_held_locks+0xf0/0xf0 [ 41.908437] ? __handle_mm_fault+0xf34/0x41c0 [ 41.908443] fb_ioctl+0xdd/0x130 [ 41.908448] ? do_fb_ioctl+0xb50/0xb50 [ 41.908455] do_vfs_ioctl+0xcdb/0x12e0 [ 41.908462] ? ioctl_preallocate+0x200/0x200 [ 41.908470] ? __do_page_fault+0x6d1/0xd60 [ 41.908477] ? lock_downgrade+0x720/0x720 [ 41.908484] ? up_read+0x17/0x110 [ 41.908491] ? __do_page_fault+0x180/0xd60 [ 41.908497] ksys_ioctl+0x9b/0xc0 [ 41.908504] __x64_sys_ioctl+0x6f/0xb0 [ 41.908511] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 41.908516] do_syscall_64+0xf9/0x620 [ 41.908524] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 41.908530] RIP: 0033:0x7f36d2d29269 [ 41.908537] 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 [ 41.908541] RSP: 002b:00007ffe8aaad968 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 41.908548] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f36d2d29269 [ 41.908552] RDX: 0000000000000000 RSI: 0000000000004611 RDI: 0000000000000003 [ 41.908555] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 [ 41.908559] R10: 00007ffe8aaad3e0 R11: 0000000000000246 R12: 000000000000a22c [ 41.908563] R13: 00007ffe8aaad97c R14: 00007ffe8aaad990 R15: 00007ffe8aaad980 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program