INFO: task systemd-udevd:27801 blocked for more than 143 seconds. Not tainted 5.14.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:26528 pid:27801 ppid: 4869 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:5938 schedule+0xd3/0x270 kernel/sched/core.c:6017 io_schedule+0xba/0x130 kernel/sched/core.c:7988 wait_on_page_bit_common+0x537/0xe60 mm/filemap.c:1301 wait_on_page_bit mm/filemap.c:1362 [inline] wait_on_page_locked include/linux/pagemap.h:689 [inline] wait_on_page_read mm/filemap.c:3312 [inline] do_read_cache_page+0x96b/0x13c0 mm/filemap.c:3355 read_mapping_page include/linux/pagemap.h:515 [inline] read_part_sector+0x146/0x620 block/partitions/core.c:726 adfspart_check_ICS+0x9d/0xc90 block/partitions/acorn.c:360 check_partition block/partitions/core.c:147 [inline] blk_add_partitions block/partitions/core.c:611 [inline] bdev_disk_changed+0x796/0x1130 block/partitions/core.c:697 blkdev_get_whole+0x216/0x420 fs/block_dev.c:1269 blkdev_get_by_dev.part.0+0x30c/0xdd0 fs/block_dev.c:1417 blkdev_get_by_dev fs/block_dev.c:1506 [inline] blkdev_open+0x295/0x300 fs/block_dev.c:1512 do_dentry_open+0x4c8/0x11d0 fs/open.c:826 do_open fs/namei.c:3374 [inline] path_openat+0x1c23/0x27f0 fs/namei.c:3507 do_filp_open+0x1aa/0x400 fs/namei.c:3534 do_sys_openat2+0x16d/0x420 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_open fs/open.c:1228 [inline] __se_sys_open fs/open.c:1224 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1224 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+0x44/0xae RIP: 0033:0x7fdbc3427840 RSP: 002b:00007ffc6bf189f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00005574e8de8380 RCX: 00007fdbc3427840 RDX: 00005574e8772fe3 RSI: 00000000000a0800 RDI: 00005574e8de9a40 RBP: 00007ffc6bf18b70 R08: 00005574e8772670 R09: 0000000000000010 R10: 00007fdbc31a1d70 R11: 0000000000000246 R12: 00007ffc6bf18ac0 R13: 00005574e8de7e90 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.4:28953 blocked for more than 143 seconds. Not tainted 5.14.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28176 pid:28953 ppid: 8465 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4681 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:5938 schedule+0xd3/0x270 kernel/sched/core.c:6017 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6076 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 blkdev_put+0xa0/0xae0 fs/block_dev.c:1534 blkdev_close+0x8c/0xb0 fs/block_dev.c:1586 __fput+0x288/0x920 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4193fb RSP: 002b:00007ffe826dce80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004193fb RDX: 00000000005702f0 RSI: ffffffff892a82e8 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2cc234c0 R10: 0000000000001b3d R11: 0000000000000293 R12: 0000000000088a70 R13: 00000000000003e8 R14: 000000000056bf80 R15: 00000000000889e4 Showing all locks held in the system: 3 locks held by kworker/u4:5/279: #0: ffff8880b9c51a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x1e/0x30 kernel/sched/core.c:460 #1: ffff8880b9c1f988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x16a/0x480 kernel/sched/psi.c:871 #2: ffffffff8b97c280 (rcu_read_lock){....}-{1:2}, at: trace_sched_stat_runtime include/trace/events/sched.h:517 [inline] #2: ffffffff8b97c280 (rcu_read_lock){....}-{1:2}, at: update_curr+0x2e1/0x840 kernel/sched/fair.c:820 1 lock held by khungtaskd/1655: #0: ffffffff8b97c280 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/8142: 1 lock held by systemd-udevd/27801: #0: ffff88801e5b2d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9d/0xdd0 fs/block_dev.c:1410 1 lock held by syz-executor.4/28953: #0: ffff88801e5b2d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xa0/0xae0 fs/block_dev.c:1534 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1655 Comm: khungtaskd Not tainted 5.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xd0a/0xfc0 kernel/hung_task.c:295 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4858 Comm: systemd-journal Not tainted 5.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:current_gfp_context include/linux/sched/mm.h:158 [inline] RIP: 0010:fs_reclaim_release+0x26/0xf0 mm/page_alloc.c:4582 Code: 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 55 65 48 8b 2c 25 00 f0 01 00 53 89 fb 48 8d 7d 2c 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 a1 00 00 00 8b RSP: 0018:ffffc90000edfa08 EFLAGS: 00000217 RAX: dffffc0000000000 RBX: 0000000000000dc0 RCX: ffffc90000edf9a8 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88802d909c6c RBP: ffff88802d909c40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88803366aa00 R13: ffffffff839b8ba4 R14: 0000000000000dc0 R15: 0000000000000dc0 FS: 00007f13b5e3f8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f13b34bc000 CR3: 000000002b41d000 CR4: 0000000000350ee0 Call Trace: might_alloc include/linux/sched/mm.h:199 [inline] slab_pre_alloc_hook mm/slab.h:492 [inline] slab_alloc_node mm/slub.c:2880 [inline] slab_alloc mm/slub.c:2967 [inline] kmem_cache_alloc+0x46/0x4a0 mm/slub.c:2972 kmem_cache_zalloc include/linux/slab.h:711 [inline] lsm_file_alloc security/security.c:572 [inline] security_file_alloc+0x34/0x170 security/security.c:1515 __alloc_file+0xd8/0x280 fs/file_table.c:106 alloc_empty_file+0x6d/0x170 fs/file_table.c:150 path_openat+0xde/0x27f0 fs/namei.c:3493 do_filp_open+0x1aa/0x400 fs/namei.c:3534 do_sys_openat2+0x16d/0x420 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_open fs/open.c:1228 [inline] __se_sys_open fs/open.c:1224 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1224 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+0x44/0xae RIP: 0033:0x7f13b53ce840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007fffb2c56718 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fffb2c56a20 RCX: 00007f13b53ce840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000055c04241be00 RBP: 000000000000000d R08: 000000000000c0c1 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 000055c042410040 R14: 00007fffb2c569e0 R15: 000055c04241bc20 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax b: fc ff df e: 55 push %rbp f: 65 48 8b 2c 25 00 f0 mov %gs:0x1f000,%rbp 16: 01 00 18: 53 push %rbx 19: 89 fb mov %edi,%ebx 1b: 48 8d 7d 2c lea 0x2c(%rbp),%rdi 1f: 48 89 fa mov %rdi,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx 2a: 48 89 f8 mov %rdi,%rax <-- trapping instruction 2d: 83 e0 07 and $0x7,%eax 30: 83 c0 03 add $0x3,%eax 33: 38 d0 cmp %dl,%al 35: 7c 08 jl 0x3f 37: 84 d2 test %dl,%dl 39: 0f 85 a1 00 00 00 jne 0xe0 3f: 8b .byte 0x8b