INFO: task udevd:5355 blocked for more than 143 seconds. Not tainted 6.10.0-rc6-syzkaller-00061-ge9d22f7a6655 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24176 pid:5355 tgid:5355 ppid:4541 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 io_schedule+0x8d/0x110 kernel/sched/core.c:9043 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xd7/0x530 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1d5/0x260 kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer fs/buffer.c:71 [inline] lock_buffer include/linux/buffer_head.h:427 [inline] block_read_full_folio+0x99a/0xe10 fs/buffer.c:2445 filemap_read_folio+0x3a8/0x790 mm/filemap.c:2355 do_read_cache_folio+0x134/0x820 mm/filemap.c:3788 read_mapping_folio include/linux/pagemap.h:906 [inline] read_part_sector+0xb3/0x330 block/partitions/core.c:712 adfspart_check_ICS+0xd9/0x9a0 block/partitions/acorn.c:360 check_partition block/partitions/core.c:138 [inline] blk_add_partitions block/partitions/core.c:579 [inline] bdev_disk_changed+0x72e/0x13d0 block/partitions/core.c:683 blkdev_get_whole+0x315/0x470 block/bdev.c:700 bdev_open+0x2e9/0xc60 block/bdev.c:909 blkdev_open+0x20d/0x2e0 block/fops.c:615 do_dentry_open+0x972/0x1450 fs/open.c:955 vfs_open+0x3e/0x330 fs/open.c:1086 do_open fs/namei.c:3654 [inline] path_openat+0x2c01/0x35f0 fs/namei.c:3813 do_filp_open+0x235/0x490 fs/namei.c:3840 do_sys_openat2+0x13e/0x1d0 fs/open.c:1413 do_sys_open fs/open.c:1428 [inline] __do_sys_openat fs/open.c:1444 [inline] __se_sys_openat fs/open.c:1439 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1439 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6ccdb169a4 RSP: 002b:00007ffe189df5c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055c9953d0d90 RCX: 00007f6ccdb169a4 RDX: 00000000000a0800 RSI: 000055c9953cc4a0 RDI: 00000000ffffff9c RBP: 000055c9953cc4a0 R08: 0000000000000001 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 000055c9953ca3d0 R14: 0000000000000001 R15: 000055c9953b2910 INFO: task syz.3.236:6892 blocked for more than 145 seconds. Not tainted 6.10.0-rc6-syzkaller-00061-ge9d22f7a6655 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.236 state:D stack:24672 pid:6892 tgid:6892 ppid:5098 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 bdev_release+0x184/0x700 block/bdev.c:1080 blkdev_release+0x15/0x20 block/fops.c:623 __fput+0x24c/0x8a0 fs/file_table.c:422 task_work_run+0x251/0x310 kernel/task_work.c:180 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+0x168/0x360 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0a27975b99 RSP: 002b:00007ffc08aed9d8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f0a27b05a60 RCX: 00007f0a27975b99 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f0a27b05a60 R08: 0000000000000006 R09: 0000000a08aedd0f R10: 00000000003fd49c R11: 0000000000000246 R12: 0000000000027180 R13: 0000000000000032 R14: 00007f0a27b05a60 R15: 00007ffc08aedac0 INFO: task syz.3.236:6893 blocked for more than 145 seconds. Not tainted 6.10.0-rc6-syzkaller-00061-ge9d22f7a6655 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.236 state:D stack:23800 pid:6893 tgid:6892 ppid:5098 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 bdev_release+0x184/0x700 block/bdev.c:1080 blkdev_release+0x15/0x20 block/fops.c:623 __fput+0x24c/0x8a0 fs/file_table.c:422 task_work_run+0x251/0x310 kernel/task_work.c:180 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+0x168/0x360 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0a27975b99 RSP: 002b:00007f0a287a7048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f0a27b03f60 RCX: 00007f0a27975b99 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000009 RBP: 00007f0a279e4a7a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0a27b03f60 R15: 00007ffc08aed8f8 INFO: task syz.3.236:6895 blocked for more than 145 seconds. Not tainted 6.10.0-rc6-syzkaller-00061-ge9d22f7a6655 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.236 state:D stack:22096 pid:6895 tgid:6892 ppid:5098 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 io_schedule+0x8d/0x110 kernel/sched/core.c:9043 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:209 __wait_on_bit+0xb2/0x2f0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d5/0x260 kernel/sched/wait_bit.c:64 wait_on_bit_io include/linux/wait_bit.h:101 [inline] __wait_on_buffer fs/buffer.c:123 [inline] wait_on_buffer include/linux/buffer_head.h:415 [inline] __bread_slow fs/buffer.c:1277 [inline] __bread_gfp+0x303/0x400 fs/buffer.c:1500 sb_bread include/linux/buffer_head.h:347 [inline] udf_read_tagged+0xa6/0xe00 fs/udf/misc.c:199 udf_check_anchor_block+0xba/0x550 fs/udf/super.c:1887 udf_scan_anchors fs/udf/super.c:1948 [inline] udf_load_vrs+0xb16/0x1130 fs/udf/super.c:2008 udf_fill_super+0x683/0x1f00 fs/udf/super.c:2176 get_tree_bdev+0x3f9/0x570 fs/super.c:1624 vfs_get_tree+0x92/0x2a0 fs/super.c:1789 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0a27975b99 RSP: 002b:00007f0a28765048 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f0a27b04110 RCX: 00007f0a27975b99 RDX: 0000000020000280 RSI: 0000000020000040 RDI: 0000000020000000 RBP: 00007f0a279e4a7a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f0a27b04110 R15: 00007ffc08aed8f8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 7 locks held by kworker/u8:4/61: #0: ffff888015ed5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff888015ed5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc900015d7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] #1: ffffc900015d7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffffffff8f5da690 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffff888029ec70e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff888029ec70e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff888029ec70e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x13b/0x440 net/devlink/core.c:506 #4: ffff888062128250 (&devlink->lock_key #5){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline] #5){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #5){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x14d/0x440 net/devlink/core.c:506 #5: ffffffff8f5e6ec8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x71/0x5c0 drivers/net/netdevsim/netdev.c:773 #6: ffffffff8e3392f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] ffffffff8e3392f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:939 2 locks held by kworker/u8:10/2830: 3 locks held by kworker/u9:1/4485: #0: ffff88805b94f148 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff88805b94f148 ((wq_completion)hci6){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc9000ca9fd00 ((work_completion)(&hdev->error_reset)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] ffffc9000ca9fd00 ((work_completion)(&hdev->error_reset)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffff88805a098d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_open net/bluetooth/hci_core.c:483 [inline] #2: ffff88805a098d88 (&hdev->req_lock){+.+.}-{3:3}, at: hci_error_reset+0x15e/0x3f0 net/bluetooth/hci_core.c:1088 2 locks held by dhcpcd/4755: #0: ffff88802caa3678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0x119/0x780 net/netlink/af_netlink.c:2418 #1: ffffffff8f5e6ec8 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0x5d3/0xe50 net/netlink/af_netlink.c:2336 2 locks held by getty/4842: #0: ffff88802af950a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 4 locks held by udevd/5157: #0: ffff88805ca949e0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xb7/0xd60 fs/seq_file.c:182 #1: ffff88807d675088 (&of->mutex#2){+.+.}-{3:3}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154 #2: ffff88807d36ab48 (kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155 #3: ffff88801ee4f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff88801ee4f190 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2743 6 locks held by kworker/0:5/5161: #0: ffff88801cac2d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff88801cac2d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc90002fcfd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] #1: ffffc90002fcfd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffff888023d3d190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #2: ffff888023d3d190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5849 #3: ffff88801ee4f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff88801ee4f190 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0x103/0x950 drivers/usb/core/hub.c:2295 #4: ffff88802b00f160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff88802b00f160 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] #4: ffff88802b00f160 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1290 #5: ffffffff8f5e6ec8 (rtnl_mutex){+.+.}-{3:3}, at: unregister_netdev+0x12/0x30 net/core/dev.c:11294 1 lock held by udevd/5355: #0: ffff8880208fe4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0xe5/0xc60 block/bdev.c:897 1 lock held by syz.3.236/6892: #0: ffff8880208fe4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x184/0x700 block/bdev.c:1080 1 lock held by syz.3.236/6893: #0: ffff8880208fe4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x184/0x700 block/bdev.c:1080 1 lock held by syz.3.236/6895: #0: ffff888064ec80e0 (&type->s_umount_key#66/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344 1 lock held by syz.2.582/9417: #0: ffffffff8e3391c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:4448 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc6-syzkaller-00061-ge9d22f7a6655 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 169 Comm: kworker/u8:5 Not tainted 6.10.0-rc6-syzkaller-00061-ge9d22f7a6655 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_wait_context kernel/locking/lockdep.c:4796 [inline] RIP: 0010:__lock_acquire+0x96d/0x1fd0 kernel/locking/lockdep.c:5087 Code: c6 00 00 00 48 89 d8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 a5 00 00 00 80 3b 02 74 30 49 ff c6 48 8b 44 24 40 0f b6 04 10 84 c0 <75> 6a 48 8b 04 24 48 63 00 49 83 c7 28 49 83 c5 28 41 ff c4 49 39 RSP: 0018:ffffc90002ebf8f0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffffffff92ce1cd8 RCX: ffffffff8172761e RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff92fa7658 RBP: 0000000000000000 R08: ffffffff92fa765f R09: 1ffffffff25f4ecb R10: dffffc0000000000 R11: fffffbfff25f4ecc R12: 0000000000000001 R13: ffff88801cb7e528 R14: 0000000000000002 R15: ffff88801cb7e528 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557d9405c8 CR3: 0000000021088000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock include/linux/rcupdate.h:781 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2e/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244