INFO: task syz.0.633:7778 blocked for more than 143 seconds. Not tainted 6.15.0-rc1-next-20250410-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.633 state:D stack:23976 pid:7778 tgid:7777 ppid:5835 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b9a/0x5250 kernel/sched/core.c:6769 __schedule_loop kernel/sched/core.c:6847 [inline] schedule+0x163/0x360 kernel/sched/core.c:6862 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6919 __mutex_lock_common kernel/locking/mutex.c:678 [inline] __mutex_lock+0x805/0x10c0 kernel/locking/mutex.c:746 bio_find_or_create_slab block/bio.c:122 [inline] bioset_init+0x241/0x820 block/bio.c:1705 bch2_fs_alloc fs/bcachefs/super.c:963 [inline] bch2_fs_open+0x1da9/0x30d0 fs/bcachefs/super.c:2248 bch2_fs_get_tree+0x775/0x18e0 fs/bcachefs/fs.c:2172 vfs_get_tree+0x90/0x2b0 fs/super.c:1809 do_new_mount+0x2cf/0xb70 fs/namespace.c:3879 do_mount fs/namespace.c:4219 [inline] __do_sys_mount fs/namespace.c:4430 [inline] __se_sys_mount+0x38c/0x400 fs/namespace.c:4407 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f756a58e90a RSP: 002b:00007f756b3a4e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f756b3a4ef0 RCX: 00007f756a58e90a RDX: 00002000000000c0 RSI: 0000200000000040 RDI: 00007f756b3a4eb0 RBP: 00002000000000c0 R08: 00007f756b3a4ef0 R09: 0000000001200010 R10: 0000000001200010 R11: 0000000000000246 R12: 0000200000000040 R13: 00007f756b3a4eb0 R14: 0000000000005a07 R15: 0000200000000480 INFO: task syz.1.649:7829 blocked for more than 144 seconds. Not tainted 6.15.0-rc1-next-20250410-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.649 state:D stack:23616 pid:7829 tgid:7828 ppid:5840 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b9a/0x5250 kernel/sched/core.c:6769 __schedule_loop kernel/sched/core.c:6847 [inline] schedule+0x163/0x360 kernel/sched/core.c:6862 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6919 __mutex_lock_common kernel/locking/mutex.c:678 [inline] __mutex_lock+0x805/0x10c0 kernel/locking/mutex.c:746 bio_find_or_create_slab block/bio.c:122 [inline] bioset_init+0x241/0x820 block/bio.c:1705 bch2_fs_alloc fs/bcachefs/super.c:963 [inline] bch2_fs_open+0x1da9/0x30d0 fs/bcachefs/super.c:2248 bch2_fs_get_tree+0x775/0x18e0 fs/bcachefs/fs.c:2172 vfs_get_tree+0x90/0x2b0 fs/super.c:1809 do_new_mount+0x2cf/0xb70 fs/namespace.c:3879 do_mount fs/namespace.c:4219 [inline] __do_sys_mount fs/namespace.c:4430 [inline] __se_sys_mount+0x38c/0x400 fs/namespace.c:4407 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc98498e90a RSP: 002b:00007fc9857e8e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fc9857e8ef0 RCX: 00007fc98498e90a RDX: 0000200000000080 RSI: 0000200000000000 RDI: 00007fc9857e8eb0 RBP: 0000200000000080 R08: 00007fc9857e8ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000000 R13: 00007fc9857e8eb0 R14: 0000000000005917 R15: 00002000000000c0 INFO: task syz.5.653:7837 blocked for more than 145 seconds. Not tainted 6.15.0-rc1-next-20250410-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.653 state:D stack:23976 pid:7837 tgid:7836 ppid:7561 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b9a/0x5250 kernel/sched/core.c:6769 __schedule_loop kernel/sched/core.c:6847 [inline] schedule+0x163/0x360 kernel/sched/core.c:6862 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6919 __mutex_lock_common kernel/locking/mutex.c:678 [inline] __mutex_lock+0x805/0x10c0 kernel/locking/mutex.c:746 bio_find_or_create_slab block/bio.c:122 [inline] bioset_init+0x241/0x820 block/bio.c:1705 bch2_fs_alloc fs/bcachefs/super.c:963 [inline] bch2_fs_open+0x1da9/0x30d0 fs/bcachefs/super.c:2248 bch2_fs_get_tree+0x775/0x18e0 fs/bcachefs/fs.c:2172 vfs_get_tree+0x90/0x2b0 fs/super.c:1809 do_new_mount+0x2cf/0xb70 fs/namespace.c:3879 do_mount fs/namespace.c:4219 [inline] __do_sys_mount fs/namespace.c:4430 [inline] __se_sys_mount+0x38c/0x400 fs/namespace.c:4407 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f720c58e90a RSP: 002b:00007f720d46be68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f720d46bef0 RCX: 00007f720c58e90a RDX: 00002000000000c0 RSI: 0000200000000180 RDI: 00007f720d46beb0 RBP: 00002000000000c0 R08: 00007f720d46bef0 R09: 0000000000000012 R10: 0000000000000012 R11: 0000000000000246 R12: 0000200000000180 R13: 00007f720d46beb0 R14: 0000000000005a73 R15: 0000200000000200 Showing all locks held in the system: 2 locks held by kworker/0:0/9: 2 locks held by kworker/0:1/10: 4 locks held by kworker/u8:0/12: #0: ffff88801bef6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801bef6148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90000117c60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000117c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff900f6250 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17c/0xd60 net/core/net_namespace.c:608 #3: ffffffff8ed44540 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774 1 lock held by khungtaskd/31: #0: ffffffff8ed3f140 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8ed3f140 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8ed3f140 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6764 2 locks held by kworker/0:2/124: 2 locks held by kworker/u8:5/1328: 2 locks held by getty/5584: #0: ffff88814e0c40a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x5bb/0x1700 drivers/tty/n_tty.c:2222 2 locks held by syz-executor/5847: #0: ffffffff8f483188 (bio_slab_lock){+.+.}-{4:4}, at: bio_put_slab block/bio.c:140 [inline] #0: ffffffff8f483188 (bio_slab_lock){+.+.}-{4:4}, at: bioset_exit+0x42d/0x650 block/bio.c:1664 #1: ffffffff8ed44540 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774 3 locks held by kworker/1:5/5888: #0: ffff88801b080d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801b080d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc9000444fc60 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc9000444fc60 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff8ed44678 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline] #2: ffffffff8ed44678 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x384/0x830 kernel/rcu/tree_exp.h:998 5 locks held by kworker/0:7/7655: 2 locks held by kworker/0:8/7734: 2 locks held by kworker/0:9/7740: 1 lock held by syz.0.633/7778: #0: ffffffff8f483188 (bio_slab_lock){+.+.}-{4:4}, at: bio_find_or_create_slab block/bio.c:122 [inline] #0: ffffffff8f483188 (bio_slab_lock){+.+.}-{4:4}, at: bioset_init+0x241/0x820 block/bio.c:1705 1 lock held by syz.1.649/7829: #0: ffffffff8f483188 (bio_slab_lock){+.+.}-{4:4}, at: bio_find_or_create_slab block/bio.c:122 [inline] #0: ffffffff8f483188 (bio_slab_lock){+.+.}-{4:4}, at: bioset_init+0x241/0x820 block/bio.c:1705 1 lock held by syz.5.653/7837: #0: ffffffff8f483188 (bio_slab_lock){+.+.}-{4:4}, at: bio_find_or_create_slab block/bio.c:122 [inline] #0: ffffffff8f483188 (bio_slab_lock){+.+.}-{4:4}, at: bioset_init+0x241/0x820 block/bio.c:1705 1 lock held by syz-executor/7916: #0: ffffffff8ed44540 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774 7 locks held by syz-executor/7918: #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3045 [inline] #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680 #1: ffff88805892a488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e2/0x510 fs/kernfs/file.c:325 #2: ffff8881447ee0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x206/0x510 fs/kernfs/file.c:326 #3: ffffffff8f99c448 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216 #4: ffff8880606470e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #4: ffff8880606470e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff8880606470e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293 #5: ffff88807821c250 (&devlink->lock_key){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1675 #6: ffffffff8ed44540 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774 2 locks held by kworker/0:11/7935: 1 lock held by syz.6.674/7937: #0: ffffffff8f483188 (bio_slab_lock){+.+.}-{4:4}, at: bio_find_or_create_slab block/bio.c:122 [inline] #0: ffffffff8f483188 (bio_slab_lock){+.+.}-{4:4}, at: bioset_init+0x241/0x820 block/bio.c:1705 4 locks held by syz-executor/7975: #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3045 [inline] #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680 #1: ffff888065c28888 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e2/0x510 fs/kernfs/file.c:325 #2: ffff8881447ee0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x206/0x510 fs/kernfs/file.c:326 #3: ffffffff8f99c448 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216 2 locks held by kworker/0:12/7983: 1 lock held by syz.7.656/7985: #0: ffffffff8ed44540 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774 3 locks held by kworker/0:13/8001: 1 lock held by syz.8.686/8024: #0: ffffffff8ed44540 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774 4 locks held by syz-executor/8027: #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3045 [inline] #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680 #1: ffff888067f00c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e2/0x510 fs/kernfs/file.c:325 #2: ffff8881447ee0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x206/0x510 fs/kernfs/file.c:326 #3: ffffffff8f99c448 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216 4 locks held by syz-executor/8073: #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3045 [inline] #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680 #1: ffff8880315e7c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e2/0x510 fs/kernfs/file.c:325 #2: ffff8881447ee0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x206/0x510 fs/kernfs/file.c:326 #3: ffffffff8f99c448 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216 4 locks held by syz-executor/8087: #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3045 [inline] #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680 #1: ffff888067f03c88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e2/0x510 fs/kernfs/file.c:325 #2: ffff8881447ee0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x206/0x510 fs/kernfs/file.c:326 #3: ffffffff8f99c448 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216 4 locks held by syz-executor/8096: #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3045 [inline] #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680 #1: ffff88803d94b488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e2/0x510 fs/kernfs/file.c:325 #2: ffff8881447ee0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x206/0x510 fs/kernfs/file.c:326 #3: ffffffff8f99c448 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216 4 locks held by syz-executor/8105: #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3045 [inline] #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680 #1: ffff888038d7c088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e2/0x510 fs/kernfs/file.c:325 #2: ffff8881447ee0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x206/0x510 fs/kernfs/file.c:326 #3: ffffffff8f99c448 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216 4 locks held by syz-executor/8114: #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3045 [inline] #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680 #1: ffff88808b28f488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e2/0x510 fs/kernfs/file.c:325 #2: ffff8881447ee0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x206/0x510 fs/kernfs/file.c:326 #3: ffffffff8f99c448 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216 4 locks held by syz-executor/8123: #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3045 [inline] #0: ffff88802f4d8428 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680 #1: ffff8880984f1088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e2/0x510 fs/kernfs/file.c:325 #2: ffff8881447ee0f8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x206/0x510 fs/kernfs/file.c:326 #3: ffffffff8f99c448 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfe/0x490 drivers/net/netdevsim/bus.c:216 5 locks held by syz-executor/8133: #0: ffff88803891cd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff88803891cd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2678 #1: ffff88803891c078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x60f/0x1260 net/bluetooth/hci_sync.c:5213 #2: ffffffff902690a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2066 [inline] #2: ffffffff902690a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2701 #3: ffff88809aa6d338 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x71/0x690 net/bluetooth/l2cap_core.c:1761 #4: ffffffff8ed44678 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #4: ffffffff8ed44678 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x454/0x830 kernel/rcu/tree_exp.h:998 3 locks held by syz-executor/8136: #0: ffff88809cc90d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff88809cc90d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2678 #1: ffff88809cc90078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x60f/0x1260 net/bluetooth/hci_sync.c:5213 #2: ffffffff902690a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2066 [inline] #2: ffffffff902690a8 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_hash_flush+0xa6/0x240 net/bluetooth/hci_conn.c:2701 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc1-next-20250410-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x4ab/0x4e0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline] watchdog+0x1058/0x10a0 kernel/hung_task.c:437 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 7734 Comm: kworker/0:8 Not tainted 6.15.0-rc1-next-20250410-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: wg-kex-wg2 wg_packet_handshake_receive_worker RIP: 0010:hlock_class kernel/locking/lockdep.c:233 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4880 [inline] RIP: 0010:__lock_acquire+0x500/0xd80 kernel/locking/lockdep.c:5185 Code: 41 ff c7 41 89 c6 48 39 cb 0f 8d bc 00 00 00 41 83 ff 31 0f 83 95 00 00 00 41 8b 04 24 25 ff 1f 00 00 48 0f a3 05 d0 8b d2 12 <73> 10 48 69 c0 c8 00 00 00 48 8d 88 40 a3 12 94 eb 42 83 3d 07 1b RSP: 0018:ffffc90000006448 EFLAGS: 00000003 RAX: 0000000000000007 RBX: 0000000000000002 RCX: 000000000006280e RDX: 0000000000000003 RSI: ffff8880266a64f0 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880266a6560 R13: ffff8880266a5a00 R14: ffff8880266a6503 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff888124f80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1e3e5f29c0 CR3: 000000000eb3a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x116/0x2f0 kernel/locking/lockdep.c:5866 rcu_lock_acquire include/linux/rcupdate.h:331 [inline] rcu_read_lock include/linux/rcupdate.h:841 [inline] class_rcu_constructor include/linux/rcupdate.h:1155 [inline] unwind_next_frame+0xd5/0x23b0 arch/x86/kernel/unwind_orc.c:479 arch_stack_walk+0x11e/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x11a/0x1d0 kernel/stacktrace.c:122 kasan_save_stack+0x3f/0x60 mm/kasan/common.c:47 kasan_record_aux_stack+0xbf/0xd0 mm/kasan/generic.c:548 __call_rcu_common kernel/rcu/tree.c:3082 [inline] call_rcu+0x172/0xad0 kernel/rcu/tree.c:3202 slab_free_hook mm/slub.c:2353 [inline] slab_free mm/slub.c:4646 [inline] kmem_cache_free+0x312/0x410 mm/slub.c:4748 nf_conntrack_free+0x2fd/0x390 net/netfilter/nf_conntrack_core.c:1729 nf_ct_put include/net/netfilter/nf_conntrack.h:186 [inline] nf_conntrack_in+0xb56/0x18c0 net/netfilter/nf_conntrack_core.c:2055 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc8/0x220 net/netfilter/core.c:626 nf_hook+0x2c9/0x460 include/linux/netfilter.h:269 __ip_local_out+0x50f/0x610 net/ipv4/ip_output.c:118 ip_local_out+0x26/0x70 net/ipv4/ip_output.c:127 synproxy_send_client_synack+0x8ea/0xf70 net/netfilter/nf_synproxy_core.c:484 nft_synproxy_eval_v4+0x3cc/0x610 net/netfilter/nft_synproxy.c:59 nft_synproxy_do_eval+0x36a/0xa90 net/netfilter/nft_synproxy.c:141 expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [inline] nft_do_chain+0x4b2/0x1db0 net/netfilter/nf_tables_core.c:285 nft_do_chain_inet+0x41f/0x6b0 net/netfilter/nft_chain_filter.c:161 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc8/0x220 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] NF_HOOK+0x29b/0x450 include/linux/netfilter.h:312 NF_HOOK+0x3a0/0x450 include/linux/netfilter.h:314 __netif_receive_skb_one_core net/core/dev.c:5939 [inline] __netif_receive_skb+0x2c9/0x670 net/core/dev.c:6052 process_backlog+0x664/0x15c0 net/core/dev.c:6404 __napi_poll+0xcb/0x480 net/core/dev.c:7376 napi_poll net/core/dev.c:7440 [inline] net_rx_action+0x89d/0x1240 net/core/dev.c:7562 handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:579 do_softirq+0x11f/0x1e0 kernel/softirq.c:480 __local_bh_enable_ip+0x1be/0x200 kernel/softirq.c:407 local_bh_enable include/linux/bottom_half.h:33 [inline] fpregs_unlock arch/x86/include/asm/fpu/api.h:77 [inline] kernel_fpu_end+0x103/0x150 arch/x86/kernel/fpu/core.c:460 blake2s_compress+0x5f/0xd0 arch/x86/crypto/blake2s-glue.c:48 blake2s_update+0x135/0x420 lib/crypto/blake2s.c:32 blake2s include/crypto/blake2s.h:100 [inline] compute_mac1+0x261/0x400 drivers/net/wireguard/cookie.c:80 wg_cookie_validate_packet+0x130/0x340 drivers/net/wireguard/cookie.c:130 wg_receive_handshake_packet drivers/net/wireguard/receive.c:121 [inline] wg_packet_handshake_receive_worker+0x46b/0xf60 drivers/net/wireguard/receive.c:213 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd50 kernel/workqueue.c:3400 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245