audit: type=1800 audit(1671710323.898:201): pid=15929 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="bus" dev="loop0" ino=8761 res=0 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8023 at include/linux/backing-dev.h:335 inode_to_wb include/linux/backing-dev.h:335 [inline] WARNING: CPU: 0 PID: 8023 at include/linux/backing-dev.h:335 account_page_dirtied+0x8df/0xbb0 mm/page-writeback.c:2437 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 8023 Comm: syz-executor.0 Not tainted 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 panic+0x1f9/0x42d kernel/panic.c:183 __warn.cold+0x20/0x44 kernel/panic.c:547 report_bug+0x208/0x250 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967 RIP: 0010:inode_to_wb include/linux/backing-dev.h:335 [inline] RIP: 0010:account_page_dirtied+0x8df/0xbb0 mm/page-writeback.c:2437 RSP: 0018:ffff8880954e7b08 EFLAGS: 00010097 RAX: ffff8880b2dd2300 RBX: ffff8880af3df440 RCX: 1ffffffff127a6e8 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000082 RBP: ffff8880b1ffab28 R08: ffffffff8ba9473c R09: 0000000000003034 R10: 0000000000000001 R11: ffff8880b2dd2300 R12: ffffea0002469940 R13: ffff8880b1ffa998 R14: ffff8880b1ffa998 R15: ffffea0002469960 __set_page_dirty+0x77/0x2a0 fs/buffer.c:634 mark_buffer_dirty+0x307/0x480 fs/buffer.c:1173 gfs2_unpin+0xc7/0xeb0 fs/gfs2/lops.c:107 buf_lo_after_commit+0x12d/0x1f0 fs/gfs2/lops.c:510 lops_after_commit fs/gfs2/lops.h:64 [inline] gfs2_log_flush+0x7fc/0x1ad0 fs/gfs2/log.c:759 gfs2_kill_sb+0x54/0x1a0 fs/gfs2/ops_fstype.c:1407 deactivate_locked_super+0x6c/0xd0 fs/super.c:319 deactivate_super+0x7f/0xa0 fs/super.c:350 cleanup_mnt+0x186/0x2c0 fs/namespace.c:1183 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f3aa0f84517 RSP: 002b:00007ffc4219ba38 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f3aa0f84517 RDX: 00007ffc4219bb0b RSI: 000000000000000a RDI: 00007ffc4219bb00 RBP: 00007ffc4219bb00 R08: 00000000ffffffff R09: 00007ffc4219b8d0 R10: 0000555555601903 R11: 0000000000000246 R12: 00007f3aa0fddb24 R13: 00007ffc4219cbc0 R14: 0000555555601810 R15: 00007ffc4219cc00 Kernel Offset: disabled ===================================================== WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected 4.14.302-syzkaller #0 Not tainted ----------------------------------------------------- syz-executor.0/8023 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: ((fb_notifier_list).rwsem){++++}, at: [] __blocking_notifier_call_chain kernel/notifier.c:316 [inline] ((fb_notifier_list).rwsem){++++}, at: [] __blocking_notifier_call_chain kernel/notifier.c:304 [inline] ((fb_notifier_list).rwsem){++++}, at: [] blocking_notifier_call_chain kernel/notifier.c:328 [inline] ((fb_notifier_list).rwsem){++++}, at: [] blocking_notifier_call_chain+0x63/0x90 kernel/notifier.c:325 and this task is already holding: (&(&mapping->tree_lock)->rlock){-.-.}, at: [] __set_page_dirty+0x28/0x2a0 fs/buffer.c:631 which would create a new lock dependency: (&(&mapping->tree_lock)->rlock){-.-.} -> ((fb_notifier_list).rwsem){++++} but this new dependency connects a HARDIRQ-irq-safe lock: (&(&mapping->tree_lock)->rlock){-.-.} ... which became HARDIRQ-irq-safe at: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:160 test_clear_page_writeback+0x18d/0xea0 mm/page-writeback.c:2742 end_page_writeback+0xae/0x1c0 mm/filemap.c:1153 ext4_finish_bio+0x4ca/0x720 fs/ext4/page-io.c:120 ext4_end_bio+0x14b/0x5a0 fs/ext4/page-io.c:344 bio_endio+0x290/0x690 block/bio.c:1918 req_bio_endio block/blk-core.c:204 [inline] blk_update_request+0x2d0/0xa90 block/blk-core.c:2765 scsi_end_request+0x7d/0xa10 drivers/scsi/scsi_lib.c:659 scsi_io_completion+0xa3f/0x1530 drivers/scsi/scsi_lib.c:885 scsi_softirq_done+0x2c8/0x360 drivers/scsi/scsi_lib.c:1672 __blk_mq_complete_request+0x30b/0x6c0 block/blk-mq.c:571 blk_mq_complete_request+0x52/0x60 block/blk-mq.c:591 virtscsi_vq_done drivers/scsi/virtio_scsi.c:223 [inline] virtscsi_req_done+0x13b/0x1d0 drivers/scsi/virtio_scsi.c:238 vring_interrupt+0x117/0x200 drivers/virtio/virtio_ring.c:954 __handle_irq_event_percpu+0xee/0x7f0 kernel/irq/handle.c:147 handle_irq_event_percpu kernel/irq/handle.c:187 [inline] handle_irq_event+0xed/0x240 kernel/irq/handle.c:204 handle_edge_irq+0x224/0xc40 kernel/irq/chip.c:770 generic_handle_irq_desc include/linux/irqdesc.h:159 [inline] handle_irq+0x35/0x50 arch/x86/kernel/irq_64.c:87 do_IRQ+0x93/0x1d0 arch/x86/kernel/irq.c:230 ret_from_intr+0x0/0x1e arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline] lock_release+0x41e/0x870 kernel/locking/lockdep.c:4020 rcu_lock_release include/linux/rcupdate.h:247 [inline] rcu_read_unlock include/linux/rcupdate.h:685 [inline] is_bpf_text_address+0xb8/0x150 kernel/bpf/core.c:504 kernel_text_address kernel/extable.c:150 [inline] kernel_text_address+0xbd/0xf0 kernel/extable.c:120 __kernel_text_address+0x9/0x30 kernel/extable.c:105 unwind_get_return_address arch/x86/kernel/unwind_orc.c:252 [inline] unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_orc.c:247 __save_stack_trace+0xa0/0x160 arch/x86/kernel/stacktrace.c:45 save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 kmem_cache_alloc+0x124/0x3c0 mm/slab.c:3552 proc_alloc_inode+0x18/0x1a0 fs/proc/inode.c:62 alloc_inode+0x5d/0x170 fs/inode.c:209 new_inode_pseudo fs/inode.c:898 [inline] new_inode+0x1d/0xf0 fs/inode.c:927 proc_get_inode+0x20/0x620 fs/proc/inode.c:435 proc_lookup_de+0xd5/0x160 fs/proc/generic.c:224 proc_root_lookup+0x3b/0x70 fs/proc/root.c:168 lookup_open+0x5c4/0x1750 fs/namei.c:3220 do_last fs/namei.c:3334 [inline] path_openat+0x14bb/0x2970 fs/namei.c:3571 do_filp_open+0x179/0x3c0 fs/namei.c:3605 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 to a HARDIRQ-irq-unsafe lock: ((fb_notifier_list).rwsem){++++} ... which became HARDIRQ-irq-unsafe at: ... lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 down_write+0x34/0x90 kernel/locking/rwsem.c:54 blocking_notifier_chain_register+0x65/0x310 kernel/notifier.c:226 fb_console_init+0x1a/0x1f2 drivers/video/fbdev/core/fbcon.c:3347 fbmem_init+0xe2/0x103 drivers/video/fbdev/core/fbmem.c:1941 do_one_initcall+0x88/0x210 init/main.c:830 do_initcall_level init/main.c:896 [inline] do_initcalls init/main.c:904 [inline] do_basic_setup init/main.c:922 [inline] kernel_init_freeable+0x565/0x626 init/main.c:1081 kernel_init+0xd/0x15d init/main.c:1006 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 other info that might help us debug this: Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock((fb_notifier_list).rwsem); local_irq_disable(); lock(&(&mapping->tree_lock)->rlock); lock((fb_notifier_list).rwsem); lock(&(&mapping->tree_lock)->rlock); *** DEADLOCK *** 4 locks held by syz-executor.0/8023: #0: (&type->s_umount_key#65){+.+.}, at: [] deactivate_super+0x77/0xa0 fs/super.c:349 #1: (&sdp->sd_log_flush_lock){++++}, at: [] gfs2_log_flush+0xb2/0x1ad0 fs/gfs2/log.c:721 #2: (rcu_read_lock){....}, at: [] lock_page_memcg+0x0/0x200 include/linux/memcontrol.h:403 #3: (&(&mapping->tree_lock)->rlock){-.-.}, at: [] __set_page_dirty+0x28/0x2a0 fs/buffer.c:631 the dependencies between HARDIRQ-irq-safe lock and the holding lock: -> (&(&mapping->tree_lock)->rlock){-.-.} ops: 1722490 { IN-HARDIRQ-W at: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:160 test_clear_page_writeback+0x18d/0xea0 mm/page-writeback.c:2742 end_page_writeback+0xae/0x1c0 mm/filemap.c:1153 ext4_finish_bio+0x4ca/0x720 fs/ext4/page-io.c:120 ext4_end_bio+0x14b/0x5a0 fs/ext4/page-io.c:344 bio_endio+0x290/0x690 block/bio.c:1918 req_bio_endio block/blk-core.c:204 [inline] blk_update_request+0x2d0/0xa90 block/blk-core.c:2765 scsi_end_request+0x7d/0xa10 drivers/scsi/scsi_lib.c:659 scsi_io_completion+0xa3f/0x1530 drivers/scsi/scsi_lib.c:885 scsi_softirq_done+0x2c8/0x360 drivers/scsi/scsi_lib.c:1672 __blk_mq_complete_request+0x30b/0x6c0 block/blk-mq.c:571 blk_mq_complete_request+0x52/0x60 block/blk-mq.c:591 virtscsi_vq_done drivers/scsi/virtio_scsi.c:223 [inline] virtscsi_req_done+0x13b/0x1d0 drivers/scsi/virtio_scsi.c:238 vring_interrupt+0x117/0x200 drivers/virtio/virtio_ring.c:954 __handle_irq_event_percpu+0xee/0x7f0 kernel/irq/handle.c:147 handle_irq_event_percpu kernel/irq/handle.c:187 [inline] handle_irq_event+0xed/0x240 kernel/irq/handle.c:204 handle_edge_irq+0x224/0xc40 kernel/irq/chip.c:770 generic_handle_irq_desc include/linux/irqdesc.h:159 [inline] handle_irq+0x35/0x50 arch/x86/kernel/irq_64.c:87 do_IRQ+0x93/0x1d0 arch/x86/kernel/irq.c:230 ret_from_intr+0x0/0x1e arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline] lock_release+0x41e/0x870 kernel/locking/lockdep.c:4020 rcu_lock_release include/linux/rcupdate.h:247 [inline] rcu_read_unlock include/linux/rcupdate.h:685 [inline] is_bpf_text_address+0xb8/0x150 kernel/bpf/core.c:504 kernel_text_address kernel/extable.c:150 [inline] kernel_text_address+0xbd/0xf0 kernel/extable.c:120 __kernel_text_address+0x9/0x30 kernel/extable.c:105 unwind_get_return_address arch/x86/kernel/unwind_orc.c:252 [inline] unwind_get_return_address+0x51/0x90 arch/x86/kernel/unwind_orc.c:247 __save_stack_trace+0xa0/0x160 arch/x86/kernel/stacktrace.c:45 save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 kmem_cache_alloc+0x124/0x3c0 mm/slab.c:3552 proc_alloc_inode+0x18/0x1a0 fs/proc/inode.c:62 alloc_inode+0x5d/0x170 fs/inode.c:209 new_inode_pseudo fs/inode.c:898 [inline] new_inode+0x1d/0xf0 fs/inode.c:927 proc_get_inode+0x20/0x620 fs/proc/inode.c:435 proc_lookup_de+0xd5/0x160 fs/proc/generic.c:224 proc_root_lookup+0x3b/0x70 fs/proc/root.c:168 lookup_open+0x5c4/0x1750 fs/namei.c:3220 do_last fs/namei.c:3334 [inline] path_openat+0x14bb/0x2970 fs/namei.c:3571 do_filp_open+0x179/0x3c0 fs/namei.c:3605 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 IN-SOFTIRQ-W at: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:160 test_clear_page_writeback+0x18d/0xea0 mm/page-writeback.c:2742 end_page_writeback+0xae/0x1c0 mm/filemap.c:1153 end_buffer_async_write+0x37f/0x6b0 fs/buffer.c:377 end_bio_bh_io_sync+0xbf/0x100 fs/buffer.c:3033 bio_endio+0x290/0x690 block/bio.c:1918 req_bio_endio block/blk-core.c:204 [inline] blk_update_request+0x2d0/0xa90 block/blk-core.c:2765 scsi_end_request+0x7d/0xa10 drivers/scsi/scsi_lib.c:659 scsi_io_completion+0xa3f/0x1530 drivers/scsi/scsi_lib.c:885 scsi_softirq_done+0x2c8/0x360 drivers/scsi/scsi_lib.c:1672 __blk_mq_complete_request+0x30b/0x6c0 block/blk-mq.c:571 blk_mq_complete_request+0x52/0x60 block/blk-mq.c:591 virtscsi_vq_done drivers/scsi/virtio_scsi.c:223 [inline] virtscsi_req_done+0x13b/0x1d0 drivers/scsi/virtio_scsi.c:238 vring_interrupt+0x117/0x200 drivers/virtio/virtio_ring.c:954 __handle_irq_event_percpu+0xee/0x7f0 kernel/irq/handle.c:147 handle_irq_event_percpu kernel/irq/handle.c:187 [inline] handle_irq_event+0xed/0x240 kernel/irq/handle.c:204 handle_edge_irq+0x224/0xc40 kernel/irq/chip.c:770 generic_handle_irq_desc include/linux/irqdesc.h:159 [inline] handle_irq+0x35/0x50 arch/x86/kernel/irq_64.c:87 do_IRQ+0x93/0x1d0 arch/x86/kernel/irq.c:230 ret_from_intr+0x0/0x1e arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline] kmem_cache_free+0x173/0x2b0 mm/slab.c:3759 __rcu_reclaim kernel/rcu/rcu.h:195 [inline] rcu_do_batch kernel/rcu/tree.c:2699 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] rcu_process_callbacks+0x780/0x1180 kernel/rcu/tree.c:2946 __do_softirq+0x24d/0x9ff kernel/softirq.c:288 run_ksoftirqd+0x50/0x1a0 kernel/softirq.c:670 smpboot_thread_fn+0x5c1/0x920 kernel/smpboot.c:164 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 INITIAL USE at: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0x5b/0x80 kernel/locking/spinlock.c:168 spin_lock_irq include/linux/spinlock.h:342 [inline] __add_to_page_cache_locked+0x1ed/0x840 mm/filemap.c:781 add_to_page_cache_lru+0xcf/0x2b0 mm/filemap.c:830 do_read_cache_page+0x36f/0xc10 mm/filemap.c:2703 read_mapping_page include/linux/pagemap.h:398 [inline] read_dev_sector+0xbd/0x3c0 block/partition-generic.c:659 read_part_sector block/partitions/check.h:38 [inline] adfspart_check_ICS+0xf6/0xc00 block/partitions/acorn.c:366 check_partition+0x330/0x610 block/partitions/check.c:167 rescan_partitions+0x192/0x800 block/partition-generic.c:523 __blkdev_get+0x944/0x1090 fs/block_dev.c:1501 blkdev_get+0x88/0x890 fs/block_dev.c:1611 register_disk block/genhd.c:619 [inline] device_add_disk+0x8c2/0xdc0 block/genhd.c:682 add_disk include/linux/genhd.h:396 [inline] brd_init+0x214/0x3c9 drivers/block/brd.c:585 do_one_initcall+0x88/0x210 init/main.c:830 do_initcall_level init/main.c:896 [inline] do_initcalls init/main.c:904 [inline] do_basic_setup init/main.c:922 [inline] kernel_init_freeable+0x565/0x626 init/main.c:1081 kernel_init+0xd/0x15d init/main.c:1006 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 } ... key at: [] __key.7+0x0/0x40 ... acquired at: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 down_read+0x36/0x80 kernel/locking/rwsem.c:24 __blocking_notifier_call_chain kernel/notifier.c:316 [inline] __blocking_notifier_call_chain kernel/notifier.c:304 [inline] blocking_notifier_call_chain kernel/notifier.c:328 [inline] blocking_notifier_call_chain+0x63/0x90 kernel/notifier.c:325 fb_blank+0x94/0x190 drivers/video/fbdev/core/fbmem.c:1087 fbcon_blank+0x7ed/0xd50 drivers/video/fbdev/core/fbcon.c:2199 do_unblank_screen+0x1fd/0x4e0 drivers/tty/vt/vt.c:3954 panic+0x290/0x42d kernel/panic.c:236 __warn.cold+0x20/0x44 kernel/panic.c:547 report_bug+0x208/0x250 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967 inode_to_wb include/linux/backing-dev.h:335 [inline] account_page_dirtied+0x8df/0xbb0 mm/page-writeback.c:2437 __set_page_dirty+0x77/0x2a0 fs/buffer.c:634 mark_buffer_dirty+0x307/0x480 fs/buffer.c:1173 gfs2_unpin+0xc7/0xeb0 fs/gfs2/lops.c:107 buf_lo_after_commit+0x12d/0x1f0 fs/gfs2/lops.c:510 lops_after_commit fs/gfs2/lops.h:64 [inline] gfs2_log_flush+0x7fc/0x1ad0 fs/gfs2/log.c:759 gfs2_kill_sb+0x54/0x1a0 fs/gfs2/ops_fstype.c:1407 deactivate_locked_super+0x6c/0xd0 fs/super.c:319 deactivate_super+0x7f/0xa0 fs/super.c:350 cleanup_mnt+0x186/0x2c0 fs/namespace.c:1183 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 the dependencies between the lock to be acquired and HARDIRQ-irq-unsafe lock: -> ((fb_notifier_list).rwsem){++++} ops: 5 { HARDIRQ-ON-W at: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 down_write+0x34/0x90 kernel/locking/rwsem.c:54 blocking_notifier_chain_register+0x65/0x310 kernel/notifier.c:226 fb_console_init+0x1a/0x1f2 drivers/video/fbdev/core/fbcon.c:3347 fbmem_init+0xe2/0x103 drivers/video/fbdev/core/fbmem.c:1941 do_one_initcall+0x88/0x210 init/main.c:830 do_initcall_level init/main.c:896 [inline] do_initcalls init/main.c:904 [inline] do_basic_setup init/main.c:922 [inline] kernel_init_freeable+0x565/0x626 init/main.c:1081 kernel_init+0xd/0x15d init/main.c:1006 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 HARDIRQ-ON-R at: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 down_read+0x36/0x80 kernel/locking/rwsem.c:24 __blocking_notifier_call_chain kernel/notifier.c:316 [inline] __blocking_notifier_call_chain kernel/notifier.c:304 [inline] blocking_notifier_call_chain kernel/notifier.c:328 [inline] blocking_notifier_call_chain+0x63/0x90 kernel/notifier.c:325 do_register_framebuffer drivers/video/fbdev/core/fbmem.c:1730 [inline] register_framebuffer+0x52a/0x8e0 drivers/video/fbdev/core/fbmem.c:1850 vga16fb_probe+0x681/0x775 drivers/video/fbdev/vga16fb.c:1374 platform_drv_probe+0xc1/0x1b0 drivers/base/platform.c:583 really_probe drivers/base/dd.c:409 [inline] driver_probe_device+0x753/0xc80 drivers/base/dd.c:552 __device_attach_driver+0x22a/0x360 drivers/base/dd.c:653 bus_for_each_drv+0x13b/0x1a0 drivers/base/bus.c:466 __device_attach+0x259/0x390 drivers/base/dd.c:710 bus_probe_device+0x1db/0x290 drivers/base/bus.c:526 device_add+0xa4f/0x15c0 drivers/base/core.c:1933 platform_device_add+0x28f/0x7a0 drivers/base/platform.c:421 vga16fb_init+0x11e/0x173 drivers/video/fbdev/vga16fb.c:1432 do_one_initcall+0x88/0x210 init/main.c:830 do_initcall_level init/main.c:896 [inline] do_initcalls init/main.c:904 [inline] do_basic_setup init/main.c:922 [inline] kernel_init_freeable+0x565/0x626 init/main.c:1081 kernel_init+0xd/0x15d init/main.c:1006 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 SOFTIRQ-ON-W at: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 down_write+0x34/0x90 kernel/locking/rwsem.c:54 blocking_notifier_chain_register+0x65/0x310 kernel/notifier.c:226 fb_console_init+0x1a/0x1f2 drivers/video/fbdev/core/fbcon.c:3347 fbmem_init+0xe2/0x103 drivers/video/fbdev/core/fbmem.c:1941 do_one_initcall+0x88/0x210 init/main.c:830 do_initcall_level init/main.c:896 [inline] do_initcalls init/main.c:904 [inline] do_basic_setup init/main.c:922 [inline] kernel_init_freeable+0x565/0x626 init/main.c:1081 kernel_init+0xd/0x15d init/main.c:1006 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 SOFTIRQ-ON-R at: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 down_read+0x36/0x80 kernel/locking/rwsem.c:24 __blocking_notifier_call_chain kernel/notifier.c:316 [inline] __blocking_notifier_call_chain kernel/notifier.c:304 [inline] blocking_notifier_call_chain kernel/notifier.c:328 [inline] blocking_notifier_call_chain+0x63/0x90 kernel/notifier.c:325 do_register_framebuffer drivers/video/fbdev/core/fbmem.c:1730 [inline] register_framebuffer+0x52a/0x8e0 drivers/video/fbdev/core/fbmem.c:1850 vga16fb_probe+0x681/0x775 drivers/video/fbdev/vga16fb.c:1374 platform_drv_probe+0xc1/0x1b0 drivers/base/platform.c:583 really_probe drivers/base/dd.c:409 [inline] driver_probe_device+0x753/0xc80 drivers/base/dd.c:552 __device_attach_driver+0x22a/0x360 drivers/base/dd.c:653 bus_for_each_drv+0x13b/0x1a0 drivers/base/bus.c:466 __device_attach+0x259/0x390 drivers/base/dd.c:710 bus_probe_device+0x1db/0x290 drivers/base/bus.c:526 device_add+0xa4f/0x15c0 drivers/base/core.c:1933 platform_device_add+0x28f/0x7a0 drivers/base/platform.c:421 vga16fb_init+0x11e/0x173 drivers/video/fbdev/vga16fb.c:1432 do_one_initcall+0x88/0x210 init/main.c:830 do_initcall_level init/main.c:896 [inline] do_initcalls init/main.c:904 [inline] do_basic_setup init/main.c:922 [inline] kernel_init_freeable+0x565/0x626 init/main.c:1081 kernel_init+0xd/0x15d init/main.c:1006 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 INITIAL USE at: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 down_write+0x34/0x90 kernel/locking/rwsem.c:54 blocking_notifier_chain_register+0x65/0x310 kernel/notifier.c:226 fb_console_init+0x1a/0x1f2 drivers/video/fbdev/core/fbcon.c:3347 fbmem_init+0xe2/0x103 drivers/video/fbdev/core/fbmem.c:1941 do_one_initcall+0x88/0x210 init/main.c:830 do_initcall_level init/main.c:896 [inline] do_initcalls init/main.c:904 [inline] do_basic_setup init/main.c:922 [inline] kernel_init_freeable+0x565/0x626 init/main.c:1081 kernel_init+0xd/0x15d init/main.c:1006 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 } ... key at: [] fb_notifier_list+0x60/0x1a0 ... acquired at: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 down_read+0x36/0x80 kernel/locking/rwsem.c:24 __blocking_notifier_call_chain kernel/notifier.c:316 [inline] __blocking_notifier_call_chain kernel/notifier.c:304 [inline] blocking_notifier_call_chain kernel/notifier.c:328 [inline] blocking_notifier_call_chain+0x63/0x90 kernel/notifier.c:325 fb_blank+0x94/0x190 drivers/video/fbdev/core/fbmem.c:1087 fbcon_blank+0x7ed/0xd50 drivers/video/fbdev/core/fbcon.c:2199 do_unblank_screen+0x1fd/0x4e0 drivers/tty/vt/vt.c:3954 panic+0x290/0x42d kernel/panic.c:236 __warn.cold+0x20/0x44 kernel/panic.c:547 report_bug+0x208/0x250 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967 inode_to_wb include/linux/backing-dev.h:335 [inline] account_page_dirtied+0x8df/0xbb0 mm/page-writeback.c:2437 __set_page_dirty+0x77/0x2a0 fs/buffer.c:634 mark_buffer_dirty+0x307/0x480 fs/buffer.c:1173 gfs2_unpin+0xc7/0xeb0 fs/gfs2/lops.c:107 buf_lo_after_commit+0x12d/0x1f0 fs/gfs2/lops.c:510 lops_after_commit fs/gfs2/lops.h:64 [inline] gfs2_log_flush+0x7fc/0x1ad0 fs/gfs2/log.c:759 gfs2_kill_sb+0x54/0x1a0 fs/gfs2/ops_fstype.c:1407 deactivate_locked_super+0x6c/0xd0 fs/super.c:319 deactivate_super+0x7f/0xa0 fs/super.c:350 cleanup_mnt+0x186/0x2c0 fs/namespace.c:1183 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 stack backtrace: CPU: 0 PID: 8023 Comm: syz-executor.0 Not tainted 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 print_bad_irq_dependency kernel/locking/lockdep.c:1609 [inline] check_usage.cold+0x806/0xbe6 kernel/locking/lockdep.c:1641 check_irq_usage kernel/locking/lockdep.c:1697 [inline] check_prev_add_irq kernel/locking/lockdep_states.h:7 [inline] check_prev_add kernel/locking/lockdep.c:1910 [inline] check_prevs_add kernel/locking/lockdep.c:2022 [inline] validate_chain kernel/locking/lockdep.c:2464 [inline] __lock_acquire+0x1caa/0x3f20 kernel/locking/lockdep.c:3491 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 down_read+0x36/0x80 kernel/locking/rwsem.c:24 __blocking_notifier_call_chain kernel/notifier.c:316 [inline] __blocking_notifier_call_chain kernel/notifier.c:304 [inline] blocking_notifier_call_chain kernel/notifier.c:328 [inline] blocking_notifier_call_chain+0x63/0x90 kernel/notifier.c:325 fb_blank+0x94/0x190 drivers/video/fbdev/core/fbmem.c:1087 fbcon_blank+0x7ed/0xd50 drivers/video/fbdev/core/fbcon.c:2199 do_unblank_screen+0x1fd/0x4e0 drivers/tty/vt/vt.c:3954 panic+0x290/0x42d kernel/panic.c:236 __warn.cold+0x20/0x44 kernel/panic.c:547 report_bug+0x208/0x250 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967 RIP: 0010:inode_to_wb include/linux/backing-dev.h:335 [inline] RIP: 0010:account_page_dirtied+0x8df/0xbb0 mm/page-writeback.c:2437 RSP: 0018:ffff8880954e7b08 EFLAGS: 00010097 RAX: ffff8880b2dd2300 RBX: ffff8880af3df440 RCX: 1ffffffff127a6e8 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000082 RBP: ffff8880b1ffab28 R08: ffffffff8ba9473c R09: 0000000000003034 R10: 0000000000000001 R11: ffff8880b2dd2300 R12: ffffea0002469940 R13: ffff8880b1ffa998 R14: ffff8880b1ffa998 R15: ffffea0002469960 __set_page_dirty+0x77/0x2a0 fs/buffer.c:634 mark_buffer_dirty+0x307/0x480 fs/buffer.c:1173 gfs2_unpin+0xc7/0xeb0 fs/gfs2/lops.c:107 buf_lo_after_commit+0x12d/0x1f0 fs/gfs2/lops.c:510 lops_after_commit fs/gfs2/lops.h:64 [inline] gfs2_log_flush+0x7fc/0x1ad0 fs/gfs2/log.c:759 gfs2_kill_sb+0x54/0x1a0 fs/gfs2/ops_fstype.c:1407 deactivate_locked_super+0x6c/0xd0 fs/super.c:319 deactivate_super+0x7f/0xa0 fs/super.c:350 cleanup_mnt+0x186/0x2c0 fs/namespace.c:1183 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f3aa0f84517 RSP: 002b:00007ffc4219ba38 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f3aa0f84517 RDX: 00007ffc4219bb0b RSI: 000000000000000a RDI: 00007ffc4219bb00 RBP: 00007ffc4219bb00 R08: 00000000ffffffff R09: 00007ffc4219b8d0 R10: 0000555555601903 R11: 0000000000000246 R12: 00007f3aa0fddb24 R13: 00007ffc4219cbc0 R14: 0000555555601810 R15: 00007ffc4219cc00 Rebooting in 86400 seconds..