INFO: task udevd:5052 blocked for more than 143 seconds. Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:25880 pid:5052 ppid:4447 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 blkdev_get_by_dev.part.0+0x95/0xb80 block/bdev.c:747 blkdev_get_by_dev+0x6f/0x90 block/bdev.c:790 blkdev_open+0x140/0x2d0 block/fops.c:493 do_dentry_open+0x6cc/0x13f0 fs/open.c:920 do_open fs/namei.c:3636 [inline] path_openat+0x1baa/0x2750 fs/namei.c:3791 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1383 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f96d09169a4 RSP: 002b:00007ffda57d47d0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055bb2c6e5830 RCX: 00007f96d09169a4 RDX: 00000000000a0800 RSI: 000055bb2c6e0070 RDI: 00000000ffffff9c RBP: 000055bb2c6e0070 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 000055bb2c723460 R14: 0000000000000001 R15: 000055bb2c6b02c0 INFO: task syz-executor.4:14933 blocked for more than 143 seconds. Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27704 pid:14933 ppid:5029 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 blkdev_put+0xba/0x780 block/bdev.c:845 blkdev_close+0x68/0x80 block/fops.c:507 __fput+0x27c/0xa90 fs/file_table.c:321 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa4a6c3e12b RSP: 002b:00007fff294548b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007fa4a6c3e12b RDX: 0000001b2db20000 RSI: 00000000000130ec RDI: 0000000000000006 RBP: 00007fa4a6dad980 R08: 0000000000000000 R09: 00000000813b0824 R10: 00007fff294c4090 R11: 0000000000000293 R12: 00000000000a051d R13: 00007fff294549b0 R14: 00007fff294549d0 R15: 0000000000000032 INFO: task syz-executor.4:14934 blocked for more than 143 seconds. Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29168 pid:14934 ppid:5029 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 blkdev_put+0xba/0x780 block/bdev.c:845 blkdev_close+0x68/0x80 block/fops.c:507 __fput+0x27c/0xa90 fs/file_table.c:321 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa4a6c8c389 RSP: 002b:00007fa4a79a4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007fa4a6dabf80 RCX: 00007fa4a6c8c389 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007fa4a6cd7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff2945484f R14: 00007fa4a79a4300 R15: 0000000000022000 INFO: task syz-executor.4:14942 blocked for more than 144 seconds. Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27088 pid:14942 ppid:5029 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 io_schedule+0xbe/0x130 kernel/sched/core.c:8979 folio_wait_bit_common+0x394/0x9b0 mm/filemap.c:1301 folio_put_wait_locked mm/filemap.c:1470 [inline] do_read_cache_folio+0x2d3/0x510 mm/filemap.c:3668 read_mapping_folio include/linux/pagemap.h:778 [inline] read_part_sector+0xfa/0x440 block/partitions/core.c:709 adfspart_check_POWERTEC+0x97/0x680 block/partitions/acorn.c:454 check_partition block/partitions/core.c:138 [inline] blk_add_partitions block/partitions/core.c:594 [inline] bdev_disk_changed block/partitions/core.c:680 [inline] bdev_disk_changed+0x680/0x1300 block/partitions/core.c:647 blkdev_get_whole+0x184/0x2c0 block/bdev.c:619 blkdev_get_by_dev.part.0+0x5e2/0xb80 block/bdev.c:756 blkdev_get_by_dev+0x6f/0x90 block/bdev.c:790 blkdev_open+0x140/0x2d0 block/fops.c:493 do_dentry_open+0x6cc/0x13f0 fs/open.c:920 do_open fs/namei.c:3636 [inline] path_openat+0x1baa/0x2750 fs/namei.c:3791 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1383 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa4a6c3e404 RSP: 002b:00007fa4a7982ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00007fa4a6c3e404 RDX: 0000000000101600 RSI: 00007fa4a7982d40 RDI: 00000000ffffff9c RBP: 00007fa4a7982d40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000101600 R13: 00007fff2945484f R14: 00007fa4a7983300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c795530 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c795230 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/27: #0: ffffffff8c796140 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6559 2 locks held by getty/4744: #0: ffff88802b016098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900020482f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 1 lock held by udevd/5052: #0: ffff88801fb104c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x95/0xb80 block/bdev.c:747 1 lock held by syz-executor.4/14933: #0: ffff88801fb104c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xba/0x780 block/bdev.c:845 1 lock held by syz-executor.4/14934: #0: ffff88801fb104c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xba/0x780 block/bdev.c:845 1 lock held by syz-executor.4/14942: #0: ffff88801fb104c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x95/0xb80 block/bdev.c:747 1 lock held by syz-executor.4/15049: #0: ffff88801fb104c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x95/0xb80 block/bdev.c:747 1 lock held by syz-executor.4/15050: #0: ffff88801fb104c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x95/0xb80 block/bdev.c:747 1 lock held by syz-executor.4/15051: #0: ffff88801fb104c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x95/0xb80 block/bdev.c:747 1 lock held by syz-executor.4/15118: #0: ffff88801fb104c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x95/0xb80 block/bdev.c:747 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5864 Comm: kworker/u4:9 Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:60 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:178 [inline] RIP: 0010:kasan_check_range+0x56/0x190 mm/kasan/generic.c:187 Code: 39 c7 0f 86 05 01 00 00 49 83 e9 01 48 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 ca 48 c1 ed 03 49 c1 ea 03 48 01 c5 49 01 c2 <48> 89 e8 49 8d 5a 01 48 89 da 48 29 ea 48 83 fa 10 7e 63 41 89 eb RSP: 0018:ffffc9000552fa08 EFLAGS: 00000086 RAX: dffffc0000000000 RBX: 1ffff92000aa5f76 RCX: ffffffff8164a265 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9151fd00 RBP: fffffbfff22a3fa0 R08: 0000000000000000 R09: ffffffff9151fd07 R10: fffffbfff22a3fa0 R11: 0000000000000000 R12: ffffffff8c796140 R13: 0000000000000020 R14: ffff888079572c70 R15: ffff888079572c98 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a35b67ffc8 CR3: 000000007e1dc000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] check_wait_context kernel/locking/lockdep.c:4751 [inline] __lock_acquire+0x405/0x5f30 kernel/locking/lockdep.c:5038 lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:773 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x131/0xfe0 net/batman-adv/network-coding.c:719 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308