INFO: task udevd:18692 blocked for more than 143 seconds. Not tainted 6.12.0-rc1-syzkaller-00306-g27cc6fdf7201 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:27232 pid:18692 tgid:18692 ppid:4673 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6767 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6824 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 bdev_open+0x41a/0xe20 block/bdev.c:904 blkdev_open+0x36c/0x450 block/fops.c:631 do_dentry_open+0x6ca/0x1530 fs/open.c:958 vfs_open+0x82/0x3f0 fs/open.c:1088 do_open fs/namei.c:3774 [inline] path_openat+0x1e6a/0x2d60 fs/namei.c:3933 do_filp_open+0x1dc/0x430 fs/namei.c:3960 do_sys_openat2+0x17a/0x1e0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4cf23169a4 RSP: 002b:00007fffda95e670 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000565402d37410 RCX: 00007f4cf23169a4 RDX: 00000000000a0800 RSI: 0000565402d0d750 RDI: 00000000ffffff9c RBP: 0000565402d0d750 R08: 0000000000000001 R09: 00007f4cf28af080 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 0000565402d4a3c0 R14: 0000000000000001 R15: 0000565402d012c0 INFO: task syz.2.5440:18930 blocked for more than 144 seconds. Not tainted 6.12.0-rc1-syzkaller-00306-g27cc6fdf7201 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.5440 state:D stack:25824 pid:18930 tgid:18930 ppid:13404 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6767 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6824 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 bdev_release+0x15a/0x6d0 block/bdev.c:1087 blkdev_release+0x15/0x20 block/fops.c:639 __fput+0x3f6/0xb60 fs/file_table.c:431 task_work_run+0x14e/0x250 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc61157dff9 RSP: 002b:00007ffef7184d78 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fc611737a80 RCX: 00007fc61157dff9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fc611737a80 R08: 0000000000000006 R09: 00007ffef718506f R10: 00000000003fa5ec R11: 0000000000000246 R12: 000000000009047b R13: 00007ffef7184e80 R14: 0000000000000032 R15: ffffffffffffffff INFO: task syz.2.5440:18931 blocked for more than 144 seconds. Not tainted 6.12.0-rc1-syzkaller-00306-g27cc6fdf7201 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.5440 state:D stack:26112 pid:18931 tgid:18930 ppid:13404 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6767 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6824 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 bdev_release+0x15a/0x6d0 block/bdev.c:1087 blkdev_release+0x15/0x20 block/fops.c:639 __fput+0x3f6/0xb60 fs/file_table.c:431 task_work_run+0x14e/0x250 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc61157dff9 RSP: 002b:00007fc6122f3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007fc611735f80 RCX: 00007fc61157dff9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000004 RBP: 00007fc6115f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc611735f80 R15: 00007ffef7184c18 INFO: task syz.2.5440:18932 blocked for more than 144 seconds. Not tainted 6.12.0-rc1-syzkaller-00306-g27cc6fdf7201 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.5440 state:D stack:23432 pid:18932 tgid:18930 ppid:13404 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0xef5/0x5750 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6767 io_schedule+0xbf/0x130 kernel/sched/core.c:7552 folio_wait_bit_common+0x3d8/0x9b0 mm/filemap.c:1309 folio_put_wait_locked mm/filemap.c:1473 [inline] do_read_cache_folio+0x342/0x5c0 mm/filemap.c:3807 read_mapping_folio include/linux/pagemap.h:1011 [inline] read_part_sector+0xd3/0x410 block/partitions/core.c:714 adfspart_check_POWERTEC+0x8f/0x710 block/partitions/acorn.c:454 check_partition block/partitions/core.c:138 [inline] blk_add_partitions block/partitions/core.c:581 [inline] bdev_disk_changed+0x71f/0x1520 block/partitions/core.c:685 blkdev_get_whole+0x187/0x290 block/bdev.c:707 bdev_open+0x2c7/0xe20 block/bdev.c:916 blkdev_open+0x36c/0x450 block/fops.c:631 do_dentry_open+0x6ca/0x1530 fs/open.c:958 vfs_open+0x82/0x3f0 fs/open.c:1088 do_open fs/namei.c:3774 [inline] path_openat+0x1e6a/0x2d60 fs/namei.c:3933 do_filp_open+0x1dc/0x430 fs/namei.c:3960 do_sys_openat2+0x17a/0x1e0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1441 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc61157c990 RSP: 002b:00007fc6122d1b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc61157c990 RDX: 0000000000000000 RSI: 00007fc6122d1c10 RDI: 00000000ffffff9c RBP: 00007fc6122d1c10 R08: 0000000000000000 R09: 002364626e2f7665 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fc611736058 R15: 00007ffef7184c18 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 1 lock held by syslogd/4655: #0: ffff8880b863ee98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:593 2 locks held by getty/4976: #0: ffff88802ee8c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 1 lock held by udevd/18692: #0: ffff888025d174c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by syz.2.5440/18930: #0: ffff888025d174c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.2.5440/18931: #0: ffff888025d174c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.2.5440/18932: #0: ffff888025d174c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by syz.2.5850/19894: #0: ffff888025d174c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by syz.2.5850/19897: #0: ffff888025d174c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by syz.3.6028/20344: #0: ffff888025d174c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0xfd/0x360 block/bdev.c:1247 1 lock held by syz.3.6028/20347: #0: ffff888025d174c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0xfd/0x360 block/bdev.c:1247 1 lock held by syz.2.6078/20465: #0: ffff888025d174c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by syz.2.6078/20466: #0: ffff888025d174c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc1-syzkaller-00306-g27cc6fdf7201 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.12.0-rc1-syzkaller-00306-g27cc6fdf7201 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:rcu_preempt_read_enter kernel/rcu/tree_plugin.h:390 [inline] RIP: 0010:__rcu_read_lock+0x2a/0xf0 kernel/rcu/tree_plugin.h:413 Code: f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 55 53 65 48 8b 1d 58 68 90 7e 48 8d bb 44 04 00 00 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 a6 00 00 00 65 RSP: 0018:ffffc90000ab7b78 EFLAGS: 00000a03 RAX: dffffc0000000000 RBX: ffff8880202e3c00 RCX: ffff88801b700400 RDX: 0000000000000000 RSI: ffffffff8ae60076 RDI: ffff8880202e4044 RBP: 0000000000000168 R08: 0000000000000004 R09: 0000000000000168 R10: 0000000000000400 R11: 0000000000000000 R12: 0000000000000001 R13: 000000000003dbcc R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f626d1052d8 CR3: 000000000df7c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:847 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x147/0x1060 net/batman-adv/network-coding.c:719 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244