audit: type=1804 audit(1678010156.312:659): pid=14431 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir1855869304/syzkaller.AG65IQ/103/bus" dev="sda1" ino=14157 res=1 audit: type=1800 audit(1678010156.312:660): pid=14431 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.5" name="bus" dev="sda1" ino=14157 res=0 INFO: task syz-executor.5:10047 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D23568 10047 6535 0x00000004 Call Trace: BTRFS error (device loop3): superblock checksum mismatch BTRFS error (device loop3): open_ctree failed context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] process_measurement+0x926/0x1440 security/integrity/ima/ima_main.c:205 ima_file_check+0xb9/0x100 security/integrity/ima/ima_main.c:391 do_last fs/namei.c:3425 [inline] path_openat+0x7e4/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe f2fs_msg: 907 callbacks suppressed F2FS-fs (loop5): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 RIP: 0033:0x7fe24af270f9 Code: Bad RIP value. RSP: 002b:00007fe245057168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 F2FS-fs (loop5): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 F2FS-fs (loop5): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 F2FS-fs (loop5): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 RAX: ffffffffffffffda RBX: 00007fe24b047120 RCX: 00007fe24af270f9 F2FS-fs (loop5): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 UDF-fs: warning (device loop4): udf_fill_super: No fileset found RBP: 00007fe24af82ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdf8239a8f R14: 00007fe245057300 R15: 0000000000022000 F2FS-fs (loop5): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 INFO: task syz-executor.5:10048 blocked for more than 140 seconds. F2FS-fs (loop5): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D27120 10048 6535 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1016 [inline] __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078 F2FS-fs (loop5): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 f2fs_setattr+0x5b6/0x12b0 fs/f2fs/file.c:852 F2FS-fs (loop5): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 F2FS-fs (loop5): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 notify_change+0x70b/0xfc0 fs/attr.c:334 do_truncate+0x134/0x1f0 fs/open.c:63 handle_truncate fs/namei.c:3009 [inline] do_last fs/namei.c:3427 [inline] path_openat+0x2308/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 UDF-fs: warning (device loop4): udf_fill_super: No fileset found do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fe24af270f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe245036168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fe24b0471f0 RCX: 00007fe24af270f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 UDF-fs: warning (device loop4): udf_fill_super: No fileset found RBP: 00007fe24af82ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdf8239a8f R14: 00007fe245036300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by systemd/1: 1 lock held by ksoftirqd/1/18: 1 lock held by khungtaskd/1570: #0: 00000000d15087eb (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 4 locks held by kworker/u4:4/2927: #0: 00000000fcf90c31 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000003f6b017c ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 000000000a90c3b2 (&type->s_umount_key#95){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 00000000997d1258 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 1 lock held by in:imklog/7804: #0: 000000004d0b6fa9 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 4 locks held by syz-executor.5/10025: 2 locks held by syz-executor.5/10047: #0: 00000000f2a077fe (sb_writers#29){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000f2a077fe (sb_writers#29){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000030579c27 (&sb->s_type->i_mutex_key#33){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000030579c27 (&sb->s_type->i_mutex_key#33){+.+.}, at: process_measurement+0x926/0x1440 security/integrity/ima/ima_main.c:205 3 locks held by syz-executor.5/10048: #0: 00000000f2a077fe (sb_writers#29){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000f2a077fe (sb_writers#29){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000030579c27 (&sb->s_type->i_mutex_key#33){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000030579c27 (&sb->s_type->i_mutex_key#33){+.+.}, at: do_truncate+0x125/0x1f0 fs/open.c:61 #2: 00000000997d1258 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 1 lock held by syz-executor.2/14466: 1 lock held by syz-executor.1/14472: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14472 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:trace_skb_copy_datagram_iovec include/trace/events/skb.h:54 [inline] RIP: 0010:skb_copy_datagram_iter+0x866/0x9e0 net/core/datagram.c:425 Code: ee e8 0e 11 f0 fa 45 85 ed 0f 84 9c fb ff ff e9 7b fc ff ff e8 8b 0f f0 fa 0f 0b e9 6b f8 ff ff e8 7f 0f f0 fa e8 6a 3b de fa <31> ff 41 89 c4 89 c6 e8 de 10 f0 fa 45 85 e4 0f 85 7a ff ff ff e8 RSP: 0018:ffff88801e18f828 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 00000000ffffffff RDI: 0000000000000286 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f3d0d0b7700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002035c030 CR3: 000000009a372000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_copy_datagram_msg include/linux/skbuff.h:3347 [inline] unix_dgram_recvmsg+0x3b7/0xdb0 net/unix/af_unix.c:2180 ___sys_recvmsg+0x255/0x570 net/socket.c:2389 __sys_recvmmsg+0x254/0x6d0 net/socket.c:2501 do_sys_recvmmsg+0x172/0x190 net/socket.c:2577 __do_sys_recvmmsg net/socket.c:2595 [inline] __se_sys_recvmmsg net/socket.c:2591 [inline] __x64_sys_recvmmsg+0xba/0x150 net/socket.c:2591 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f3d0eb870f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3d0d0b7168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f3d0eca7120 RCX: 00007f3d0eb870f9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f3d0ebe2ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd1d5dc02f R14: 00007f3d0d0b7300 R15: 0000000000022000