INFO: task systemd-udevd:9700 blocked for more than 143 seconds. Not tainted 5.15.0-next-20211115-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:26064 pid: 9700 ppid: 2971 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 io_schedule+0xee/0x170 kernel/sched/core.c:8386 folio_wait_bit_common+0x4f2/0xa60 mm/filemap.c:1371 folio_wait_bit mm/filemap.c:1431 [inline] folio_wait_locked include/linux/pagemap.h:835 [inline] folio_wait_locked include/linux/pagemap.h:832 [inline] wait_on_page_locked include/linux/pagemap.h:847 [inline] wait_on_page_read mm/filemap.c:3430 [inline] do_read_cache_page+0x986/0x11a0 mm/filemap.c:3473 read_mapping_page include/linux/pagemap.h:635 [inline] read_part_sector+0xf6/0x5b0 block/partitions/core.c:728 adfspart_check_ICS+0x9d/0xc90 block/partitions/acorn.c:360 check_partition block/partitions/core.c:149 [inline] blk_add_partitions block/partitions/core.c:613 [inline] bdev_disk_changed+0x759/0x1100 block/partitions/core.c:699 blkdev_get_whole+0x206/0x2d0 block/bdev.c:684 blkdev_get_by_dev.part.0+0x354/0xb50 block/bdev.c:826 blkdev_get_by_dev+0x6b/0x80 block/bdev.c:859 blkdev_open+0x154/0x2e0 block/fops.c:501 do_dentry_open+0x4c8/0x1250 fs/open.c:822 do_open fs/namei.c:3426 [inline] path_openat+0x1cad/0x2750 fs/namei.c:3559 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_open fs/open.c:1236 [inline] __se_sys_open fs/open.c:1232 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1232 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:0x7fbf987b5840 RSP: 002b:00007fff0e86ae38 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000560e8a676e40 RCX: 00007fbf987b5840 RDX: 0000560e886f6fe3 RSI: 00000000000a0800 RDI: 0000560e8a6778a0 RBP: 00007fff0e86afb0 R08: 0000560e886f6670 R09: 0000000000000010 R10: 0000560e886f6d0c R11: 0000000000000246 R12: 00007fff0e86af00 R13: 0000560e8a685870 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.4:25089 can't die for more than 143 seconds. task:syz-executor.4 state:D stack:28152 pid:25089 ppid: 1051 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6400 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_put+0x97/0x9e0 block/bdev.c:914 blkdev_close+0x6a/0x80 block/fops.c:515 __fput+0x286/0x9f0 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:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f47e193972b RSP: 002b:00007ffc9aeeacd0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f47e193972b RDX: 0000000000000000 RSI: 00007f47e174a878 RDI: 0000000000000004 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2d52c548 R10: 0000000000000109 R11: 0000000000000293 R12: 00007f47e1a9ab60 R13: 00007f47e1a9ab60 R14: 00007f47e1a99f60 R15: 00000000001b96d2 INFO: task syz-executor.4:25089 blocked for more than 143 seconds. Not tainted 5.15.0-next-20211115-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28152 pid:25089 ppid: 1051 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6400 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 blkdev_put+0x97/0x9e0 block/bdev.c:914 blkdev_close+0x6a/0x80 block/fops.c:515 __fput+0x286/0x9f0 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:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f47e193972b RSP: 002b:00007ffc9aeeacd0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f47e193972b RDX: 0000000000000000 RSI: 00007f47e174a878 RDI: 0000000000000004 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2d52c548 R10: 0000000000000109 R11: 0000000000000293 R12: 00007f47e1a9ab60 R13: 00007f47e1a9ab60 R14: 00007f47e1a99f60 R15: 00000000001b96d2 Showing all locks held in the system: 3 locks held by kworker/u4:0/8: 1 lock held by khungtaskd/27: #0: ffffffff8bb83aa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6236: #0: ffff88801964b770 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by systemd-udevd/9700: #0: ffff88801a7ea918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 1 lock held by syz-executor.4/25089: #0: ffff88801a7ea918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:914 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.0-next-20211115-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:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 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:254 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:339 kthread+0x405/0x4f0 kernel/kthread.c:327 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: 18854 Comm: kworker/u4:10 Not tainted 5.15.0-next-20211115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy13 ieee80211_iface_work RIP: 0010:__kfence_free+0x2/0x150 mm/kfence/core.c:935 Code: e8 b3 f9 b8 ff 5b 4c 89 e0 41 5c c3 48 89 de 48 c7 c7 20 ce cc 8b e8 8d 5d 48 02 eb b0 e8 a6 be ff ff eb ce 0f 1f 40 00 41 54 <49> 89 fc 55 53 4c 89 e3 e8 81 f9 b8 ff 48 8b 2d f2 1c 97 09 bf ff RSP: 0018:ffffc9000461fa48 EFLAGS: 00000286 RAX: ffff88823bc00000 RBX: ffff88823bd3cc00 RCX: ffff88823bd3cc00 RDX: 000000000013cc00 RSI: ffffea0008ef4f00 RDI: ffff88823bd3cc00 RBP: ffffea0008ef4f00 R08: 0000000000000001 R09: ffffffff889f4cde R10: ffff88823bd3cc00 R11: 000000000000003f R12: 0000000000000001 R13: ffff888010c41dc0 R14: ffffffff889f4cde R15: 000000000000004c FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff73219b000 CR3: 000000000b88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_slab_free mm/slub.c:3501 [inline] slab_free mm/slub.c:3514 [inline] kfree+0x47f/0x560 mm/slub.c:4561 ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1611 [inline] ieee80211_ibss_rx_queued_mgmt+0x1b1e/0x3130 net/mac80211/ibss.c:1639 ieee80211_iface_process_skb net/mac80211/iface.c:1466 [inline] ieee80211_iface_work+0xa65/0xd00 net/mac80211/iface.c:1520 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: e8 b3 f9 b8 ff callq 0xffb8f9b8 5: 5b pop %rbx 6: 4c 89 e0 mov %r12,%rax 9: 41 5c pop %r12 b: c3 retq c: 48 89 de mov %rbx,%rsi f: 48 c7 c7 20 ce cc 8b mov $0xffffffff8bccce20,%rdi 16: e8 8d 5d 48 02 callq 0x2485da8 1b: eb b0 jmp 0xffffffcd 1d: e8 a6 be ff ff callq 0xffffbec8 22: eb ce jmp 0xfffffff2 24: 0f 1f 40 00 nopl 0x0(%rax) 28: 41 54 push %r12 * 2a: 49 89 fc mov %rdi,%r12 <-- trapping instruction 2d: 55 push %rbp 2e: 53 push %rbx 2f: 4c 89 e3 mov %r12,%rbx 32: e8 81 f9 b8 ff callq 0xffb8f9b8 37: 48 8b 2d f2 1c 97 09 mov 0x9971cf2(%rip),%rbp # 0x9971d30 3e: bf .byte 0xbf 3f: ff .byte 0xff