INFO: task systemd-udevd:12331 blocked for more than 143 seconds. Not tainted 5.14.0-rc3-next-20210730-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-udevd state:D stack:26112 pid:12331 ppid: 2987 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4700 [inline] __schedule+0x949/0x2710 kernel/sched/core.c:5957 schedule+0xd3/0x290 kernel/sched/core.c:6036 io_schedule+0xba/0x130 kernel/sched/core.c:8036 folio_wait_bit_common+0x4f2/0xa60 mm/filemap.c:1365 folio_wait_bit mm/filemap.c:1425 [inline] folio_wait_locked include/linux/pagemap.h:803 [inline] folio_wait_locked include/linux/pagemap.h:800 [inline] wait_on_page_locked include/linux/pagemap.h:815 [inline] wait_on_page_read mm/filemap.c:3429 [inline] do_read_cache_page+0x988/0x11a0 mm/filemap.c:3472 read_mapping_page include/linux/pagemap.h:602 [inline] read_part_sector+0x146/0x620 block/partitions/core.c:728 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:613 [inline] bdev_disk_changed+0x7ac/0x1150 block/partitions/core.c:699 blkdev_get_whole+0x216/0x420 fs/block_dev.c:1238 blkdev_get_by_dev.part.0+0x31e/0xd40 fs/block_dev.c:1382 blkdev_get_by_dev fs/block_dev.c:1471 [inline] blkdev_open+0x295/0x300 fs/block_dev.c:1477 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:0x7fe88d49f840 RSP: 002b:00007ffca58093d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000056506de3a140 RCX: 00007fe88d49f840 RDX: 000056506cf02fe3 RSI: 00000000000a0800 RDI: 000056506de3a040 RBP: 00007ffca5809550 R08: 000056506cf02670 R09: 0000000000000010 R10: 000056506cf02d0c R11: 0000000000000246 R12: 00007ffca58094a0 R13: 000056506de37eb0 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.1:14324 can't die for more than 143 seconds. task:syz-executor.1 state:D stack:28176 pid:14324 ppid: 6586 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4700 [inline] __schedule+0x949/0x2710 kernel/sched/core.c:5957 schedule+0xd3/0x290 kernel/sched/core.c:6036 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6095 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0xa46/0x1300 kernel/locking/mutex.c:1096 blkdev_put+0x97/0x9e0 fs/block_dev.c:1499 blkdev_close+0x8c/0xb0 fs/block_dev.c:1551 __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:00007ffdf2514240 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00000000004193fb RDX: 0000001b2f5251a0 RSI: ffffffff8135a2f2 RDI: 0000000000000007 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2f524304 R10: 0000000000001ac6 R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 000000000007d121 INFO: task syz-executor.1:14324 blocked for more than 143 seconds. Not tainted 5.14.0-rc3-next-20210730-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28176 pid:14324 ppid: 6586 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4700 [inline] __schedule+0x949/0x2710 kernel/sched/core.c:5957 schedule+0xd3/0x290 kernel/sched/core.c:6036 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6095 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0xa46/0x1300 kernel/locking/mutex.c:1096 blkdev_put+0x97/0x9e0 fs/block_dev.c:1499 blkdev_close+0x8c/0xb0 fs/block_dev.c:1551 __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:00007ffdf2514240 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00000000004193fb RDX: 0000001b2f5251a0 RSI: ffffffff8135a2f2 RDI: 0000000000000007 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2f524304 R10: 0000000000001ac6 R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 000000000007d121 INFO: task syz-executor.1:14329 can't die for more than 144 seconds. task:syz-executor.1 state:D stack:27296 pid:14329 ppid: 6586 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4700 [inline] __schedule+0x949/0x2710 kernel/sched/core.c:5957 schedule+0xd3/0x290 kernel/sched/core.c:6036 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6095 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0xa46/0x1300 kernel/locking/mutex.c:1096 blkdev_put+0x97/0x9e0 fs/block_dev.c:1499 blkdev_close+0x8c/0xb0 fs/block_dev.c:1551 __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:0x4665e9 RSP: 002b:00007f7180bf0188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000006 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffdf25141df R14: 00007f7180bf0300 R15: 0000000000022000 INFO: task syz-executor.1:14329 blocked for more than 144 seconds. Not tainted 5.14.0-rc3-next-20210730-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27296 pid:14329 ppid: 6586 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4700 [inline] __schedule+0x949/0x2710 kernel/sched/core.c:5957 schedule+0xd3/0x290 kernel/sched/core.c:6036 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6095 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0xa46/0x1300 kernel/locking/mutex.c:1096 blkdev_put+0x97/0x9e0 fs/block_dev.c:1499 blkdev_close+0x8c/0xb0 fs/block_dev.c:1551 __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:0x4665e9 RSP: 002b:00007f7180bf0188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000006 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffdf25141df R14: 00007f7180bf0300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8b97e980 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6280: #0: ffff88807880cd70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 5 locks held by kworker/u4:6/9579: 1 lock held by systemd-udevd/12331: #0: ffff88801ab85d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x98/0xd40 fs/block_dev.c:1375 1 lock held by syz-executor.1/14324: #0: ffff88801ab85d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 fs/block_dev.c:1499 1 lock held by syz-executor.1/14329: #0: ffff88801ab85d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 fs/block_dev.c:1499 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.14.0-rc3-next-20210730-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+0x28/0x11b lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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+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: 9579 Comm: kworker/u4:6 Not tainted 5.14.0-rc3-next-20210730-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:mark_lock+0x6c/0x17b0 kernel/locking/lockdep.c:4554 Code: c7 44 24 48 b0 ae 5a 81 c7 00 f1 f1 f1 f1 c7 40 04 00 f2 f2 f2 c7 40 08 00 f2 f2 f2 c7 40 10 00 00 00 f3 c7 40 14 f3 f3 f3 f3 <65> 48 8b 04 25 28 00 00 00 48 89 84 24 10 01 00 00 31 c0 41 83 fc RSP: 0018:ffffc900048f7918 EFLAGS: 00000802 RAX: fffff5200091ef2a RBX: 1ffff9200091ef2a RCX: ffffffff815ad22d RDX: dffffc0000000000 RSI: ffff88806d0d4348 RDI: ffff88806d0d3900 RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffff8fcde977 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000008 R13: ffff88806d0d3900 R14: ffff88806d0d42f8 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8e5d427000 CR3: 000000001f018000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4514 [inline] __lock_acquire+0x8a7/0x54a0 kernel/locking/lockdep.c:4969 lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 rcu_lock_acquire include/linux/rcupdate.h:267 [inline] rcu_read_lock include/linux/rcupdate.h:687 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:404 [inline] batadv_nc_worker+0x12d/0xe50 net/batman-adv/network-coding.c:715 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