INFO: task syz.3.4137:20331 blocked for more than 143 seconds.
Tainted: G L syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.4137 state:D stack:27832 pid:20331 tgid:20271 ppid:5846 task_flags:0x400040 flags:0x00080002
Call Trace:
context_switch kernel/sched/core.c:5352 [inline]
__schedule+0x1665/0x5590 kernel/sched/core.c:6964
__schedule_loop kernel/sched/core.c:7047 [inline]
schedule+0x164/0x360 kernel/sched/core.c:7062
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7119
rwsem_down_write_slowpath+0x883/0x1080 kernel/locking/rwsem.c:1215
__down_write_common kernel/locking/rwsem.c:1347 [inline]
__down_write kernel/locking/rwsem.c:1356 [inline]
down_write+0x1bc/0x200 kernel/locking/rwsem.c:1626
inode_lock include/linux/fs.h:1028 [inline]
process_measurement+0x451/0x1c80 security/integrity/ima/ima_main.c:300
ima_file_check+0xe1/0x130 security/integrity/ima/ima_main.c:685
security_file_post_open+0xb3/0x260 security/security.c:2652
do_open fs/namei.c:4695 [inline]
path_openat+0x2e4d/0x3860 fs/namei.c:4852
do_file_open+0x23e/0x4a0 fs/namei.c:4881
do_sys_openat2+0x113/0x200 fs/open.c:1366
do_sys_open fs/open.c:1372 [inline]
__do_sys_open fs/open.c:1380 [inline]
__se_sys_open fs/open.c:1376 [inline]
__x64_sys_open+0x11e/0x150 fs/open.c:1376
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc19579c799
RSP: 002b:00007fc196601028 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fc195a16090 RCX: 00007fc19579c799
RDX: 0000000000000021 RSI: 0000000000066842 RDI: 00002000000000c0
RBP: 00007fc195832c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc195a16128 R14: 00007fc195a16090 R15: 00007ffc1efe84b8
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e75d6a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
#0: ffffffff8e75d6a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline]
#0: ffffffff8e75d6a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
2 locks held by getty/5590:
#0: ffff888037d590a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000332b2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13c0 drivers/tty/n_tty.c:2211
1 lock held by udevd/5975:
1 lock held by syz.3.4137/20331:
#0: ffff888045825930 (&sb->s_type->i_mutex_key#36){++++}-{4:4}, at: inode_lock include/linux/fs.h:1028 [inline]
#0: ffff888045825930 (&sb->s_type->i_mutex_key#36){++++}-{4:4}, at: process_measurement+0x451/0x1c80 security/integrity/ima/ima_main.c:300
9 locks held by syz.9.5110/23898:
1 lock held by udevadm/23951:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
__sys_info lib/sys_info.c:157 [inline]
sys_info+0x135/0x170 lib/sys_info.c:165
check_hung_uninterruptible_tasks kernel/hung_task.c:353 [inline]
watchdog+0x1002/0x1060 kernel/hung_task.c:561
kthread+0x388/0x470 kernel/kthread.c:436
ret_from_fork+0x51e/0xb90 arch/x86/kernel/process.c:158
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: 23898 Comm: syz.9.5110 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:__bfs kernel/locking/lockdep.c:1753 [inline]
RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1860 [inline]
RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2796 [inline]
RIP: 0010:check_prev_add kernel/locking/lockdep.c:3169 [inline]
RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3284 [inline]
RIP: 0010:validate_chain kernel/locking/lockdep.c:3908 [inline]
RIP: 0010:__lock_acquire+0x1821/0x2cf0 kernel/locking/lockdep.c:5237
Code: 00 0f 83 8a 01 00 00 4e 8b 24 fd 00 f8 26 96 ff c0 25 ff 0f 00 00 89 05 5d ca 84 14 4d 85 e4 0f 84 b2 01 00 00 49 8b 44 24 10 <48> 85 c0 0f 84 1c 0d 00 00 8b 0d 48 ca 84 14 39 48 5c 0f 84 67 ff
RSP: 0018:ffffc900032a6e28 EFLAGS: 00000086
RAX: ffffffff93cbf5e0 RBX: 00000000000003fd RCX: ffffffff96cc69e8
RDX: ffffffff96d5fb78 RSI: ffff888031e2c9b8 RDI: 00000000000003fd
RBP: d5250a776fba310c R08: ffffc900032a6df0 R09: 0000000000000020
R10: 0000000000000003 R11: ffffffff81a30010 R12: ffffffff96cc69e8
R13: ffff888031e2c9b8 R14: ffff888031e2bd00 R15: 0000000000000821
FS: 00007f817826e6c0(0000) GS:ffff888125436000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdff5de92f8 CR3: 000000003fde2000 CR4: 00000000003526f0
Call Trace:
lock_acquire+0xf0/0x2e0 kernel/locking/lockdep.c:5868
seqcount_lockdep_reader_access+0x55/0x100 include/linux/seqlock.h:73
ktime_get+0x45/0x220 kernel/time/timekeeping.c:965
clockevents_program_event+0x286/0x4b0 kernel/time/clockevents.c:360
hrtimer_rearm kernel/time/hrtimer.c:2039 [inline]
__hrtimer_rearm_deferred+0x29b/0x4a0 kernel/time/hrtimer.c:2059
hrtimer_rearm_deferred_tif include/linux/hrtimer_rearm.h:53 [inline]
hrtimer_rearm_deferred include/linux/hrtimer_rearm.h:62 [inline]
irqentry_exit+0x66f/0x700 kernel/entry/common.c:242
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:console_flush_one_record arch/x86/include/asm/irqflags.h:-1 [inline]
RIP: 0010:console_flush_all+0x801/0xb20 kernel/printk/printk.c:3343
Code: ff ff e8 22 eb 20 00 90 0f 0b 90 e9 85 fc ff ff e8 14 eb 20 00 e8 6f 4b 0e 0a 48 85 db 74 c0 e8 05 eb 20 00 fb 48 8b 5c 24 08 <48> 8b 44 24 20 42 80 3c 20 00 4c 8b 74 24 18 74 08 4c 89 f7 e8 16
RSP: 0018:ffffc900032a7260 EFLAGS: 00000287
RAX: ffffffff81a5b7fb RBX: ffffc900032a73c0 RCX: 0000000000080000
RDX: ffffc9001d589000 RSI: 0000000000036dfb RDI: 0000000000036dfc
RBP: ffffc900032a7370 R08: ffffffff901249f7 R09: 1ffffffff202493e
R10: dffffc0000000000 R11: fffffbfff202493f R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffffffff8f0131a0
__console_flush_and_unlock kernel/printk/printk.c:3373 [inline]
console_unlock+0xd1/0x1c0 kernel/printk/printk.c:3413
vprintk_emit+0x485/0x560 kernel/printk/printk.c:2479
_printk+0xdd/0x130 kernel/printk/printk.c:2504
_btrfs_printk+0x29a/0x320 fs/btrfs/messages.c:236
__btrfs_clear_fs_compat_ro+0x22a/0x3a0 fs/btrfs/fs.c:340
btrfs_delete_free_space_tree+0x118/0x9d0 fs/btrfs/free-space-tree.c:1286
btrfs_start_pre_rw_mount+0x171a/0x1f20 fs/btrfs/disk-io.c:3060
open_ctree+0x2e04/0x4220 fs/btrfs/disk-io.c:3646
btrfs_fill_super fs/btrfs/super.c:981 [inline]
btrfs_get_tree_super fs/btrfs/super.c:1944 [inline]
btrfs_get_tree_subvol fs/btrfs/super.c:2087 [inline]
btrfs_get_tree+0x1061/0x1910 fs/btrfs/super.c:2121
vfs_get_tree+0x92/0x2a0 fs/super.c:1754
fc_mount fs/namespace.c:1193 [inline]
do_new_mount_fc fs/namespace.c:3764 [inline]
do_new_mount+0x341/0xd30 fs/namespace.c:3840
do_mount fs/namespace.c:4173 [inline]
__do_sys_mount fs/namespace.c:4372 [inline]
__se_sys_mount+0x31d/0x420 fs/namespace.c:4349
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f817739da0a
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f817826de58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f817826dee0 RCX: 00007f817739da0a
RDX: 00002000000055c0 RSI: 0000200000000000 RDI: 00007f817826dea0
RBP: 00002000000055c0 R08: 00007f817826dee0 R09: 000000000300000a
R10: 000000000300000a R11: 0000000000000246 R12: 0000200000000000
R13: 00007f817826dea0 R14: 00000000000055a3 R15: 0000200000000080