./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2428087066 <...> Warning: Permanently added '10.128.10.14' (ED25519) to the list of known hosts. execve("./syz-executor2428087066", ["./syz-executor2428087066"], 0x7ffd1785e730 /* 10 vars */) = 0 brk(NULL) = 0x55556e4a8000 brk(0x55556e4a8d00) = 0x55556e4a8d00 arch_prctl(ARCH_SET_FS, 0x55556e4a8380) = 0 set_tid_address(0x55556e4a8650) = 5839 set_robust_list(0x55556e4a8660, 24) = 0 rseq(0x55556e4a8ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2428087066", 4096) = 28 getrandom("\xa1\x64\x96\x49\xd3\xd7\xb1\x50", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556e4a8d00 brk(0x55556e4c9d00) = 0x55556e4c9d00 brk(0x55556e4ca000) = 0x55556e4ca000 mprotect(0x7f310c239000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 executing program write(1, "executing program\n", 18) = 18 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3103c00000 write(3, "\x02\x02\x02\x02\x02\x02\x02\x02\x74\x68\x69\x73\x20\x69\x73\x20\x61\x6e\x20\x6f\x63\x66\x73\x32\x20\x76\x6f\x6c\x75\x6d\x65\x00\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"..., 16777216) = 16777216 munmap(0x7f3103c00000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 close(4) = 0 mkdir("./file1", 0777) = 0 [ 55.841369][ T5839] loop0: detected capacity change from 0 to 32768 [ 55.899659][ T5839] (syz-executor242,5839,1):ocfs2_read_locked_inode:536 ERROR: bug expression: !!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) != !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE) [ 55.916743][ T5839] (syz-executor242,5839,1):ocfs2_read_locked_inode:536 ERROR: Inode 21: system file state is ambiguous [ 55.929049][ T5839] ------------[ cut here ]------------ [ 55.934580][ T5839] kernel BUG at fs/ocfs2/inode.c:536! [ 55.940009][ T5839] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 55.946972][ T5839] CPU: 1 UID: 0 PID: 5839 Comm: syz-executor242 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0 [ 55.957719][ T5839] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 55.967767][ T5839] RIP: 0010:ocfs2_iget+0x2086/0x2180 [ 55.973073][ T5839] Code: 00 e8 ee dd 7b fe 4c 8b 84 24 c0 01 00 00 4c 89 ff 48 c7 c6 71 a8 11 8e ba 18 02 00 00 48 c7 c1 c0 d8 48 8c e8 7b ca 16 00 90 <0f> 0b e8 c3 26 14 fe 90 0f 0b e8 bb 26 14 fe 31 db 65 ff 0d 7a 1b [ 55.992671][ T5839] RSP: 0018:ffffc90003e06e60 EFLAGS: 00010246 [ 55.998733][ T5839] RAX: 56fdd8a2985ace00 RBX: ffffc90003e06fc0 RCX: 56fdd8a2985ace00 [ 56.006691][ T5839] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 56.014654][ T5839] RBP: ffffc90003e070f0 R08: ffffffff8175714c R09: 1ffff920007c0d3c [ 56.022614][ T5839] R10: dffffc0000000000 R11: fffff520007c0d3d R12: dffffc0000000000 [ 56.030575][ T5839] R13: ffff888072dc3338 R14: 1000000000000000 R15: ffffc90003e06fe0 [ 56.038534][ T5839] FS: 000055556e4a8380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 56.047453][ T5839] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 56.054025][ T5839] CR2: 00005635b26faec0 CR3: 00000000773da000 CR4: 00000000003526f0 [ 56.061993][ T5839] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 56.069958][ T5839] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 56.077920][ T5839] Call Trace: [ 56.081194][ T5839] [ 56.084118][ T5839] ? __die_body+0x5f/0xb0 [ 56.088437][ T5839] ? die+0x9e/0xc0 [ 56.092147][ T5839] ? do_trap+0x15a/0x3a0 [ 56.096382][ T5839] ? ocfs2_iget+0x2086/0x2180 [ 56.101064][ T5839] ? do_error_trap+0x1dc/0x2c0 [ 56.105822][ T5839] ? ocfs2_iget+0x2086/0x2180 [ 56.110487][ T5839] ? __pfx_wake_bit_function+0x10/0x10 [ 56.115935][ T5839] ? __pfx_do_error_trap+0x10/0x10 [ 56.121060][ T5839] ? handle_invalid_op+0x34/0x40 [ 56.125999][ T5839] ? ocfs2_iget+0x2086/0x2180 [ 56.130664][ T5839] ? exc_invalid_op+0x38/0x50 [ 56.135339][ T5839] ? asm_exc_invalid_op+0x1a/0x20 [ 56.140353][ T5839] ? __wake_up_klogd+0xcc/0x110 [ 56.145201][ T5839] ? ocfs2_iget+0x2086/0x2180 [ 56.149875][ T5839] ? __pfx_format_decode+0x10/0x10 [ 56.154976][ T5839] ? __pfx_ocfs2_iget+0x10/0x10 [ 56.159815][ T5839] ? vsnprintf+0x1ccd/0x1da0 [ 56.164398][ T5839] ? ocfs2_find_files_on_disk+0x11a/0x360 [ 56.170112][ T5839] ? ocfs2_lookup_ino_from_name+0x18b/0x1e0 [ 56.176004][ T5839] ocfs2_get_system_file_inode+0x352/0x7b0 [ 56.181811][ T5839] ? __pfx_ocfs2_get_system_file_inode+0x10/0x10 [ 56.188133][ T5839] ? _atomic_dec_and_lock+0x9a/0x130 [ 56.193414][ T5839] ? iput+0x3be/0xa50 [ 56.197390][ T5839] ocfs2_init_global_system_inodes+0x32c/0x730 [ 56.203541][ T5839] ? __pfx_ocfs2_init_global_system_inodes+0x10/0x10 [ 56.210211][ T5839] ? __kmalloc_cache_noprof+0x19c/0x2c0 [ 56.215749][ T5839] ? ocfs2_new_dlm_debug+0xb5/0x200 [ 56.220943][ T5839] ? __pfx_ocfs2_new_dlm_debug+0x10/0x10 [ 56.226565][ T5839] ? rcu_is_watching+0x15/0xb0 [ 56.231320][ T5839] ? trace_ocfs2_initialize_super+0x9e/0x230 [ 56.237295][ T5839] ocfs2_fill_super+0x2f5b/0x5760 [ 56.242320][ T5839] ? __pfx_ocfs2_fill_super+0x10/0x10 [ 56.247690][ T5839] ? __pfx_validate_chain+0x10/0x10 [ 56.252878][ T5839] ? __pfx_validate_chain+0x10/0x10 [ 56.258075][ T5839] ? validate_chain+0x11e/0x5920 [ 56.263005][ T5839] ? mark_lock+0x9a/0x360 [ 56.267329][ T5839] ? __pfx_validate_chain+0x10/0x10 [ 56.272522][ T5839] ? string+0x26a/0x2b0 [ 56.276667][ T5839] ? widen_string+0x3a/0x310 [ 56.281248][ T5839] ? string+0x26a/0x2b0 [ 56.285396][ T5839] ? bdev_name+0x2b1/0x3c0 [ 56.289802][ T5839] ? pointer+0x703/0x1210 [ 56.294125][ T5839] ? __pfx_pointer+0x10/0x10 [ 56.298704][ T5839] ? __pfx_format_decode+0x10/0x10 [ 56.303806][ T5839] ? __lock_acquire+0x1397/0x2100 [ 56.308820][ T5839] ? vsnprintf+0x1ccd/0x1da0 [ 56.313405][ T5839] ? snprintf+0xda/0x120 [ 56.317638][ T5839] ? __pfx_lock_release+0x10/0x10 [ 56.322649][ T5839] ? do_raw_spin_lock+0x14f/0x370 [ 56.327665][ T5839] ? __pfx_snprintf+0x10/0x10 [ 56.332335][ T5839] ? set_blocksize+0x1f9/0x360 [ 56.337090][ T5839] ? sb_set_blocksize+0x98/0xf0 [ 56.341933][ T5839] ? setup_bdev_super+0x4e6/0x5d0 [ 56.346951][ T5839] mount_bdev+0x20a/0x2d0 [ 56.351278][ T5839] ? __pfx_ocfs2_fill_super+0x10/0x10 [ 56.356643][ T5839] ? __pfx_mount_bdev+0x10/0x10 [ 56.361486][ T5839] ? vfs_parse_fs_string+0x190/0x230 [ 56.366769][ T5839] ? __pfx_vfs_parse_fs_string+0x10/0x10 [ 56.372394][ T5839] legacy_get_tree+0xee/0x190 [ 56.377088][ T5839] ? __pfx_ocfs2_mount+0x10/0x10 [ 56.382047][ T5839] vfs_get_tree+0x90/0x2b0 [ 56.386463][ T5839] do_new_mount+0x2be/0xb40 [ 56.390956][ T5839] ? __pfx_do_new_mount+0x10/0x10 [ 56.396060][ T5839] __se_sys_mount+0x2d6/0x3c0 [ 56.400728][ T5839] ? __pfx___se_sys_mount+0x10/0x10 [ 56.405921][ T5839] ? do_syscall_64+0x100/0x230 [ 56.410673][ T5839] ? __x64_sys_mount+0x20/0xc0 [ 56.415426][ T5839] do_syscall_64+0xf3/0x230 [ 56.419924][ T5839] ? clear_bhb_loop+0x35/0x90 [ 56.424590][ T5839] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 56.430478][ T5839] RIP: 0033:0x7f310c1c3c3a [ 56.434894][ T5839] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 56.454496][ T5839] RSP: 002b:00007ffd4f2f5b08 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 56.462901][ T5839] RAX: ffffffffffffffda RBX: 00007ffd4f2f5b20 RCX: 00007f310c1c3c3a [ 56.470866][ T5839] RDX: 0000000020004480 RSI: 00000000200044c0 RDI: 00007ffd4f2f5b20 [ 56.478827][ T5839] RBP: 0000000000000004 R08: 00007ffd4f2f5b60 R09: 000000000000447e [ 56.486790][ T5839] R10: 0000000002800000 R11: 0000000000000282 R12: 0000000002800000 [ 56.494751][ T5839] R13: 00007ffd4f2f5b60 R14: 0000000000000003 R15: 0000000001000000 [ 56.502716][ T5839] [ 56.505723][ T5839] Modules linked in: [ 56.509729][ T5839] ---[ end trace 0000000000000000 ]--- [ 56.515296][ T5839] RIP: 0010:ocfs2_iget+0x2086/0x2180 [ 56.520594][ T5839] Code: 00 e8 ee dd 7b fe 4c 8b 84 24 c0 01 00 00 4c 89 ff 48 c7 c6 71 a8 11 8e ba 18 02 00 00 48 c7 c1 c0 d8 48 8c e8 7b ca 16 00 90 <0f> 0b e8 c3 26 14 fe 90 0f 0b e8 bb 26 14 fe 31 db 65 ff 0d 7a 1b [ 56.540264][ T5839] RSP: 0018:ffffc90003e06e60 EFLAGS: 00010246 [ 56.546603][ T5839] RAX: 56fdd8a2985ace00 RBX: ffffc90003e06fc0 RCX: 56fdd8a2985ace00 [ 56.554596][ T5839] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 56.562607][ T5839] RBP: ffffc90003e070f0 R08: ffffffff8175714c R09: 1ffff920007c0d3c [ 56.570571][ T5839] R10: dffffc0000000000 R11: fffff520007c0d3d R12: dffffc0000000000 [ 56.578575][ T5839] R13: ffff888072dc3338 R14: 1000000000000000 R15: ffffc90003e06fe0 [ 56.586585][ T5839] FS: 000055556e4a8380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 56.595550][ T5839] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 56.602141][ T5839] CR2: 00005635b26faec0 CR3: 00000000773da000 CR4: 00000000003526f0 [ 56.610156][ T5839] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 56.618215][ T5839] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 56.626470][ T5839] Kernel panic - not syncing: Fatal exception [ 56.632777][ T5839] Kernel Offset: disabled [ 56.637088][ T5839] Rebooting in 86400 seconds..