INFO: task syz.5.171:7602 blocked for more than 143 seconds. Not tainted 6.15.0-rc4-syzkaller-00296-ge8ab83e34bdc #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.171 state:D stack:25272 pid:7602 tgid:7560 ppid:7290 task_flags:0x400040 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x168f/0x4c70 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x165/0x360 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:867 [inline] process_measurement+0x3d8/0x1a40 security/integrity/ima/ima_main.c:260 ima_file_check+0xd7/0x120 security/integrity/ima/ima_main.c:613 security_file_post_open+0xbb/0x290 security/security.c:3130 do_open fs/namei.c:3882 [inline] path_openat+0x2f26/0x3830 fs/namei.c:4039 do_filp_open+0x1fa/0x410 fs/namei.c:4066 do_sys_openat2+0x121/0x1c0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_openat fs/open.c:1460 [inline] __se_sys_openat fs/open.c:1455 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1455 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f852f58e969 RSP: 002b:00007f852d3d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f852f7b6080 RCX: 00007f852f58e969 RDX: 0000000000000042 RSI: 00002000000002c0 RDI: ffffffffffffff9c RBP: 00007f852f610ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f852f7b6080 R15: 00007ffe536bf658 INFO: task syz.5.171:7604 blocked for more than 144 seconds. Not tainted 6.15.0-rc4-syzkaller-00296-ge8ab83e34bdc #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.171 state:D stack:24576 pid:7604 tgid:7560 ppid:7290 task_flags:0x400140 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x168f/0x4c70 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x165/0x360 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:867 [inline] process_measurement+0x3d8/0x1a40 security/integrity/ima/ima_main.c:260 ima_file_check+0xd7/0x120 security/integrity/ima/ima_main.c:613 security_file_post_open+0xbb/0x290 security/security.c:3130 do_open fs/namei.c:3882 [inline] path_openat+0x2f26/0x3830 fs/namei.c:4039 do_filp_open+0x1fa/0x410 fs/namei.c:4066 do_sys_openat2+0x121/0x1c0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_open fs/open.c:1452 [inline] __se_sys_open fs/open.c:1448 [inline] __x64_sys_open+0x11e/0x150 fs/open.c:1448 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f852f58e969 RSP: 002b:00007f852d3b4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f852f7b6160 RCX: 00007f852f58e969 RDX: 0000000000000000 RSI: 0000000000141142 RDI: 00002000000001c0 RBP: 00007f852f610ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f852f7b6160 R15: 00007ffe536bf658 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #0: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b7/0x730 kernel/rcu/tree_exp.h:998 1 lock held by khungtaskd/31: #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6764 2 locks held by kworker/u8:9/3587: 1 lock held by udevd/5190: 2 locks held by getty/5576: #0: ffff8880304bd0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900033332f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 5 locks held by syz.5.171/7561: #0: ffff88807618e420 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:556 #1: ffff888057d12740 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #1: ffff888057d12740 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: do_truncate+0x186/0x220 fs/open.c:63 #2: ffff88806d600a70 (&c->snapshot_create_lock){.+.+}-{4:4}, at: bch2_truncate+0xeb/0x200 fs/bcachefs/io_misc.c:295 #3: ffff88806d604228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline] #3: ffff88806d604228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline] #3: ffff88806d604228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x806/0xda0 fs/bcachefs/btree_iter.c:3385 #4: ffff88806d626590 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x68f/0x14c0 fs/bcachefs/btree_update_interior.c:1179 1 lock held by syz.5.171/7602: #0: ffff888057d12740 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #0: ffff888057d12740 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: process_measurement+0x3d8/0x1a40 security/integrity/ima/ima_main.c:260 1 lock held by syz.5.171/7604: #0: ffff888057d12740 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #0: ffff888057d12740 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: process_measurement+0x3d8/0x1a40 security/integrity/ima/ima_main.c:260 2 locks held by bch-copygc/loop/7588: 1 lock held by syz-executor/9434: #0: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #0: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b7/0x730 kernel/rcu/tree_exp.h:998 1 lock held by syz.5.392/9967: 3 locks held by syz.0.391/9994: 1 lock held by sed/10018: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc4-syzkaller-00296-ge8ab83e34bdc #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 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+0xfee/0x1030 kernel/hung_task.c:437 kthread+0x70e/0x8a0 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: 13 Comm: kworker/u8:1 Not tainted 6.15.0-rc4-syzkaller-00296-ge8ab83e34bdc #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:filter_irq_stacks+0x6c/0xa0 kernel/stacktrace.c:396 Code: 30 02 00 81 0f 93 c1 48 3d 70 16 00 81 0f 92 c2 84 d1 75 27 48 3d 30 cb 51 8b 0f 92 c1 48 3d 4b cb 51 8b 0f 93 c0 08 c8 74 11 <48> ff c3 49 83 c7 08 49 39 dc 75 ae 44 89 e3 eb 06 ff c3 eb 02 31 RSP: 0018:ffffc90000127640 EFLAGS: 00000202 RAX: ffffffff821f5e01 RBX: 0000000000000002 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 000000000000000d RDI: ffffc900001276e0 RBP: ffffc90000127908 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff817199f5 R12: 000000000000000d R13: dffffc0000000000 R14: ffffc900001276e0 R15: ffffc900001276f0 FS: 0000000000000000(0000) GS:ffff8881260ff000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f507ac13000 CR3: 000000000dd36000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: stack_depot_save_flags+0x40/0x910 lib/stackdepot.c:610 kasan_save_stack mm/kasan/common.c:48 [inline] kasan_save_track+0x4f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x62/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2380 [inline] slab_free mm/slub.c:4642 [inline] kmem_cache_free+0x192/0x3f0 mm/slub.c:4744 skb_kfree_head net/core/skbuff.c:1056 [inline] skb_free_head net/core/skbuff.c:1070 [inline] skb_release_data+0x670/0x890 net/core/skbuff.c:1097 skb_release_all net/core/skbuff.c:1162 [inline] __kfree_skb net/core/skbuff.c:1176 [inline] sk_skb_reason_drop+0x127/0x170 net/core/skbuff.c:1214 kfree_skb_reason include/linux/skbuff.h:1279 [inline] kfree_skb include/linux/skbuff.h:1288 [inline] ieee80211_iface_work+0x997/0xfe0 net/mac80211/iface.c:1681 cfg80211_wiphy_work+0x2dc/0x460 net/wireless/core.c:435 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x70e/0x8a0 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