INFO: task udevd:13479 blocked for more than 143 seconds. Not tainted 6.7.0-syzkaller-13004-g4fbbed787267 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:22128 pid:13479 tgid:13479 ppid:4499 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 io_schedule+0x8c/0x100 kernel/sched/core.c:9023 folio_wait_bit_common+0x881/0x12b0 mm/filemap.c:1274 folio_put_wait_locked mm/filemap.c:1438 [inline] do_read_cache_folio+0xb9/0x810 mm/filemap.c:3685 read_mapping_folio include/linux/pagemap.h:894 [inline] read_part_sector+0xcf/0x340 block/partitions/core.c:721 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:588 [inline] bdev_disk_changed+0x7d0/0x1460 block/partitions/core.c:692 blkdev_get_whole+0x2ed/0x370 block/bdev.c:661 bdev_open_by_dev+0x376/0x890 block/bdev.c:871 blkdev_open+0x16e/0x3c0 block/fops.c:615 do_dentry_open+0x8ff/0x1590 fs/open.c:953 do_open fs/namei.c:3641 [inline] path_openat+0x2823/0x31e0 fs/namei.c:3798 do_filp_open+0x234/0x490 fs/namei.c:3825 do_sys_openat2+0x13e/0x1d0 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_openat fs/open.c:1435 [inline] __se_sys_openat fs/open.c:1430 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1430 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fc15d1169a4 RSP: 002b:00007fffa14cd0c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055d820a17d00 RCX: 00007fc15d1169a4 RDX: 00000000000a0800 RSI: 000055d820a1e9d0 RDI: 00000000ffffff9c RBP: 000055d820a1e9d0 R08: 0000000000000001 R09: 00007fffa14dc0b0 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800 R13: 000055d8209ffb00 R14: 0000000000000001 R15: 000055d8209f6910 INFO: task syz-executor.3:7488 blocked for more than 144 seconds. Not tainted 6.7.0-syzkaller-13004-g4fbbed787267 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:25520 pid:7488 tgid:7486 ppid:5092 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a3/0xd60 kernel/locking/mutex.c:752 bdev_release+0x114/0x910 block/bdev.c:969 blkdev_release+0x3b/0x40 block/fops.c:631 __fput+0x428/0x890 fs/file_table.c:376 task_work_run+0x24a/0x300 kernel/task_work.c:180 get_signal+0x166e/0x1840 kernel/signal.c:2669 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0xc8/0x370 kernel/entry/common.c:212 do_syscall_64+0x102/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f14cba7cda9 RSP: 002b:00007f14cc7d70c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f14cbbabf80 RCX: 00007f14cba7cda9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000004 RBP: 00007f14cbac947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f14cbbabf80 R15: 00007ffdef0aa578 INFO: task syz-executor.3:7489 blocked for more than 144 seconds. Not tainted 6.7.0-syzkaller-13004-g4fbbed787267 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:22704 pid:7489 tgid:7486 ppid:5092 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a3/0xd60 kernel/locking/mutex.c:752 bdev_release+0x114/0x910 block/bdev.c:969 blkdev_release+0x3b/0x40 block/fops.c:631 __fput+0x428/0x890 fs/file_table.c:376 task_work_run+0x24a/0x300 kernel/task_work.c:180 get_signal+0x166e/0x1840 kernel/signal.c:2669 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0xc8/0x370 kernel/entry/common.c:212 do_syscall_64+0x102/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f14cba7cda9 RSP: 002b:00007f14cc7b60c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000013 RAX: fffffffffffffffc RBX: 00007f14cbbac050 RCX: 00007f14cba7cda9 RDX: 0000000000000001 RSI: 0000000020000900 RDI: 0000000000000003 RBP: 00007f14cbac947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f14cbbac050 R15: 00007ffdef0aa578 Showing all locks held in the system: 3 locks held by kworker/0:0/8: 1 lock held by khungtaskd/29: #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4802: #0: ffff88802e3020a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by udevd/13479: #0: ffff88801e98c4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open_by_dev+0x1c7/0x890 block/bdev.c:859 3 locks held by kworker/0:1/16156: 5 locks held by kworker/u4:2/26603: 1 lock held by udevd/4370: 2 locks held by udevd/4371: 1 lock held by syz-executor.3/7488: #0: ffff88801e98c4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x114/0x910 block/bdev.c:969 1 lock held by syz-executor.3/7489: #0: ffff88801e98c4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x114/0x910 block/bdev.c:969 1 lock held by syz-executor.3/8001: #0: ffff88801e98c4c8 ( &disk->open_mutex){+.+.}-{3:3}, at: bdev_open_by_dev+0x1c7/0x890 block/bdev.c:859 1 lock held by syz-executor.3/8002: #0: ffff88801e98c4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open_by_dev+0x1c7/0x890 block/bdev.c:859 1 lock held by syz-executor.3/8003: #0: ffff88801e98c4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open_by_dev+0x1c7/0x890 block/bdev.c:859 1 lock held by syz-executor.3/8282: #0: ffff88801e98c4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open_by_dev+0x1c7/0x890 block/bdev.c:859 1 lock held by syz-executor.3/8283: #0: ffff88801e98c4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open_by_dev+0x1c7/0x890 block/bdev.c:859 1 lock held by syz-executor.3/8284: #0: ffff88801e98c4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open_by_dev+0x1c7/0x890 block/bdev.c:859 1 lock held by syz-executor.3/8680: #0: ffff88801e98c4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open_by_dev+0x1c7/0x890 block/bdev.c:859 1 lock held by syz-executor.3/8684: #0: ffff88801e98c4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open_by_dev+0x1c7/0x890 block/bdev.c:859 2 locks held by kworker/u4:3/8857: 2 locks held by syz-executor.3/9034: #0: ffffffff8eb48848 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8eb48848 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x82c/0x1030 net/core/rtnetlink.c:6612 #1: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:996 2 locks held by syz-executor.2/9058: #0: ffffffff8eb3c2d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c7/0x7a0 net/core/net_namespace.c:491 #1: ffffffff8eb48848 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x213/0x710 net/ipv4/ip_tunnel.c:1090 1 lock held by syz-executor.5/9064: #0: ffff88801ef99998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1537 1 lock held by syz-executor.5/9065: #0: ffff88801ef99998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1537 1 lock held by syz-executor.5/9067: #0: ffff88801ef99998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1537 1 lock held by syz-executor.0/9071: #0: ffff88801eefa998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1537 1 lock held by syz-executor.0/9073: #0: ffff88801eefa998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1537 1 lock held by syz-executor.0/9077: #0: ffff88801eefa998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1537 1 lock held by syz-executor.4/9074: #0: ffff88801f43e198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1537 1 lock held by syz-executor.4/9075: #0: ffff88801f43e198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13c/0xf40 drivers/block/nbd.c:1537 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-syzkaller-13004-g4fbbed787267 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5729 Comm: kworker/u4:10 Not tainted 6.7.0-syzkaller-13004-g4fbbed787267 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:87 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x82/0x290 mm/kasan/generic.c:189 Code: 01 00 00 00 00 fc ff df 4f 8d 3c 31 4c 89 fd 4c 29 dd 48 83 fd 10 7f 29 48 85 ed 0f 84 3e 01 00 00 4c 89 cd 48 f7 d5 48 01 dd <41> 80 3b 00 0f 85 c5 01 00 00 49 ff c3 48 ff c5 75 ee e9 1e 01 00 RSP: 0018:ffffc9000dbc7900 EFLAGS: 00000086 RAX: 0000000000000001 RBX: 1ffffffff21bee97 RCX: ffffffff816da038 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90df74b8 RBP: ffffffffffffffff R08: ffffffff90df74bf R09: 1ffffffff21bee97 R10: dffffc0000000000 R11: fffffbfff21bee97 R12: ffff888023c38000 R13: ffff888023c38000 R14: dffffc0000000001 R15: fffffbfff21bee98 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2efa807c00 CR3: 000000008017a000 CR4: 00000000003506f0 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] __lock_acquire+0xf18/0x1fd0 kernel/locking/lockdep.c:5133 lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 rcu_lock_acquire include/linux/rcupdate.h:298 [inline] rcu_read_lock include/linux/rcupdate.h:750 [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:2633 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242