./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1248737677 <...> Warning: Permanently added '10.128.0.133' (ECDSA) to the list of known hosts. execve("./syz-executor1248737677", ["./syz-executor1248737677"], 0x7ffe68b2cdd0 /* 10 vars */) = 0 brk(NULL) = 0x555555855000 brk(0x555555855c40) = 0x555555855c40 arch_prctl(ARCH_SET_FS, 0x555555855300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor1248737677", 4096) = 28 brk(0x555555876c40) = 0x555555876c40 brk(0x555555877000) = 0x555555877000 mprotect(0x7f1128f1c000, 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 write(-1, "\x5b\xe4\x58\xd9\x08\xa6\x26\x66\xd0\x8c\x39\x7e\x0c\x1f\x46\xb5\x31\x44\x6c\xb4\x49\x16\x75\x81\x7f\x55\x18\x2e\x45\xec\x16\xe3\x82\xa1\x01\x7b\x88\xc1\xbe\x5a\xa7\xe5\xe8\x92\x1f\xe5\xc9\xf6\x2a\x7b\x8e\x67\x73\x53\x8b\x3b\x43\x94\x70\x47\x62\x6d\x74\xef\xd2\xd0\x72\x44\xe4\xee\x66\xf2\xa3\xb0\x72\xfe\x08\x9b\x6a\xaf\x2c\x04\x95\xbe\xbd\x84\x49\x26\x75\x71\x20\x2f\x81\x42\xcb\xd6\x0b\x67\x12\x30"..., 134) = -1 EBADF (Bad file descriptor) memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1120a63000 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"..., 262144) = 262144 munmap(0x7f1120a63000, 262144) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file1", 0777) = 0 [ 26.384791][ T28] audit: type=1400 audit(1684348160.717:66): avc: denied { execmem } for pid=297 comm="syz-executor124" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 26.388365][ T297] loop0: detected capacity change from 0 to 512 [ 26.404436][ T28] audit: type=1400 audit(1684348160.717:67): avc: denied { read write } for pid=297 comm="syz-executor124" name="loop0" dev="devtmpfs" ino=113 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 26.434628][ T28] audit: type=1400 audit(1684348160.727:68): avc: denied { open } for pid=297 comm="syz-executor124" path="/dev/loop0" dev="devtmpfs" ino=113 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 26.440810][ T297] EXT4-fs (loop0): 1 orphan inode deleted mount("/dev/loop0", "./file1", "ext4", MS_NOSYMFOLLOW|MS_NOATIME|MS_REC, ",errors=continue") = 0 openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 chdir("./file1") = 0 ioctl(4, LOOP_CLR_FD) = 0 [ 26.458768][ T28] audit: type=1400 audit(1684348160.727:69): avc: denied { ioctl } for pid=297 comm="syz-executor124" path="/dev/loop0" dev="devtmpfs" ino=113 ioctlcmd=0x4c00 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 26.464070][ T297] EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback. [ 26.489759][ T28] audit: type=1400 audit(1684348160.747:70): avc: denied { mounton } for pid=297 comm="syz-executor124" path="/root/file1" dev="sda1" ino=1927 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 26.498749][ T297] ext4 filesystem being mounted at /root/file1 supports timestamps until 2038 (0x7fffffff) close(4) = 0 open("./bus", O_RDWR|O_CREAT|O_TRUNC|O_SYNC|O_DIRECT|O_LARGEFILE|O_NOATIME|0x3c, 000) = 4 mount("/dev/loop0", "./bus", NULL, MS_BIND, NULL) = 0 open("./bus", O_RDWR|O_CREAT|O_NONBLOCK|O_SYNC|O_DIRECT|O_NOATIME|O_CLOEXEC|0x3c, 000) = 5 write(5, "\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"..., 34136651) = 262144 [ 26.520772][ T28] audit: type=1400 audit(1684348160.837:71): avc: denied { mount } for pid=297 comm="syz-executor124" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 26.545406][ T297] EXT4-fs error (device loop0): ext4_xattr_block_get:562: inode #16: comm syz-executor124: corrupted xattr block 37 [ 26.558864][ T28] audit: type=1400 audit(1684348160.877:72): avc: denied { write } for pid=297 comm="syz-executor124" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 26.564439][ T297] EXT4-fs error (device loop0): __ext4_get_inode_loc:4492: comm syz-executor124: Invalid inode table block 0 in block_group 0 [ 26.586017][ T28] audit: type=1400 audit(1684348160.877:73): avc: denied { add_name } for pid=297 comm="syz-executor124" name="bus" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 26.598932][ T297] EXT4-fs error (device loop0) in ext4_reserve_inode_write:5841: Corrupt filesystem [ 26.619268][ T28] audit: type=1400 audit(1684348160.877:74): avc: denied { create } for pid=297 comm="syz-executor124" name="bus" scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:unlabeled_t tclass=file permissive=1 [ 26.628773][ T297] EXT4-fs error (device loop0): ext4_dirty_inode:6045: inode #16: comm syz-executor124: mark_inode_dirty error [ 26.648703][ T28] audit: type=1400 audit(1684348160.877:75): avc: denied { read write open } for pid=297 comm="syz-executor124" path="/root/file1/bus" dev="loop0" ino=16 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:unlabeled_t tclass=file permissive=1 [ 26.660699][ T297] ------------[ cut here ]------------ [ 26.688975][ T297] kernel BUG at fs/ext4/ext4.h:3331! [ 26.694101][ T297] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 26.699972][ T297] CPU: 0 PID: 297 Comm: syz-executor124 Not tainted 6.1.25-syzkaller-00226-g7d346b229c78 #0 [ 26.709953][ T297] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 [ 26.719849][ T297] RIP: 0010:ext4_mb_find_by_goal+0xdf4/0xe30 [ 26.725664][ T297] Code: c4 ff e9 b5 fb ff ff e8 2a 46 7f ff 49 bc 00 00 00 00 00 fc ff df e9 6f f7 ff ff e8 16 46 7f ff e9 51 f7 ff ff e8 0c 46 7f ff <0f> 0b e8 f5 b8 0f 03 e8 00 46 7f ff 0f 0b e8 f9 45 7f ff 0f 0b e8 [ 26.745103][ T297] RSP: 0018:ffffc90000e56b00 EFLAGS: 00010293 [ 26.751010][ T297] RAX: ffffffff81f458a4 RBX: 0000000000000001 RCX: ffff88811c3cb900 [ 26.758817][ T297] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 26.766631][ T297] RBP: ffffc90000e56c10 R08: ffffffff81f44bdb R09: ffffed1021754aaf [ 26.774444][ T297] R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11021ebfc75 [ 26.782254][ T297] R13: 0000000000000001 R14: 1ffff920001cad70 R15: ffff88810f5fe3a8 [ 26.790064][ T297] FS: 0000555555855300(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 [ 26.798830][ T297] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 26.805255][ T297] CR2: 000055d1c8da1048 CR3: 00000001229db000 CR4: 00000000003506b0 [ 26.813066][ T297] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 26.820877][ T297] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 26.828685][ T297] Call Trace: [ 26.831812][ T297] [ 26.834590][ T297] ? __stack_depot_save+0x419/0x480 [ 26.839625][ T297] ? ext4_mb_use_inode_pa+0x6e0/0x6e0 [ 26.844828][ T297] ? slab_post_alloc_hook+0x53/0x2c0 [ 26.849949][ T297] ? kmem_cache_alloc+0x175/0x2c0 [ 26.854813][ T297] ? ext4_mb_new_blocks+0xf3d/0x48f0 [ 26.859934][ T297] ? ext4_ext_map_blocks+0x19ca/0x71e0 [ 26.865310][ T297] ? ext4_map_blocks+0xa42/0x1ce0 [ 26.870175][ T297] ext4_mb_regular_allocator+0x24c/0x3610 [ 26.875735][ T297] ? kasan_save_alloc_info+0x1f/0x30 [ 26.880849][ T297] ? ext4_mb_normalize_request+0x1830/0x1830 [ 26.886676][ T297] ? ext4_mb_new_blocks+0xf3d/0x48f0 [ 26.891798][ T297] ? ext4_mb_new_blocks+0xf3d/0x48f0 [ 26.896913][ T297] ext4_mb_new_blocks+0xfd3/0x48f0 [ 26.901857][ T297] ? __kasan_kmalloc+0x9c/0xb0 [ 26.906457][ T297] ? ext4_mb_pa_callback+0xd0/0xd0 [ 26.911399][ T297] ? ext4_ext_search_right+0x4f5/0x900 [ 26.916698][ T297] ? ext4_inode_to_goal_block+0x35c/0x4b0 [ 26.922253][ T297] ? ext4_ext_find_goal+0x117/0x200 [ 26.927284][ T297] ext4_ext_map_blocks+0x19ca/0x71e0 [ 26.932411][ T297] ? ext4_ext_release+0x10/0x10 [ 26.937091][ T297] ? down_read+0x976/0xfc0 [ 26.941340][ T297] ? is_bpf_text_address+0x172/0x190 [ 26.946463][ T297] ? is_module_text_address+0x220/0x360 [ 26.951844][ T297] ? stack_trace_save+0x1c0/0x1c0 [ 26.956710][ T297] ? _raw_read_unlock+0x25/0x40 [ 26.961392][ T297] ext4_map_blocks+0xa42/0x1ce0 [ 26.966092][ T297] ? ext4_issue_zeroout+0x250/0x250 [ 26.971112][ T297] ? __kasan_check_read+0x11/0x20 [ 26.975973][ T297] ext4_iomap_begin+0x824/0xd10 [ 26.980666][ T297] ? ext4_alloc_da_blocks+0x1a0/0x1a0 [ 26.985897][ T297] ? filemap_range_has_writeback+0x620/0x620 [ 26.991686][ T297] iomap_iter+0x5b1/0xbe0 [ 26.995848][ T297] ? ext4_alloc_da_blocks+0x1a0/0x1a0 [ 27.001058][ T297] __iomap_dio_rw+0xdec/0x20b0 [ 27.005661][ T297] ? security_inode_need_killpriv+0x72/0x90 [ 27.011383][ T297] ? iomap_dio_complete_work+0x70/0x70 [ 27.016686][ T297] ? ext4_fc_replay_link_internal+0x340/0x340 [ 27.022579][ T297] iomap_dio_rw+0x41/0x90 [ 27.026746][ T297] ext4_file_write_iter+0x1123/0x1cf0 [ 27.031959][ T297] ? ext4_file_write_iter+0x7d1/0x1cf0 [ 27.037253][ T297] ? ext4_file_read_iter+0x470/0x470 [ 27.042367][ T297] ? fsnotify_perm+0x6a/0x5d0 [ 27.046883][ T297] vfs_write+0x8d1/0xe80 [ 27.050963][ T297] ? file_end_write+0x1c0/0x1c0 [ 27.055647][ T297] ? ptrace_stop+0x709/0x930 [ 27.060511][ T297] ? __kasan_check_read+0x11/0x20 [ 27.065454][ T297] ? __fdget_pos+0x284/0x310 [ 27.069884][ T297] ksys_write+0x199/0x2c0 [ 27.074049][ T297] ? do_notify_parent+0xa20/0xa20 [ 27.078936][ T297] ? __ia32_sys_read+0x90/0x90 [ 27.083511][ T297] ? fpregs_restore_userregs+0x130/0x290 [ 27.088980][ T297] __x64_sys_write+0x7b/0x90 [ 27.093411][ T297] do_syscall_64+0x3d/0xb0 [ 27.097658][ T297] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 27.103387][ T297] RIP: 0033:0x7f1128eaf959 [ 27.107638][ T297] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 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 c0 ff ff ff f7 d8 64 89 01 48 [ 27.127088][ T297] RSP: 002b:00007ffecde7a028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 27.135329][ T297] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1128eaf959 [ 27.143134][ T297] RDX: 000000000002a000 RSI: 0000000020000000 RDI: 0000000000000004 [ 27.150944][ T297] RBP: 00007f1128e6f1f0 R08: 0000000000000000 R09: 0000000000000000 [ 27.158756][ T297] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1128e6f280 [ 27.166565][ T297] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 27.174387][ T297] [ 27.177242][ T297] Modules linked in: [ 27.181157][ T297] ---[ end trace 0000000000000000 ]--- [ 27.186420][ T297] RIP: 0010:ext4_mb_find_by_goal+0xdf4/0xe30 [ 27.192278][ T297] Code: c4 ff e9 b5 fb ff ff e8 2a 46 7f ff 49 bc 00 00 00 00 00 fc ff df e9 6f f7 ff ff e8 16 46 7f ff e9 51 f7 ff ff e8 0c 46 7f ff <0f> 0b e8 f5 b8 0f 03 e8 00 46 7f ff 0f 0b e8 f9 45 7f ff 0f 0b e8 [ 27.211723][ T297] RSP: 0018:ffffc90000e56b00 EFLAGS: 00010293 [ 27.217573][ T297] RAX: ffffffff81f458a4 RBX: 0000000000000001 RCX: ffff88811c3cb900 [ 27.225408][ T297] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 27.233224][ T297] RBP: ffffc90000e56c10 R08: ffffffff81f44bdb R09: ffffed1021754aaf [ 27.241032][ T297] R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11021ebfc75 [ 27.248852][ T297] R13: 0000000000000001 R14: 1ffff920001cad70 R15: ffff88810f5fe3a8 [ 27.256627][ T297] FS: 0000555555855300(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 [ 27.265423][ T297] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 27.271847][ T297] CR2: 000055d1c8da1048 CR3: 00000001229db000 CR4: 00000000003506b0 [ 27.279655][ T297] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 27.287448][ T297] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 27.295302][ T297] Kernel panic - not syncing: Fatal exception [ 27.301439][ T297] Kernel Offset: disabled [ 27.305571][ T297] Rebooting in 86400 seconds..