INFO: task syz.3.287:7428 blocked for more than 143 seconds. Not tainted 6.6.100-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.287 state:D stack:25320 pid:7428 ppid:5791 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6700 schedule+0xbd/0x170 kernel/sched/core.c:6774 __wait_on_freeing_inode fs/inode.c:2317 [inline] find_inode_fast+0x2bd/0x3d0 fs/inode.c:981 iget_locked+0xc4/0x840 fs/inode.c:1346 __ext4_iget+0x234/0x3e70 fs/ext4/inode.c:4828 ext4_xattr_inode_cache_find fs/ext4/xattr.c:1557 [inline] ext4_xattr_inode_lookup_create+0x968/0x1d80 fs/ext4/xattr.c:1596 ext4_xattr_ibody_set+0x202/0x6a0 fs/ext4/xattr.c:2273 ext4_xattr_set_handle+0xaad/0x1290 fs/ext4/xattr.c:2450 ext4_xattr_set+0x22d/0x320 fs/ext4/xattr.c:2564 __vfs_setxattr+0x431/0x470 fs/xattr.c:201 __vfs_setxattr_noperm+0x12d/0x5e0 fs/xattr.c:235 vfs_setxattr+0x16c/0x2f0 fs/xattr.c:322 do_setxattr fs/xattr.c:630 [inline] path_setxattr+0x362/0x550 fs/xattr.c:659 __do_sys_setxattr fs/xattr.c:677 [inline] __se_sys_setxattr fs/xattr.c:673 [inline] __x64_sys_setxattr+0xbb/0xd0 fs/xattr.c:673 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff7a458e9a9 RSP: 002b:00007ff7a53a3038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007ff7a47b5fa0 RCX: 00007ff7a458e9a9 RDX: 0000200000001400 RSI: 00002000000001c0 RDI: 0000200000000380 RBP: 00007ff7a4610d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000835 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff7a47b5fa0 R15: 00007ffd07e758b8 INFO: task syz.3.287:7437 blocked for more than 143 seconds. Not tainted 6.6.100-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.287 state:D stack:26000 pid:7437 ppid:5791 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6700 schedule+0xbd/0x170 kernel/sched/core.c:6774 mb_cache_entry_wait_unused+0x166/0x250 fs/mbcache.c:148 ext4_evict_ea_inode+0x14d/0x2f0 fs/ext4/xattr.c:480 ext4_evict_inode+0x158/0xea0 fs/ext4/inode.c:181 evict+0x486/0x870 fs/inode.c:705 ext4_xattr_ibody_set+0x50d/0x6a0 fs/ext4/xattr.c:2291 ext4_xattr_set_handle+0xaad/0x1290 fs/ext4/xattr.c:2450 ext4_xattr_set+0x22d/0x320 fs/ext4/xattr.c:2564 __vfs_setxattr+0x431/0x470 fs/xattr.c:201 __vfs_setxattr_noperm+0x12d/0x5e0 fs/xattr.c:235 vfs_setxattr+0x16c/0x2f0 fs/xattr.c:322 do_setxattr fs/xattr.c:630 [inline] path_setxattr+0x362/0x550 fs/xattr.c:659 __do_sys_setxattr fs/xattr.c:677 [inline] __se_sys_setxattr fs/xattr.c:673 [inline] __x64_sys_setxattr+0xbb/0xd0 fs/xattr.c:673 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff7a458e9a9 RSP: 002b:00007ff7a5382038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007ff7a47b6080 RCX: 00007ff7a458e9a9 RDX: 0000200000001400 RSI: 00002000000001c0 RDI: 0000200000000380 RBP: 00007ff7a4610d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000835 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff7a47b6080 R15: 00007ffd07e758b8 INFO: task syz.3.287:7439 blocked for more than 144 seconds. Not tainted 6.6.100-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.287 state:D stack:28912 pid:7439 ppid:5791 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6700 schedule+0xbd/0x170 kernel/sched/core.c:6774 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6833 rwsem_down_read_slowpath+0x4f8/0x840 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x98/0x2e0 kernel/locking/rwsem.c:1522 ext4_xattr_get+0x10b/0x6a0 fs/ext4/xattr.c:710 __vfs_getxattr+0x3e8/0x420 fs/xattr.c:424 cap_inode_need_killpriv+0x45/0x60 security/commoncap.c:301 security_inode_need_killpriv+0x62/0x90 security/security.c:2368 dentry_needs_remove_privs+0x89/0xf0 fs/inode.c:2088 do_truncate+0xff/0x220 fs/open.c:58 vfs_truncate+0x266/0x300 fs/open.c:112 do_sys_truncate+0xe0/0x1a0 fs/open.c:135 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff7a458e9a9 RSP: 002b:00007ff7a5361038 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007ff7a47b6160 RCX: 00007ff7a458e9a9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000200000000100 RBP: 00007ff7a4610d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff7a47b6160 R15: 00007ffd07e758b8 INFO: task syz.3.287:7441 blocked for more than 144 seconds. Not tainted 6.6.100-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.287 state:D stack:27472 pid:7441 ppid:5791 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6700 schedule+0xbd/0x170 kernel/sched/core.c:6774 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6833 rwsem_down_write_slowpath+0xbd2/0xfa0 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1a7/0x1f0 kernel/locking/rwsem.c:1574 inode_lock include/linux/fs.h:804 [inline] process_measurement+0x3cf/0x1ad0 security/integrity/ima/ima_main.c:250 ima_file_check+0xc6/0x100 security/integrity/ima/ima_main.c:562 do_open fs/namei.c:3634 [inline] path_openat+0x2811/0x3190 fs/namei.c:3789 do_filp_open+0x1c5/0x3d0 fs/namei.c:3816 do_sys_openat2+0x12c/0x1c0 fs/open.c:1419 do_sys_open fs/open.c:1434 [inline] __do_sys_openat fs/open.c:1450 [inline] __se_sys_openat fs/open.c:1445 [inline] __x64_sys_openat+0x139/0x160 fs/open.c:1445 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7ff7a458e9a9 RSP: 002b:00007ff7a531f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ff7a47b6320 RCX: 00007ff7a458e9a9 RDX: 0000000000000042 RSI: 0000200000000440 RDI: ffffffffffffff9c RBP: 00007ff7a4610d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff7a47b6320 R15: 00007ffd07e758b8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline] #0: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline] #0: ffffffff8cd2fba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633 2 locks held by kworker/u4:3/48: 5 locks held by kworker/u4:5/1085: #0: ffff888017873938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017873938 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc9000442fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc9000442fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffffffff8dfae390 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x136/0xb90 net/core/net_namespace.c:606 #3: ffffffff8dfbb188 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe9/0xa60 net/core/dev.c:11594 #4: ffffffff8cd35b78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #4: ffffffff8cd35b78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x448/0x830 kernel/rcu/tree_exp.h:1004 3 locks held by kworker/u4:6/1099: #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017871538 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc9000454fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc9000454fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffffffff8dfbb188 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:286 2 locks held by dhcpcd/5455: #0: ffff888019eaf688 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0xf4/0x810 net/netlink/af_netlink.c:2346 #1: ffffffff8dfbb188 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0x71f/0xde0 net/netlink/af_netlink.c:2273 2 locks held by getty/5552: #0: ffff88823bdf40a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000326e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x425/0x1380 drivers/tty/n_tty.c:2217 3 locks held by kworker/0:5/5844: #0: ffff888017870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #0: ffff888017870938 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #1: ffffc9000491fd00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline] #1: ffffc9000491fd00 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x957/0x15b0 kernel/workqueue.c:2711 #2: ffffffff8dfbb188 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 3 locks held by syz.3.287/7428: #0: ffff888059e80418 (sb_writers#4){++++}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:403 #1: ffff88807737b610 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline] #1: ffff88807737b610 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321 #2: ffff88807737b2c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff88807737b2c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x166/0x1290 fs/ext4/xattr.c:2377 3 locks held by syz.3.287/7437: #0: ffff888059e80418 (sb_writers#4){++++}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:403 #1: ffff888077378410 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline] #1: ffff888077378410 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: vfs_setxattr+0x145/0x2f0 fs/xattr.c:321 #2: ffff8880773780c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff8880773780c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_set_handle+0x166/0x1290 fs/ext4/xattr.c:2377 2 locks held by syz.3.287/7439: #0: ffff888059e80418 (sb_writers#4){++++}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:403 #1: ffff88807737b2c8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_xattr_get+0x10b/0x6a0 fs/ext4/xattr.c:710 1 lock held by syz.3.287/7441: #0: ffff888077378410 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:804 [inline] #0: ffff888077378410 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: process_measurement+0x3cf/0x1ad0 security/integrity/ima/ima_main.c:250 7 locks held by syz-executor/9855: #0: ffff88802054c418 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x20e/0x940 fs/read_write.c:580 #1: ffff888030cecc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e9/0x4d0 fs/kernfs/file.c:325 #2: ffff888023a13100 (kn->active#53){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20c/0x4d0 fs/kernfs/file.c:326 #3: ffffffff8d898248 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd2/0x360 drivers/net/netdevsim/bus.c:209 #4: ffff8880235c20e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #4: ffff8880235c20e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff8880235c20e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xb6/0x7a0 drivers/base/dd.c:1292 #5: ffff8880235c1250 (&devlink->lock_key#6){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1675 #6: ffffffff8dfbb188 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x3f/0x180 drivers/net/netdevsim/netdev.c:417 1 lock held by syz-executor/9948: #0: ffffffff8dfbb188 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8dfbb188 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x76f/0xf10 net/core/rtnetlink.c:6472 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.100-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x16c/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x39b/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 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+0xf41/0xf80 kernel/hung_task.c:379 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 48 Comm: kworker/u4:3 Not tainted 6.6.100-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3781 [inline] RIP: 0010:validate_chain kernel/locking/lockdep.c:3837 [inline] RIP: 0010:__lock_acquire+0x1346/0x7c80 kernel/locking/lockdep.c:5137 Code: e8 03 25 f8 03 00 00 48 8d b8 20 35 da 90 be 08 00 00 00 e8 ac bc 75 00 49 b8 00 00 00 00 00 fc ff df 48 0f a3 1d 7a 14 73 0f <72> 25 48 c7 c0 80 a4 ea 96 48 c1 e8 03 42 0f b6 04 00 84 c0 0f 85 RSP: 0018:ffffc90000b8f540 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 000000000000002c RCX: ffffffff81672094 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90da3520 RBP: ffffc90000b8f788 R08: dffffc0000000000 R09: 1ffffffff21b46a4 R10: dffffc0000000000 R11: fffffbfff21b46a5 R12: a5e4ddb5c6f75f19 R13: ffff88801a241e00 R14: 00000000c6f75f19 R15: ffff88801a2429a0 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30508ff8 CR3: 000000000cb30000 CR4: 00000000003506f0 Call Trace: lock_acquire+0x197/0x410 kernel/locking/lockdep.c:5754 local_lock_acquire include/linux/local_lock_internal.h:29 [inline] ___slab_alloc+0x43a/0x12f0 mm/slub.c:3202 __slab_alloc mm/slub.c:3329 [inline] __slab_alloc_node mm/slub.c:3382 [inline] slab_alloc_node mm/slub.c:3475 [inline] __kmem_cache_alloc_node+0x1a2/0x260 mm/slub.c:3524 __do_kmalloc_node mm/slab_common.c:1006 [inline] __kmalloc_node_track_caller+0xa2/0x230 mm/slab_common.c:1027 kmalloc_reserve+0x117/0x260 net/core/skbuff.c:581 __alloc_skb+0x138/0x2c0 net/core/skbuff.c:650 alloc_skb include/linux/skbuff.h:1284 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x293/0xb00 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293