INFO: task udevd:4249 blocked for more than 143 seconds. Not tainted 5.19.0-rc7-syzkaller-00212-gaf2c9ac24019 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:25944 pid: 4249 ppid: 2974 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0xa00/0x4b50 kernel/sched/core.c:6458 schedule+0xd2/0x1f0 kernel/sched/core.c:6530 io_schedule+0xba/0x130 kernel/sched/core.c:8645 folio_wait_bit_common+0x4f2/0xa90 mm/filemap.c:1324 folio_wait_bit mm/filemap.c:1473 [inline] folio_wait_locked include/linux/pagemap.h:1028 [inline] folio_wait_locked include/linux/pagemap.h:1025 [inline] do_read_cache_folio+0x4ff/0x760 mm/filemap.c:3530 do_read_cache_page mm/filemap.c:3602 [inline] read_cache_page+0x59/0x2a0 mm/filemap.c:3611 read_mapping_page include/linux/pagemap.h:759 [inline] read_part_sector+0xf6/0x920 block/partitions/core.c:715 adfspart_check_ICS+0x9a/0x690 block/partitions/acorn.c:360 check_partition block/partitions/core.c:147 [inline] blk_add_partitions block/partitions/core.c:600 [inline] bdev_disk_changed block/partitions/core.c:686 [inline] bdev_disk_changed+0x629/0xf60 block/partitions/core.c:653 blkdev_get_whole+0x18a/0x2d0 block/bdev.c:686 blkdev_get_by_dev.part.0+0x5ec/0xb90 block/bdev.c:823 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:857 blkdev_open+0x13c/0x2c0 block/fops.c:481 do_dentry_open+0x4a1/0x11f0 fs/open.c:848 do_open fs/namei.c:3520 [inline] path_openat+0x1c71/0x2910 fs/namei.c:3653 do_filp_open+0x1aa/0x400 fs/namei.c:3680 do_sys_openat2+0x16d/0x4c0 fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1305 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4b73325697 RSP: 002b:00007fffa9486710 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000561bcfb4a190 RCX: 00007f4b73325697 RDX: 00000000000a0800 RSI: 0000561bcfb320d0 RDI: 00000000ffffff9c RBP: 0000561bcfb320d0 R08: 0000000000000001 R09: 00007fffa95c6080 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 0000561bcfb2db70 R14: 0000000000000001 R15: 0000561bcfb24910 INFO: task syz-executor.1:17425 blocked for more than 143 seconds. Not tainted 5.19.0-rc7-syzkaller-00212-gaf2c9ac24019 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28032 pid:17425 ppid: 3636 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5146 [inline] __schedule+0xa00/0x4b50 kernel/sched/core.c:6458 schedule+0xd2/0x1f0 kernel/sched/core.c:6530 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747 blkdev_put+0xbc/0x770 block/bdev.c:912 blkdev_close+0x64/0x80 block/fops.c:495 __fput+0x277/0x9d0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8a2183be4b RSP: 002b:00007ffcd6a6e710 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f8a2183be4b RDX: 0000001b2eb20000 RSI: 0000001b2eb2f1b4 RDI: 0000000000000003 RBP: 00007f8a2199d960 R08: 0000000000000000 R09: 00000000044fad67 R10: 00007ffcd6bea090 R11: 0000000000000293 R12: 00000000000bb307 R13: 00007ffcd6a6e810 R14: 00007f8a2199c1d0 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bd871e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 2 locks held by getty/3284: #0: ffff88814a6ea098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124 1 lock held by udevd/4249: #0: ffff88801d9fd118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:814 2 locks held by kworker/u4:11/8418: 1 lock held by syz-executor.1/17425: #0: ffff88801d9fd118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xbc/0x770 block/bdev.c:912 1 lock held by syz-executor.1/17527: #0: ffff88801d9fd118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:814 1 lock held by syz-executor.1/17528: #0: ffff88801d9fd118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:814 1 lock held by syz-executor.1/17584: #0: ffff88801d9fd118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:814 1 lock held by syz-executor.1/17585: #0: ffff88801d9fd118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:814 1 lock held by syz-executor.1/17586: #0: ffff88801d9fd118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:814 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.19.0-rc7-syzkaller-00212-gaf2c9ac24019 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8 Comm: kworker/u4:0 Not tainted 5.19.0-rc7-syzkaller-00212-gaf2c9ac24019 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:_compound_head include/linux/page-flags.h:274 [inline] RIP: 0010:virt_to_head_page include/linux/mm.h:848 [inline] RIP: 0010:virt_to_slab mm/kasan/../slab.h:175 [inline] RIP: 0010:kasan_addr_to_slab+0x39/0xc0 mm/kasan/report.c:218 Code: 48 39 3d 7a 41 2f 0f 77 03 31 c0 c3 e8 a0 15 6f ff 48 ba 00 00 00 00 00 ea ff ff 48 c1 e8 0c 48 c1 e0 06 48 01 d0 48 8b 50 08 c2 01 75 70 66 90 48 8b 50 08 83 e2 01 74 34 48 c7 c6 08 c6 61 RSP: 0018:ffffc90000007c48 EFLAGS: 00000082 RAX: ffffea0000b20e40 RBX: ffff88802c8396d8 RCX: 0000000000000100 RDX: ffffea0000b20e01 RSI: ffffffff81364db4 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88814a1e2068 R13: ffff88814a1e2000 R14: ffff888011869800 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c004228590 CR3: 000000000ba8e000 CR4: 0000000000350ef0 Call Trace: __kasan_record_aux_stack+0xe/0xd0 mm/kasan/generic.c:333 insert_work+0x48/0x350 kernel/workqueue.c:1358 __queue_work+0x62f/0x1150 kernel/workqueue.c:1517 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1474 expire_timers kernel/time/timer.c:1514 [inline] __run_timers.part.0+0x4a3/0xa80 kernel/time/timer.c:1790 __run_timers kernel/time/timer.c:1768 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1803 __do_softirq+0x29b/0x9c2 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:core_kernel_text+0x7/0x90 kernel/extable.c:67 Code: f0 e8 cd da d0 02 48 85 c0 74 02 5d c3 48 89 ef e8 1e a4 19 00 48 85 c0 75 f1 48 89 ef 5d e9 e0 7b 38 00 48 81 ff 00 00 00 81 <41> 54 53 48 89 fb 72 09 48 81 ff d8 78 a0 89 72 5b 48 89 df e8 e0 RSP: 0018:ffffc900000d7b70 EFLAGS: 00000206 RAX: 0000000000000000 RBX: ffffffff8b878e88 RCX: 0000000000000000 RDX: ffff88813fead880 RSI: ffffffff81a05b5e RDI: ffffffff81c6cbcc RBP: ffffffff81c6cbcc R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888011869800 kernel_text_address+0xd/0x80 kernel/extable.c:99 jump_label_can_update kernel/jump_label.c:411 [inline] __jump_label_update+0x1e2/0x400 kernel/jump_label.c:448 jump_label_update+0x32f/0x410 kernel/jump_label.c:830 static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207 static_key_disable+0x16/0x20 kernel/jump_label.c:215 toggle_allocation_gate mm/kfence/core.c:825 [inline] toggle_allocation_gate+0x183/0x390 mm/kfence/core.c:803 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306