./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1390135035 <...> Warning: Permanently added '10.128.1.145' (ECDSA) to the list of known hosts. execve("./syz-executor1390135035", ["./syz-executor1390135035"], 0x7ffdec038dd0 /* 10 vars */) = 0 brk(NULL) = 0x55555663d000 brk(0x55555663dd40) = 0x55555663dd40 arch_prctl(ARCH_SET_FS, 0x55555663d400) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 set_tid_address(0x55555663d6d0) = 3628 set_robust_list(0x55555663d6e0, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7f79d9d9d400, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f79d9d9c950}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f79d9d9d4a0, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f79d9d9c950}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1390135035", 4096) = 28 brk(0x55555665ed40) = 0x55555665ed40 brk(0x55555665f000) = 0x55555665f000 mprotect(0x7f79d9e5e000, 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 rt_sigaction(SIGRTMIN, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, NULL, 8) = 0 rt_sigaction(SIGSEGV, {sa_handler=0x7f79d9d972b0, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7f79d9d9c950}, NULL, 8) = 0 rt_sigaction(SIGBUS, {sa_handler=0x7f79d9d972b0, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7f79d9d9c950}, NULL, 8) = 0 futex(0x7f79d9e646ec, FUTEX_WAKE_PRIVATE, 1000000) = 0 mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f79d9d6c000 mprotect(0x7f79d9d6d000, 131072, PROT_READ|PROT_WRITE) = 0 clone(child_stack=0x7f79d9d8c2f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[3629], tls=0x7f79d9d8c700, child_tidptr=0x7f79d9d8c9d0) = 3629 futex(0x7f79d9e646e8, FUTEX_WAKE_PRIVATE, 1000000) = 0 futex(0x7f79d9e646ec, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 3629 attached [pid 3629] set_robust_list(0x7f79d9d8c9e0, 24) = 0 [pid 3629] memfd_create("syzkaller", 0) = 3 [pid 3629] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79d196c000 [pid 3629] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 1048576) = 1048576 [pid 3629] munmap(0x7f79d196c000, 1048576) = 0 [pid 3629] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 3629] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 3629] close(3) = 0 [pid 3629] mkdir("./file0", 0777) = 0 [pid 3629] mount("/dev/loop0", "./file0", "ext4", MS_DIRSYNC|MS_NOATIME|MS_LAZYTIME, ",errors=continue") = 0 [pid 3629] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 3629] chdir("./file0") = 0 [pid 3629] ioctl(4, LOOP_CLR_FD) = 0 [pid 3629] close(4) = 0 [pid 3629] futex(0x7f79d9e646ec, FUTEX_WAKE_PRIVATE, 1000000 [pid 3628] <... futex resumed>) = 0 [pid 3628] futex(0x7f79d9e646e8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 3628] futex(0x7f79d9e646ec, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 3629] <... futex resumed>) = 1 [pid 3629] open("./bus", O_RDWR|O_CREAT|O_TRUNC|O_SYNC|O_LARGEFILE|O_NOFOLLOW|O_NOATIME|0x29800030, 000) = 4 [pid 3629] futex(0x7f79d9e646ec, FUTEX_WAKE_PRIVATE, 1000000 [pid 3628] <... futex resumed>) = 0 [pid 3628] futex(0x7f79d9e646e8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 3628] futex(0x7f79d9e646ec, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 3629] <... futex resumed>) = 1 [pid 3629] write(4, "#! ./bus\n", 9) = 9 [pid 3629] futex(0x7f79d9e646ec, FUTEX_WAKE_PRIVATE, 1000000 [pid 3628] <... futex resumed>) = 0 [pid 3628] futex(0x7f79d9e646e8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 3628] futex(0x7f79d9e646ec, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 3629] <... futex resumed>) = 1 [pid 3629] open("./bus", O_RDWR) = 5 [pid 3629] futex(0x7f79d9e646ec, FUTEX_WAKE_PRIVATE, 1000000 [pid 3628] <... futex resumed>) = 0 [pid 3628] futex(0x7f79d9e646e8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 3628] futex(0x7f79d9e646ec, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 3629] <... futex resumed>) = 1 [pid 3629] mmap(0x20000000, 6291456, PROT_WRITE|PROT_EXEC|PROT_SEM|0x7ffff0, MAP_SHARED|MAP_FIXED|MAP_LOCKED|1< [pid 3628] <... futex resumed>) = 0 [pid 3628] futex(0x7f79d9e646e8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 3628] futex(0x7f79d9e646fc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 3628] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f79d1a4b000 [pid 3628] mprotect(0x7f79d1a4c000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 3628] clone(child_stack=0x7f79d1a6b2f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[3634], tls=0x7f79d1a6b700, child_tidptr=0x7f79d1a6b9d0) = 3634 [pid 3628] futex(0x7f79d9e646f8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 3628] futex(0x7f79d9e646fc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 3629] <... futex resumed>) = 1 syzkaller login: [ 45.591313][ T3629] loop0: detected capacity change from 0 to 2048 [ 45.620575][ T3629] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: none. ./strace-static-x86_64: Process 3634 attached [pid 3634] set_robust_list(0x7f79d1a6b9e0, 24) = 0 [pid 3629] --- SIGBUS {si_signo=SIGBUS, si_code=BUS_ADRERR, si_addr=0x20000f82} --- [pid 3634] openat(4, 0x20000040, O_WRONLY|O_CREAT|O_APPEND|O_SYNC|O_LARGEFILE|O_NOFOLLOW|O_NOATIME|O_CLOEXEC|__O_TMPFILE, 0213) = -1 EINVAL (Invalid argument) [pid 3634] futex(0x7f79d9e646fc, FUTEX_WAKE_PRIVATE, 1000000 [pid 3628] <... futex resumed>) = 0 [pid 3634] <... futex resumed>) = 1 [pid 3634] futex(0x7f79d9e646f8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 3629] --- SIGBUS {si_signo=SIGBUS, si_code=BUS_ADRERR, si_addr=0x20000f83} --- [ 45.656034][ T3629] EXT4-fs error (device loop0): ext4_mb_generate_buddy:1095: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters [ 45.674335][ T3629] ------------[ cut here ]------------ [ 45.680022][ T3629] kernel BUG at fs/ext4/inode.c:2738! [ 45.685408][ T3629] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 45.691453][ T3629] CPU: 0 PID: 3629 Comm: syz-executor139 Not tainted 6.1.0-syzkaller-00071-g3a28c2c89f4b #0 [ 45.701493][ T3629] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 45.711527][ T3629] RIP: 0010:ext4_writepages+0x2550/0x3da0 [ 45.717255][ T3629] Code: e1 be 00 10 00 00 4c 89 ef 48 d3 ee ba 01 00 00 00 e8 64 21 fe ff 83 c0 01 89 84 24 c4 00 00 00 e9 4d e1 ff ff e8 60 d5 5e ff <0f> 0b e8 59 d5 5e ff 44 0f b6 a4 24 eb 00 00 00 89 5c 24 08 e9 7e [ 45.736849][ T3629] RSP: 0018:ffffc90003cef4f8 EFLAGS: 00010293 [ 45.742939][ T3629] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 [pid 3629] write(4, 0x20000f80, 9 [pid 3628] exit_group(0) = ? [pid 3634] <... futex resumed>) = ? [pid 3634] +++ exited with 0 +++ [ 45.750891][ T3629] RDX: ffff888022571d40 RSI: ffffffff82214800 RDI: 0000000000000007 [ 45.758873][ T3629] RBP: ffff888074d25090 R08: 0000000000000007 R09: 0000000000000000 [ 45.766822][ T3629] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 [ 45.774771][ T3629] R13: ffff888074d252f0 R14: ffffc90003cefa50 R15: ffff888024d60000 [ 45.782734][ T3629] FS: 00007f79d9d8c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 [ 45.791656][ T3629] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 45.798222][ T3629] CR2: 000000002000004e CR3: 000000007ea45000 CR4: 0000000000350ef0 [ 45.806176][ T3629] Call Trace: [ 45.809438][ T3629] [ 45.812352][ T3629] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 45.818327][ T3629] ? __getblk_gfp+0x4f/0x80 [ 45.822815][ T3629] ? map_id_up+0x178/0x2f0 [ 45.827221][ T3629] ? __lock_acquire+0x166e/0x56d0 [ 45.832237][ T3629] ? __ext4_mark_inode_dirty+0x940/0x940 [ 45.837860][ T3629] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 45.844008][ T3629] ? mark_lock.part.0+0xee/0x1910 [ 45.849025][ T3629] ? __ext4_handle_dirty_metadata+0x263/0x6f0 [ 45.855085][ T3629] ? find_held_lock+0x2d/0x110 [ 45.859838][ T3629] ? do_writepages+0x50f/0x690 [ 45.864588][ T3629] ? lock_downgrade+0x6e0/0x6e0 [ 45.869429][ T3629] ? do_raw_spin_lock+0x124/0x2b0 [ 45.874433][ T3629] ? rwlock_bug.part.0+0x90/0x90 [ 45.879353][ T3629] ? __ext4_mark_inode_dirty+0x940/0x940 [ 45.884973][ T3629] do_writepages+0x1af/0x690 [ 45.889551][ T3629] ? writeback_set_ratelimit+0x150/0x150 [ 45.895172][ T3629] ? wbc_attach_and_unlock_inode+0x44d/0x8d0 [ 45.901142][ T3629] ? lock_downgrade+0x6e0/0x6e0 [ 45.905987][ T3629] ? lock_release+0x810/0x810 [ 45.910656][ T3629] ? do_raw_spin_unlock+0x175/0x230 [ 45.915837][ T3629] ? _raw_spin_unlock+0x28/0x40 [ 45.920670][ T3629] ? wbc_attach_and_unlock_inode+0x4a3/0x8d0 [ 45.926635][ T3629] filemap_fdatawrite_wbc+0x147/0x1b0 [ 45.931999][ T3629] __filemap_fdatawrite_range+0xb8/0xf0 [ 45.937534][ T3629] ? delete_from_page_cache_batch+0xd60/0xd60 [ 45.943598][ T3629] file_write_and_wait_range+0xb6/0x120 [ 45.949137][ T3629] ext4_sync_file+0x265/0x1150 [ 45.953883][ T3629] ? ext4_getfsmap+0x990/0x990 [ 45.958630][ T3629] vfs_fsync_range+0x13e/0x230 [ 45.963381][ T3629] ext4_buffered_write_iter+0x379/0x460 [ 45.968910][ T3629] ext4_file_write_iter+0x8bc/0x16e0 [ 45.974177][ T3629] ? lock_release+0x810/0x810 [ 45.978847][ T3629] ? ext4_file_mmap+0x440/0x440 [ 45.983683][ T3629] vfs_write+0x9ed/0xdd0 [ 45.987916][ T3629] ? kernel_write+0x630/0x630 [ 45.992581][ T3629] ? __fget_files+0x26a/0x440 [ 45.997246][ T3629] ksys_write+0x12b/0x250 [ 46.001561][ T3629] ? __ia32_sys_read+0xb0/0xb0 [ 46.006308][ T3629] ? lockdep_hardirqs_on+0x7d/0x100 [ 46.011488][ T3629] ? _raw_spin_unlock_irq+0x2e/0x50 [ 46.016688][ T3629] ? ptrace_notify+0xfe/0x140 [ 46.021361][ T3629] do_syscall_64+0x39/0xb0 [ 46.025767][ T3629] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 46.031650][ T3629] RIP: 0033:0x7f79d9ddf889 [ 46.036048][ T3629] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 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 [ 46.055650][ T3629] RSP: 002b:00007f79d9d8c208 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 46.064045][ T3629] RAX: ffffffffffffffda RBX: 00007f79d9e646e8 RCX: 00007f79d9ddf889 [ 46.072001][ T3629] RDX: 0000000000000009 RSI: 0000000020000f80 RDI: 0000000000000004 [ 46.079953][ T3629] RBP: 00007f79d9e646e0 R08: 00007f79d9e646e0 R09: 0000000000000000 [ 46.087904][ T3629] R10: 00007f79d9d8c210 R11: 0000000000000246 R12: 00007f79d9e646ec [ 46.095854][ T3629] R13: 00007ffe7a0cbe2f R14: 00007f79d9d8c300 R15: 0000000000022000 [ 46.103810][ T3629] [ 46.106808][ T3629] Modules linked in: [ 46.113355][ T3629] ---[ end trace 0000000000000000 ]--- [ 46.118849][ T3629] RIP: 0010:ext4_writepages+0x2550/0x3da0 [ 46.124565][ T3629] Code: e1 be 00 10 00 00 4c 89 ef 48 d3 ee ba 01 00 00 00 e8 64 21 fe ff 83 c0 01 89 84 24 c4 00 00 00 e9 4d e1 ff ff e8 60 d5 5e ff <0f> 0b e8 59 d5 5e ff 44 0f b6 a4 24 eb 00 00 00 89 5c 24 08 e9 7e [ 46.144224][ T3629] RSP: 0018:ffffc90003cef4f8 EFLAGS: 00010293 [ 46.150320][ T3629] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 [ 46.158299][ T3629] RDX: ffff888022571d40 RSI: ffffffff82214800 RDI: 0000000000000007 [ 46.166439][ T3629] RBP: ffff888074d25090 R08: 0000000000000007 R09: 0000000000000000 [ 46.174424][ T3629] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 [ 46.182408][ T3629] R13: ffff888074d252f0 R14: ffffc90003cefa50 R15: ffff888024d60000 [ 46.190390][ T3629] FS: 00007f79d9d8c700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 [ 46.199333][ T3629] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 46.205893][ T3629] CR2: 00007f79d9e307e8 CR3: 000000007ea45000 CR4: 0000000000350ee0 [ 46.213870][ T3629] Kernel panic - not syncing: Fatal exception [ 46.220709][ T3629] Kernel Offset: disabled [ 46.225012][ T3629] Rebooting in 86400 seconds..