INFO: task syz-executor.5:32084 blocked for more than 143 seconds. Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26064 pid:32084 tgid:32081 ppid:31590 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6a3/0xd60 kernel/locking/mutex.c:747 blkdev_put+0xfc/0x770 block/bdev.c:930 bdev_release+0x57/0x70 block/bdev.c:954 blkdev_release+0x3b/0x40 block/fops.c:616 __fput+0x3cc/0x9e0 fs/file_table.c:394 task_work_run+0x24a/0x300 kernel/task_work.c:180 get_signal+0x166e/0x1840 kernel/signal.c:2680 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x150 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x69/0x2a0 kernel/entry/common.c:296 do_syscall_64+0x52/0x110 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fde78e7cce9 RSP: 002b:00007fde779fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffe7 RBX: 00007fde78f9bf80 RCX: 00007fde78e7cce9 RDX: 0000000020000040 RSI: 0000000000000301 RDI: 0000000000000003 RBP: 00007fde779fe120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007fde78f9bf80 R15: 00007ffcdd030cc8 INFO: task syz-executor.2:32088 blocked for more than 144 seconds. Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27376 pid:32088 tgid:32087 ppid:5085 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6a3/0xd60 kernel/locking/mutex.c:747 blkdev_get_by_dev+0x123/0x480 block/bdev.c:788 bdev_open_by_dev+0x79/0x140 block/bdev.c:842 blkdev_open+0x16d/0x3c0 block/fops.c:600 do_dentry_open+0x8ff/0x1590 fs/open.c:948 do_open fs/namei.c:3622 [inline] path_openat+0x2849/0x3290 fs/namei.c:3779 do_filp_open+0x234/0x490 fs/namei.c:3809 do_sys_openat2+0x13e/0x1d0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1463 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f587167cce9 RSP: 002b:00007f58724330c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f587179bf80 RCX: 00007f587167cce9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f58716c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f587179bf80 R15: 00007ffd6278a5c8 Showing all locks held in the system: 2 locks held by kworker/u4:1/12: 1 lock held by khungtaskd/29: #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92dae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 3 locks held by kworker/1:2/922: 2 locks held by getty/4813: #0: ffff88802af700a0 (&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+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by kworker/1:5/5134: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #1: ffffc90004a2fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #1: ffffc90004a2fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 2 locks held by syz-executor.5/25743: 3 locks held by kworker/0:5/25818: #0: ffff888025e2f938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #0: ffff888025e2f938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #1: ffffc90015b9fd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #1: ffffc90015b9fd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #2: ffffffff8eb36288 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16e0 net/ipv6/addrconf.c:4137 1 lock held by syz-executor.5/25830: 3 locks held by syz-executor.5/25887: 2 locks held by syz-executor.4/29154: 2 locks held by kworker/0:3/31606: 3 locks held by kworker/1:4/31611: #0: ffff888025e2f938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #0: ffff888025e2f938 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #1: ffffc9001b25fd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #1: ffffc9001b25fd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #2: ffffffff8eb36288 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16e0 net/ipv6/addrconf.c:4137 2 locks held by syz-executor.4/32085: 1 lock held by syz-executor.5/32084: #0: ffff88801d3944c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfc/0x770 block/bdev.c:930 1 lock held by syz-executor.2/32088: #0: ffff88801d3944c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x123/0x480 block/bdev.c:788 1 lock held by syz-executor.1/32121: #0: ffff88801d3944c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x123/0x480 block/bdev.c:788 2 locks held by kworker/0:6/32176: 1 lock held by syz-executor.4/32188: #0: ffff88801d3944c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x123/0x480 block/bdev.c:788 1 lock held by syz-executor.5/32195: #0: ffff88801d3944c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x123/0x480 block/bdev.c:788 1 lock held by syz-executor.2/32199: #0: ffff88801d3944c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x123/0x480 block/bdev.c:788 3 locks held by syz-executor.1/32228: #0: ffffffff8eb36288 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8eb36288 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x82c/0x1030 net/core/rtnetlink.c:6555 #1: ffff88805695d3e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_open+0x22d/0x420 drivers/net/wireguard/device.c:50 #2: ffffffff8d9334b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #2: ffffffff8d9334b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:996 7 locks held by syz-executor.4/32231: #0: ffff88807b8c0418 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x223/0xb20 fs/read_write.c:580 #1: ffff88804707cc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x510 fs/kernfs/file.c:325 #2: ffff88801f61dda0 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x510 fs/kernfs/file.c:326 #3: ffffffff8e491928 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x1b4/0x890 drivers/net/netdevsim/bus.c:166 #4: ffff88805dc620e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #4: ffff88805dc620e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x510 drivers/base/dd.c:1005 #5: ffff88805dc63250 (&devlink->lock_key#19){+.+.}-{3:3}, at: nsim_drv_probe+0xcb/0xb80 drivers/net/netdevsim/dev.c:1534 #6: ffffffff8eb36288 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x84/0x270 net/ipv4/nexthop.c:3622 1 lock held by syz-executor.5/32232: #0: ffffffff8eb36288 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8eb36288 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x82c/0x1030 net/core/rtnetlink.c:6555 1 lock held by syz-executor.2/32238: #0: ffffffff8eb36288 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8eb36288 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x82c/0x1030 net/core/rtnetlink.c:6555 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 25830 Comm: syz-executor.5 Not tainted 6.7.0-rc7-syzkaller-00003-gfbafc3e621c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:match_held_lock+0x0/0xb0 kernel/locking/lockdep.c:5199 Code: 90 31 db 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 75 0d 48 89 d8 48 83 c4 10 5b 41 5e 41 5f c3 e8 a5 f9 ff ff 0f 1f 44 00 00 <55> 53 bd 01 00 00 00 48 39 77 10 74 67 48 89 fb 81 7f 20 00 00 20 RSP: 0018:ffffc90015dded38 EFLAGS: 00000087 RAX: 0000000000000003 RBX: 0000000000000002 RCX: ffffc90015dded03 RDX: 1ffff92002bbbdb8 RSI: ffffffff8d92dae0 RDI: ffff88802af54690 RBP: ffffc90015ddee70 R08: ffffffff8f00c0ef R09: 1ffffffff1e0181d R10: dffffc0000000000 R11: fffffbfff1e0181e R12: 0000000000000002 R13: 000000000000000a R14: ffff88802af54640 R15: ffff88802af54690 FS: 00007fc8397326c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f26bff75870 CR3: 0000000051f59000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: find_held_lock kernel/locking/lockdep.c:5244 [inline] __lock_release kernel/locking/lockdep.c:5429 [inline] lock_release+0x24b/0x9c0 kernel/locking/lockdep.c:5774 rcu_lock_release include/linux/rcupdate.h:306 [inline] rcu_read_unlock include/linux/rcupdate.h:780 [inline] xa_load+0x401/0x480 lib/xarray.c:1465 list_lru_from_memcg_idx mm/list_lru.c:56 [inline] list_lru_count_one+0x148/0x2e0 mm/list_lru.c:185 list_lru_shrink_count include/linux/list_lru.h:122 [inline] super_cache_count+0x149/0x2a0 fs/super.c:270 do_shrink_slab+0x80/0x1130 mm/shrinker.c:382 shrink_slab_memcg mm/shrinker.c:548 [inline] shrink_slab+0x883/0x14c0 mm/shrinker.c:626 shrink_node_memcgs mm/vmscan.c:5844 [inline] shrink_node+0x11d6/0x28c0 mm/vmscan.c:5877 shrink_zones mm/vmscan.c:6116 [inline] do_try_to_free_pages+0x717/0x19e0 mm/vmscan.c:6178 try_to_free_mem_cgroup_pages+0x455/0xa70 mm/vmscan.c:6493 try_charge_memcg+0x6d8/0x18a0 mm/memcontrol.c:2742 try_charge mm/memcontrol.c:2884 [inline] charge_memcg+0xa2/0x160 mm/memcontrol.c:7210 __mem_cgroup_charge+0x27/0x80 mm/memcontrol.c:7225 mem_cgroup_charge include/linux/memcontrol.h:684 [inline] __filemap_add_folio+0x401/0x1ad0 mm/filemap.c:854 filemap_add_folio+0x11e/0x570 mm/filemap.c:937 page_cache_ra_unbounded+0x210/0x7c0 mm/readahead.c:250 do_page_cache_ra mm/readahead.c:299 [inline] force_page_cache_ra+0x2a7/0x310 mm/readahead.c:330 force_page_cache_readahead mm/internal.h:130 [inline] generic_fadvise+0x528/0x830 mm/fadvise.c:106 ksys_readahead mm/readahead.c:742 [inline] __do_sys_readahead mm/readahead.c:750 [inline] __se_sys_readahead mm/readahead.c:748 [inline] __x64_sys_readahead+0x1b2/0x240 mm/readahead.c:748 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fc838a7cce9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc8397320c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bb RAX: ffffffffffffffda RBX: 00007fc838b9bf80 RCX: 00007fc838a7cce9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fc838ac947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc838b9bf80 R15: 00007ffdbb73ba98