INFO: task systemd-udevd:8754 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:26496 pid: 8754 ppid: 2984 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:0x7f5fed114840 RSP: 002b:00007ffc5c124448 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00005599b3cc13a0 RCX: 00007f5fed114840 RDX: 00005599b3a95fe3 RSI: 00000000000a0800 RDI: 00005599b3cc2990 RBP: 00007ffc5c1245c0 R08: 00005599b3a95670 R09: 0000000000000010 R10: 00005599b3a95d0c R11: 0000000000000246 R12: 00007ffc5c124510 R13: 00005599b3cae880 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.4:14289 can't die for more than 143 seconds. task:syz-executor.4 state:D stack:28176 pid:14289 ppid: 6628 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:00007ffe4bdfa630 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004193fb RDX: 0000001b2f823d08 RSI: ffffffff8135a2f2 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2f8230fc R10: 0000000000001ac6 R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 000000000006d8e0 INFO: task syz-executor.4:14289 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.4 state:D stack:28176 pid:14289 ppid: 6628 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:00007ffe4bdfa630 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004193fb RDX: 0000001b2f823d08 RSI: ffffffff8135a2f2 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2f8230fc R10: 0000000000001ac6 R11: 0000000000000293 R12: 000000000056cb00 R13: 000000000056cb00 R14: 000000000056bf80 R15: 000000000006d8e0 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/6267: #0: ffff88801d0aaff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by systemd-udevd/8754: #0: ffff88801af86d18 (&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.4/14289: #0: ffff88801af86d18 (&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: 1218 Comm: kworker/u4:5 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:kasan_check_range+0x12b/0x180 mm/kasan/generic.c:190 Code: 3a 00 74 ef 49 8d 04 2c 48 85 d2 75 0b 48 89 da 48 29 c2 e9 55 ff ff ff 49 39 d2 75 17 49 0f be 02 41 83 e1 07 49 39 c1 7d 0a <5b> b8 01 00 00 00 5d 41 5c c3 44 89 c2 e8 73 f0 ff ff 5b 83 f0 01 RSP: 0018:ffffc9000518fa48 EFLAGS: 00000046 RAX: fffffbfff1f9bd15 RBX: fffffbfff1f9bd15 RCX: ffffffff815acfbc RDX: fffffbfff1f9bd15 RSI: 0000000000000008 RDI: ffffffff8fcde8a0 RBP: fffffbfff1f9bd14 R08: 0000000000000000 R09: ffffffff8fcde8a7 R10: fffffbfff1f9bd14 R11: 0000000000000000 R12: ffff88801ce2dfc8 R13: ffff88801ce2d580 R14: 0000000000020000 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0239edb08 CR3: 000000000b68e000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:199 [inline] check_wait_context kernel/locking/lockdep.c:4689 [inline] __lock_acquire+0x47c/0x54a0 kernel/locking/lockdep.c:4965 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