INFO: task syz-executor.3:8914 blocked for more than 143 seconds. Not tainted 5.17.0-rc5-syzkaller-00041-g73878e5eb1bd #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28624 pid: 8914 ppid: 3610 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0x926/0x1080 kernel/sched/core.c:6304 schedule+0x12b/0x1f0 kernel/sched/core.c:6377 rwsem_down_write_slowpath+0xdb7/0x1480 kernel/locking/rwsem.c:1142 __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1268 [inline] down_write+0x163/0x170 kernel/locking/rwsem.c:1515 inode_lock include/linux/fs.h:777 [inline] chown_common+0x4fd/0x820 fs/open.c:677 do_fchownat+0x165/0x240 fs/open.c:711 __do_sys_chown fs/open.c:731 [inline] __se_sys_chown fs/open.c:729 [inline] __x64_sys_chown+0x7e/0x90 fs/open.c:729 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f24a485b059 RSP: 002b:00007f24a31af168 EFLAGS: 00000246 ORIG_RAX: 000000000000005c RAX: ffffffffffffffda RBX: 00007f24a496e030 RCX: 00007f24a485b059 RDX: 000000000000ee00 RSI: 000000000000ee00 RDI: 0000000020000040 RBP: 00007f24a48b508d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff1277e54f R14: 00007f24a31af300 R15: 0000000000022000 INFO: task syz-executor.4:8915 blocked for more than 143 seconds. Not tainted 5.17.0-rc5-syzkaller-00041-g73878e5eb1bd #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28624 pid: 8915 ppid: 3608 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0x926/0x1080 kernel/sched/core.c:6304 schedule+0x12b/0x1f0 kernel/sched/core.c:6377 rwsem_down_write_slowpath+0xdb7/0x1480 kernel/locking/rwsem.c:1142 __down_write_common kernel/locking/rwsem.c:1259 [inline] __down_write kernel/locking/rwsem.c:1268 [inline] down_write+0x163/0x170 kernel/locking/rwsem.c:1515 inode_lock include/linux/fs.h:777 [inline] chown_common+0x4fd/0x820 fs/open.c:677 do_fchownat+0x165/0x240 fs/open.c:711 __do_sys_chown fs/open.c:731 [inline] __se_sys_chown fs/open.c:729 [inline] __x64_sys_chown+0x7e/0x90 fs/open.c:729 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fce86c12059 RSP: 002b:00007fce85566168 EFLAGS: 00000246 ORIG_RAX: 000000000000005c RAX: ffffffffffffffda RBX: 00007fce86d25030 RCX: 00007fce86c12059 RDX: 000000000000ee00 RSI: 000000000000ee00 RDI: 0000000020000040 RBP: 00007fce86c6c08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc579f7f7f R14: 00007fce85566300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8cb1d460 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by khugepaged/33: 3 locks held by kworker/u4:5/1027: 2 locks held by getty/3271: #0: ffff888023e27098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2075 1 lock held by kworker/0:3/3316: #0: ffff8880b9a39798 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:489 4 locks held by kworker/1:4/3648: 2 locks held by syz-executor.3/8912: #0: ffff888019bc6d70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:1034 #1: ffff88804ee707d0 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: iterate_dir+0x124/0x640 fs/readdir.c:55 2 locks held by syz-executor.3/8914: #0: ffff88805d8fe460 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88804ee707d0 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #1: ffff88804ee707d0 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: chown_common+0x4fd/0x820 fs/open.c:677 2 locks held by syz-executor.4/8913: 2 locks held by syz-executor.4/8915: #0: ffff88807c746460 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88804ee70208 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #1: ffff88804ee70208 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: chown_common+0x4fd/0x820 fs/open.c:677 2 locks held by syz-executor.0/9114: #0: ffff8880196c6ff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:1034 #1: ffff88804ee70d98 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: iterate_dir+0x124/0x640 fs/readdir.c:55 2 locks held by syz-executor.0/9117: #0: ffff88807aaa4460 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88804ee70d98 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #1: ffff88804ee70d98 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: chown_common+0x4fd/0x820 fs/open.c:677 2 locks held by syz-executor.1/9160: #0: ffff88801d2aad70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:1034 #1: ffff88804ee71928 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: iterate_dir+0x124/0x640 fs/readdir.c:55 2 locks held by syz-executor.1/9161: #0: ffff88807bc6a460 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88804ee71928 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #1: ffff88804ee71928 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: chown_common+0x4fd/0x820 fs/open.c:677 2 locks held by syz-executor.2/9163: #0: ffff88807586c5f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:1034 #1: ffff88804ed39360 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: iterate_dir+0x124/0x640 fs/readdir.c:55 2 locks held by syz-executor.2/9164: #0: ffff88805e404460 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88804ed39360 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #1: ffff88804ed39360 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: chown_common+0x4fd/0x820 fs/open.c:677 2 locks held by syz-executor.5/9273: #0: ffff88801dce4870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:1034 #1: ffff88804ed39928 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: iterate_dir+0x124/0x640 fs/readdir.c:55 2 locks held by syz-executor.5/9275: #0: ffff88807b054460 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377 #1: ffff88804ed39928 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline] #1: ffff88804ed39928 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: chown_common+0x4fd/0x820 fs/open.c:677 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc5-syzkaller-00041-g73878e5eb1bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:369 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3715 Comm: kworker/1:6 Not tainted 5.17.0-rc5-syzkaller-00041-g73878e5eb1bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events free_obj_work RIP: 0010:kasan_quarantine_put+0x17/0x230 Code: e8 2e 34 4d 08 31 c0 48 83 c4 08 5b 41 5e c3 cc cc cc cc 41 57 41 56 41 55 41 54 53 50 49 89 fe e8 1e ce ff ff 48 85 c0 74 6b <48> 89 c3 48 c7 04 24 00 00 00 00 9c 8f 04 24 4c 8b 3c 24 fa 41 f7 RSP: 0018:ffffc90002b6fa38 EFLAGS: 00000282 RAX: ffff88801f83e1f8 RBX: ffff88801144f8c0 RCX: 0000000000000000 RDX: ffff88801f83e1f8 RSI: ffff88801f83e1f8 RDI: ffff88801144f8c0 RBP: ffff88801f83e1f8 R08: 000000000000000a R09: ffffc90002b6f750 R10: fffff5200056ded8 R11: 0000000000000000 R12: 0000000000000000 R13: ffffc90002b6fac8 R14: ffff88801144f8c0 R15: ffffc90002b6fad0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c003a7d000 CR3: 000000005d881000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_slab_free include/linux/kasan.h:236 [inline] slab_free_hook mm/slub.c:1728 [inline] slab_free_freelist_hook+0x12e/0x1a0 mm/slub.c:1754 slab_free mm/slub.c:3509 [inline] kmem_cache_free+0xb6/0x1c0 mm/slub.c:3526 free_obj_work+0x4d8/0x680 lib/debugobjects.c:338 process_one_work+0x86c/0x1190 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: e8 2e 34 4d 08 callq 0x84d3433 5: 31 c0 xor %eax,%eax 7: 48 83 c4 08 add $0x8,%rsp b: 5b pop %rbx c: 41 5e pop %r14 e: c3 retq f: cc int3 10: cc int3 11: cc int3 12: cc int3 13: 41 57 push %r15 15: 41 56 push %r14 17: 41 55 push %r13 19: 41 54 push %r12 1b: 53 push %rbx 1c: 50 push %rax 1d: 49 89 fe mov %rdi,%r14 20: e8 1e ce ff ff callq 0xffffce43 25: 48 85 c0 test %rax,%rax 28: 74 6b je 0x95 * 2a: 48 89 c3 mov %rax,%rbx <-- trapping instruction 2d: 48 c7 04 24 00 00 00 movq $0x0,(%rsp) 34: 00 35: 9c pushfq 36: 8f 04 24 popq (%rsp) 39: 4c 8b 3c 24 mov (%rsp),%r15 3d: fa cli 3e: 41 rex.B 3f: f7 .byte 0xf7