INFO: task syz-executor.3:32516 blocked for more than 143 seconds. Not tainted 5.11.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:29248 pid:32516 ppid: 8743 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:4313 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5064 schedule+0xcf/0x270 kernel/sched/core.c:5143 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x132/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] vfs_setxattr+0x117/0x320 fs/xattr.c:290 setxattr+0x1ff/0x290 fs/xattr.c:553 path_setxattr+0x170/0x190 fs/xattr.c:572 __do_sys_setxattr fs/xattr.c:587 [inline] __se_sys_setxattr fs/xattr.c:583 [inline] __ia32_sys_setxattr+0xbc/0x150 fs/xattr.c:583 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f04549 RSP: 002b:00000000f54dd0cc EFLAGS: 00000296 ORIG_RAX: 00000000000000e2 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000020000040 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.3:32534 blocked for more than 143 seconds. Not tainted 5.11.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27280 pid:32534 ppid: 8743 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:4313 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5064 schedule+0xcf/0x270 kernel/sched/core.c:5143 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x132/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2195 do_new_mount_fc fs/namespace.c:2821 [inline] do_new_mount fs/namespace.c:2880 [inline] path_mount+0x1787/0x20c0 fs/namespace.c:3208 do_mount fs/namespace.c:3221 [inline] __do_sys_mount fs/namespace.c:3429 [inline] __se_sys_mount fs/namespace.c:3406 [inline] __ia32_sys_mount+0x27e/0x300 fs/namespace.c:3406 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f04549 RSP: 002b:00000000f549b0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000200042c0 RDX: 0000000020002000 RSI: 0000000000000000 RDI: 00000000200021c0 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.3:32536 blocked for more than 144 seconds. Not tainted 5.11.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28944 pid:32536 ppid: 8743 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4313 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5064 schedule+0xcf/0x270 kernel/sched/core.c:5143 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x132/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] vfs_setxattr+0x117/0x320 fs/xattr.c:290 setxattr+0x1ff/0x290 fs/xattr.c:553 path_setxattr+0x170/0x190 fs/xattr.c:572 __do_sys_setxattr fs/xattr.c:587 [inline] __se_sys_setxattr fs/xattr.c:583 [inline] __ia32_sys_setxattr+0xbc/0x150 fs/xattr.c:583 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f04549 RSP: 002b:00000000f547a0cc EFLAGS: 00000296 ORIG_RAX: 00000000000000e2 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000020000040 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/1579: #0: ffffffff8b363860 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6254 1 lock held by in:imklog/8166: #0: ffff88801dde79f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 3 locks held by syz-executor.3/32510: 2 locks held by syz-executor.3/32516: #0: ffff88802ac30460 (sb_writers#14){.+.+}-{0:0}, at: path_setxattr+0xb5/0x190 fs/xattr.c:570 #1: ffff88806a083e10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff88806a083e10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: vfs_setxattr+0x117/0x320 fs/xattr.c:290 1 lock held by syz-executor.3/32534: #0: ffff88806a083e10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff88806a083e10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2195 2 locks held by syz-executor.3/32536: #0: ffff88802ac30460 (sb_writers#14){.+.+}-{0:0}, at: path_setxattr+0xb5/0x190 fs/xattr.c:570 #1: ffff88806a083e10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff88806a083e10 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: vfs_setxattr+0x117/0x320 fs/xattr.c:290 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1579 Comm: khungtaskd Not tainted 5.11.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd43/0xfa0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4895 Comm: systemd-journal Not tainted 5.11.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:write_comp_data kernel/kcov.c:218 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x1d/0x80 kernel/kcov.c:270 Code: 54 c8 20 48 89 10 c3 66 0f 1f 44 00 00 53 41 89 fb 41 89 f1 bf 03 00 00 00 65 48 8b 0c 25 00 f0 01 00 48 89 ce 4c 8b 54 24 08 3e f1 ff ff 84 c0 74 51 48 8b 81 b0 14 00 00 44 8b 81 ac 14 00 RSP: 0018:ffffc9000151fc48 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88801179c280 RCX: ffff888012231bc0 RDX: ffff888012231bc0 RSI: ffff888012231bc0 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff838b76cc R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880101fcab0 R14: ffff88801153f1c0 R15: 0000000000000001 FS: 00007f67e05268c0(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f67ddb40000 CR3: 00000000110b7000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:649 [inline] aa_file_perm+0x17c/0x1100 security/apparmor/file.c:609 common_file_perm security/apparmor/lsm.c:466 [inline] apparmor_file_permission+0x163/0x4e0 security/apparmor/lsm.c:480 security_file_permission+0x56/0x560 security/security.c:1448 rw_verify_area+0x115/0x350 fs/read_write.c:400 vfs_read+0x126/0x570 fs/read_write.c:487 ksys_read+0x12d/0x250 fs/read_write.c:634 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f67dfab6210 Code: 73 01 c3 48 8b 0d 98 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d b9 c1 20 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24 RSP: 002b:00007ffebfe1dcb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007ffebfe20730 RCX: 00007f67dfab6210 RDX: 0000000000002000 RSI: 00007ffebfe1e530 RDI: 0000000000000009 RBP: 0000000000000000 R08: 0000000000000008 R09: 00007ffebff550f0 R10: 0000000000035c7e R11: 0000000000000246 R12: 00007ffebfe1e530 R13: 00007ffebfe20688 R14: 000055d9c3b2f958 R15: 0005b83fa2773ea1