INFO: task syz-executor.1:6348 blocked for more than 143 seconds. Not tainted 6.6.0-syzkaller-16159-g3ca112b71f35 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28400 pid:6348 tgid:6333 ppid:14165 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee2/0x59a0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0xf0/0x470 kernel/locking/rwsem.c:1528 __super_lock fs/super.c:58 [inline] super_lock+0x23c/0x380 fs/super.c:117 super_lock_shared fs/super.c:146 [inline] bdev_super_lock_shared+0xe4/0x450 fs/super.c:1447 fs_bdev_sync+0x15/0x40 fs/super.c:1483 blkdev_flushbuf block/ioctl.c:372 [inline] blkdev_common_ioctl+0x1550/0x1ce0 block/ioctl.c:505 blkdev_ioctl+0x249/0x770 block/ioctl.c:627 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f2dee27cae9 RSP: 002b:00007f2def03b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f2dee39bf80 RCX: 00007f2dee27cae9 RDX: 0000000000000000 RSI: 0000000000001261 RDI: 0000000000000003 RBP: 00007f2dee2c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2dee39bf80 R15: 00007ffed78ec648 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cfacfe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfacfe0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfacfe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by getty/4823: #0: ffff88814cc880a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 2 locks held by kworker/0:9/5170: #0: ffff888013072938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc900049dfd80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 1 lock held by syz-executor.3/13541: 1 lock held by syz-executor.1/13618: 1 lock held by syz-executor.1/6348: #0: ffff888068a6e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888068a6e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x23c/0x380 fs/super.c:117 2 locks held by syz-executor.2/24439: #0: ffff8880669eac10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff8880669eac10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x260 net/socket.c:658 #1: ffffffff8cfb8a38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8cfb8a38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x69e/0x7e0 kernel/rcu/tree_exp.h:996 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-syzkaller-16159-g3ca112b71f35 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4524 Comm: udevd Not tainted 6.6.0-syzkaller-16159-g3ca112b71f35 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200 Code: e6 a9 dc 02 66 0f 1f 44 00 00 f3 0f 1e fa 48 8b be b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1e fa 65 48 8b 14 25 c0 bc 03 00 65 8b 05 d4 17 7b 7e a9 00 RSP: 0018:ffffc90003157568 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff8f9b3d50 RCX: ffffffff813a6be4 RDX: ffff888064859dc0 RSI: ffffffff813a6b90 RDI: 0000000000000006 RBP: ffffffff8f9b3d50 R08: 0000000000000006 R09: ffffffff8aa0008a R10: ffffffff8aa00041 R11: 0000000000000000 R12: ffffffff8aa0008a R13: ffffffff8aa00041 R14: dffffc0000000000 R15: ffffffff8f9b3d4c FS: 00007f3af9784c80(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000029ed5000 CR4: 0000000000350ef0 Call Trace: __orc_find+0x7a/0x130 arch/x86/kernel/unwind_orc.c:100 orc_find arch/x86/kernel/unwind_orc.c:227 [inline] unwind_next_frame+0x329/0x2390 arch/x86/kernel/unwind_orc.c:494 arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:164 [inline] slab_free_hook mm/slub.c:1800 [inline] slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826 slab_free mm/slub.c:3809 [inline] __kmem_cache_free+0xc0/0x180 mm/slub.c:3822 tomoyo_realpath_from_path+0x1a6/0x710 security/tomoyo/realpath.c:286 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x26f/0x450 security/tomoyo/file.c:822 security_inode_getattr+0xf1/0x150 security/security.c:2153 vfs_getattr fs/stat.c:169 [inline] vfs_fstat+0x4f/0xc0 fs/stat.c:194 vfs_fstatat+0x130/0x140 fs/stat.c:291 __do_sys_newfstatat+0x98/0x110 fs/stat.c:459 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f3af93165f4 Code: 64 c7 00 09 00 00 00 83 c8 ff c3 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 00 00 00 00 41 89 ca b8 06 01 00 00 0f 05 <45> 31 c0 3d 00 f0 ff ff 76 10 48 8b 15 03 a8 0d 00 f7 d8 41 83 c8 RSP: 002b:00007fff9752f548 EFLAGS: 00000202 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 000055a700c38510 RCX: 00007f3af93165f4 RDX: 00007fff9752f560 RSI: 00007f3af93b3130 RDI: 000000000000000d RBP: 000055a700c8ab80 R08: 0000000000090800 R09: 000055a700c14460 R10: 0000000000001000 R11: 0000000000000202 R12: 00007fff9752f560 R13: 00000000000000ff R14: 000055a6ff1761c4 R15: 0000000000000000