INFO: task systemd-udevd:10261 blocked for more than 143 seconds. Not tainted 5.14.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:26792 pid:10261 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:0x7efcbe7ea840 RSP: 002b:00007fffaa1cb9b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000557cc5f68c20 RCX: 00007efcbe7ea840 RDX: 0000557cc4be7fe3 RSI: 00000000000a0800 RDI: 0000557cc5f7bfe0 RBP: 00007fffaa1cbb30 R08: 0000557cc4be7670 R09: 0000000000000010 R10: 0000557cc4be7d0c R11: 0000000000000246 R12: 00007fffaa1cba80 R13: 0000557cc5f6b9d0 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.2:10342 blocked for more than 143 seconds. Not tainted 5.14.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28616 pid:10342 ppid: 8449 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:0x41940b RSP: 002b:00007ffeadb57e50 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 000000000041940b RDX: 0000000000000000 RSI: 00007f912567c388 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2bc3116c R10: 000000000000128c R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 00000000000400a3 Showing all locks held in the system: 2 locks held by kworker/u4:4/152: 1 lock held by khungtaskd/1645: #0: ffffffff8b979840 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/8145: #0: ffff8880177336b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 1 lock held by systemd-udevd/10261: #0: ffff88801e094d18 (&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.2/10342: #0: ffff88801e094d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xa0/0xae0 fs/block_dev.c:1534 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1645 Comm: khungtaskd Not tainted 5.14.0-rc7-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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9731 Comm: kworker/0:6 Not tainted 5.14.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work RIP: 0010:validate_chain kernel/locking/lockdep.c:3796 [inline] RIP: 0010:__lock_acquire+0xcc3/0x54a0 kernel/locking/lockdep.c:5015 Code: 20 25 00 80 04 00 3d 00 00 04 00 0f 84 5e 09 00 00 48 c7 c2 6c 84 6c 8d 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 <48> c7 c0 6c 84 6c 8d 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 65 RSP: 0018:ffffc9000c2bf608 EFLAGS: 00000807 RAX: dffffc0000000000 RBX: ffffffff8f0d43c0 RCX: ffffffff815a0aef RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8f0d43d8 RBP: 0000000000005b2b R08: 0000000000000000 R09: ffffffff8fcdb8e7 R10: fffffbfff1f9b71c R11: 0000000000000001 R12: ffff888085496b90 R13: ffff888085496100 R14: 0000000000000000 R15: b083121e30ddb67d FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff43fd8b000 CR3: 000000002b22c000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 local_lock_acquire include/linux/local_lock_internal.h:42 [inline] rmqueue_pcplist mm/page_alloc.c:3665 [inline] rmqueue mm/page_alloc.c:3703 [inline] get_page_from_freelist+0x4aa/0x2f80 mm/page_alloc.c:4165 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5390 __alloc_pages_node include/linux/gfp.h:570 [inline] kmem_getpages mm/slab.c:1377 [inline] cache_grow_begin+0x75/0x460 mm/slab.c:2593 cache_alloc_refill+0x27f/0x380 mm/slab.c:2965 ____cache_alloc mm/slab.c:3048 [inline] ____cache_alloc mm/slab.c:3031 [inline] slab_alloc_node mm/slab.c:3249 [inline] kmem_cache_alloc_node_trace+0x4ca/0x5d0 mm/slab.c:3617 __do_kmalloc_node mm/slab.c:3639 [inline] __kmalloc_node_track_caller+0x38/0x60 mm/slab.c:3654 kmalloc_reserve net/core/skbuff.c:355 [inline] __alloc_skb+0xde/0x340 net/core/skbuff.c:426 alloc_skb include/linux/skbuff.h:1112 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:664 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:721 [inline] nsim_dev_trap_report_work+0x2ac/0xbd0 drivers/net/netdevsim/dev.c:762 process_one_work+0x98d/0x1630 kernel/workqueue.c:2276 worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 20 25 00 80 04 00 and %ah,0x48000(%rip) # 0x48006 6: 3d 00 00 04 00 cmp $0x40000,%eax b: 0f 84 5e 09 00 00 je 0x96f 11: 48 c7 c2 6c 84 6c 8d mov $0xffffffff8d6c846c,%rdx 18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1f: fc ff df 22: 48 c1 ea 03 shr $0x3,%rdx 26: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx * 2a: 48 c7 c0 6c 84 6c 8d mov $0xffffffff8d6c846c,%rax <-- trapping instruction 31: 83 e0 07 and $0x7,%eax 34: 83 c0 03 add $0x3,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 .byte 0x85 3f: 65 gs