INFO: task syz-executor.2:20362 blocked for more than 143 seconds. Not tainted 6.7.0-rc1-syzkaller-00344-g037266a5f723 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:25040 pid:20362 tgid:20340 ppid:5089 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 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:802 [inline] process_measurement+0x450/0x21c0 security/integrity/ima/ima_main.c:248 ima_file_check+0xf1/0x170 security/integrity/ima/ima_main.c:557 do_open fs/namei.c:3624 [inline] path_openat+0x2897/0x3290 fs/namei.c:3779 do_filp_open+0x234/0x490 fs/namei.c:3809 do_sys_openat2+0x13e/0x1d0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_openat fs/open.c:1471 [inline] __se_sys_openat fs/open.c:1466 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1466 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f6bf507cae9 RSP: 002b:00007f6bf5d490c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f6bf519c050 RCX: 00007f6bf507cae9 RDX: 000000000000275a RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f6bf50c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f6bf519c050 R15: 00007ffe6a487388 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 2 locks held by getty/4813: #0: ffff88814b9830a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000312b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by kworker/u4:11/8307: 5 locks held by syz-executor.3/16293: 5 locks held by syz-executor.4/16348: 6 locks held by syz-executor.5/18936: 2 locks held by syz-executor.2/20362: #0: ffff888036a2c418 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:404 #1: ffff8880344a2238 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff8880344a2238 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: process_measurement+0x450/0x21c0 security/integrity/ima/ima_main.c:248 4 locks held by syz-executor.2/20363: 2 locks held by syz-executor.2/21081: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc1-syzkaller-00344-g037266a5f723 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 18936 Comm: syz-executor.5 Not tainted 6.7.0-rc1-syzkaller-00344-g037266a5f723 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:203 Code: 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 53 48 89 fb e8 13 00 00 00 48 8b 3d 24 13 a6 0b 48 89 de 5b e9 33 02 5b 00 0f 1f 00 0f 1e fa 48 8b 04 24 65 48 8b 0d 40 3a 75 7e 65 8b 15 41 3a 75 RSP: 0018:ffffc9000935e940 EFLAGS: 00000282 RAX: 0000000000000002 RBX: 0000000080000002 RCX: 0000000000000003 RDX: ffff88808a581dc0 RSI: 0000000080000002 RDI: 0000000000000000 RBP: ffffc9000935ea20 R08: ffffffff813dcc8f R09: ffffffff813dc790 R10: 0000000000000003 R11: ffff88808a581dc0 R12: ffffc9000935ff58 R13: dffffc0000000000 R14: ffffc90009358000 R15: ffffc9000935ff60 FS: 00007f4e446fc6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f45b4b77978 CR3: 0000000021216000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x1e7c/0x29e0 arch/x86/kernel/unwind_orc.c:672 arch_stack_walk+0x146/0x1a0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4f/0x70 mm/kasan/common.c:52 __kasan_slab_alloc+0x66/0x70 mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook+0x6c/0x3c0 mm/slab.h:763 slab_alloc_node mm/slub.c:3478 [inline] slab_alloc mm/slub.c:3486 [inline] __kmem_cache_alloc_lru mm/slub.c:3493 [inline] kmem_cache_alloc+0x19e/0x2b0 mm/slub.c:3502 radix_tree_node_alloc+0x196/0x3c0 lib/radix-tree.c:253 __radix_tree_create lib/radix-tree.c:624 [inline] radix_tree_insert+0x209/0x680 lib/radix-tree.c:712 xfs_mru_cache_insert+0xfd/0x350 fs/xfs/xfs_mru_cache.c:437 xfs_filestream_create_association fs/xfs/xfs_filestream.c:322 [inline] xfs_filestream_select_ag+0x13f6/0x1cd0 fs/xfs/xfs_filestream.c:371 xfs_bmap_btalloc_filestreams fs/xfs/libxfs/xfs_bmap.c:3598 [inline] xfs_bmap_btalloc+0xffa/0x28a0 fs/xfs/libxfs/xfs_bmap.c:3712 xfs_bmapi_allocate+0x647/0xf30 xfs_bmapi_write+0xa1d/0x1980 fs/xfs/libxfs/xfs_bmap.c:4438 xfs_alloc_file_space+0x5b5/0xb10 fs/xfs/xfs_bmap_util.c:865 xfs_file_fallocate+0x9b1/0xd60 fs/xfs/xfs_file.c:1097 vfs_fallocate+0x551/0x6b0 fs/open.c:324 do_vfs_ioctl+0x22da/0x2b40 fs/ioctl.c:850 __do_sys_ioctl fs/ioctl.c:869 [inline] __se_sys_ioctl+0x81/0x170 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f4e43a7cae9 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:00007f4e446fc0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f4e43b9bf80 RCX: 00007f4e43a7cae9 RDX: 00000000200007c0 RSI: 0000000040305828 RDI: 0000000000000005 RBP: 00007f4e43ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f4e43b9bf80 R15: 00007ffd6b396788