./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor955635343 <...> [ 12.970797][ T30] audit: type=1400 audit(1684349371.446:63): avc: denied { write } for pid=224 comm="sh" path="pipe:[13126]" dev="pipefs" ino=13126 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 12.978269][ T30] audit: type=1400 audit(1684349371.446:64): avc: denied { rlimitinh } for pid=224 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 12.984592][ T30] audit: type=1400 audit(1684349371.446:65): avc: denied { siginh } for pid=224 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 Warning: Permanently added '10.128.0.154' (ECDSA) to the list of known hosts. execve("./syz-executor955635343", ["./syz-executor955635343"], 0x7fff13bbd580 /* 10 vars */) = 0 brk(NULL) = 0x555556d74000 brk(0x555556d74c40) = 0x555556d74c40 arch_prctl(ARCH_SET_FS, 0x555556d74300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor955635343", 4096) = 27 brk(0x555556d95c40) = 0x555556d95c40 brk(0x555556d96000) = 0x555556d96000 mprotect(0x7fade3da7000, 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) = 0x7faddb8ee000 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(0x7faddb8ee000, 262144) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file1", 0777) = 0 [ 22.542097][ T30] audit: type=1400 audit(1684349381.036:66): avc: denied { execmem } for pid=293 comm="syz-executor955" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 22.551956][ T30] audit: type=1400 audit(1684349381.046:67): avc: denied { read write } for pid=293 comm="syz-executor955" name="loop0" dev="devtmpfs" ino=112 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 22.552493][ T293] loop0: detected capacity change from 0 to 512 [ 22.561830][ T30] audit: type=1400 audit(1684349381.046:68): avc: denied { open } for pid=293 comm="syz-executor955" path="/dev/loop0" dev="devtmpfs" ino=112 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 22.589648][ T30] audit: type=1400 audit(1684349381.046:69): avc: denied { ioctl } for pid=293 comm="syz-executor955" path="/dev/loop0" dev="devtmpfs" ino=112 ioctlcmd=0x4c00 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 22.615254][ T30] audit: type=1400 audit(1684349381.056:70): avc: denied { mounton } for pid=293 comm="syz-executor955" path="/root/file1" dev="sda1" ino=1927 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 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 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 [ 22.621104][ T293] EXT4-fs (loop0): 1 orphan inode deleted [ 22.643349][ T293] EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue. Quota mode: writeback. [ 22.654323][ T30] audit: type=1400 audit(1684349381.156:71): avc: denied { mount } for pid=293 comm="syz-executor955" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 22.654330][ T293] ext4 filesystem being mounted at /root/file1 supports timestamps until 2038 (0x7fffffff) [ 22.664800][ T293] EXT4-fs error (device loop0): ext4_xattr_block_get:562: inode #16: comm syz-executor955: corrupted xattr block 37 [ 22.682338][ T30] audit: type=1400 audit(1684349381.156:72): avc: denied { write } for pid=293 comm="syz-executor955" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 22.688254][ T293] EXT4-fs error (device loop0): __ext4_get_inode_loc:4347: comm syz-executor955: Invalid inode table block 0 in block_group 0 [ 22.699186][ T30] audit: type=1400 audit(1684349381.156:73): avc: denied { add_name } for pid=293 comm="syz-executor955" name="bus" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 22.719980][ T293] EXT4-fs error (device loop0) in ext4_reserve_inode_write:5808: Corrupt filesystem [ 22.736284][ T30] audit: type=1400 audit(1684349381.156:74): avc: denied { create } for pid=293 comm="syz-executor955" name="bus" scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:unlabeled_t tclass=file permissive=1 [ 22.753650][ T293] EXT4-fs error (device loop0): ext4_dirty_inode:6012: inode #16: comm syz-executor955: mark_inode_dirty error [ 22.762647][ T30] audit: type=1400 audit(1684349381.156:75): avc: denied { read write open } for pid=293 comm="syz-executor955" path="/root/file1/bus" dev="loop0" ino=16 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:unlabeled_t tclass=file permissive=1 [ 22.783047][ T293] ------------[ cut here ]------------ [ 22.823018][ T293] kernel BUG at fs/ext4/ext4.h:3355! [ 22.828121][ T293] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 22.834011][ T293] CPU: 1 PID: 293 Comm: syz-executor955 Not tainted 5.15.106-syzkaller-00249-g19c0ed55a470 #0 [ 22.844095][ T293] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 [ 22.853977][ T293] RIP: 0010:ext4_mb_find_by_goal+0xdf4/0xe30 [ 22.859807][ T293] Code: c6 ff e9 b5 fb ff ff e8 6a 0a 85 ff 49 bc 00 00 00 00 00 fc ff df e9 6f f7 ff ff e8 56 0a 85 ff e9 51 f7 ff ff e8 4c 0a 85 ff <0f> 0b e8 55 03 d0 02 e8 40 0a 85 ff 0f 0b e8 39 0a 85 ff 0f 0b e8 [ 22.879583][ T293] RSP: 0018:ffffc90000986ac0 EFLAGS: 00010293 [ 22.885649][ T293] RAX: ffffffff81eae174 RBX: 0000000000000001 RCX: ffff88811ef3bb40 [ 22.893464][ T293] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 22.901370][ T293] RBP: ffffc90000986bd0 R08: ffffffff81ead4ab R09: ffffed10217cc98a [ 22.909173][ T293] R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11023deba79 [ 22.916991][ T293] R13: 0000000000000001 R14: 1ffff92000130d68 R15: ffff88811ef5d3c8 [ 22.924794][ T293] FS: 0000555556d74300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 22.933573][ T293] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 22.939982][ T293] CR2: 0000562dcad0f048 CR3: 000000011bca0000 CR4: 00000000003506a0 [ 22.947795][ T293] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 22.955619][ T293] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 22.963419][ T293] Call Trace: [ 22.966555][ T293] [ 22.969323][ T293] ? ext4_handle_error+0x5c9/0x780 [ 22.974282][ T293] ? stack_trace_snprint+0xf0/0xf0 [ 22.979219][ T293] ? _raw_spin_unlock_irqrestore+0x5c/0x80 [ 22.984859][ T293] ? ext4_mb_use_inode_pa+0x6e0/0x6e0 [ 22.990067][ T293] ext4_mb_regular_allocator+0x247/0x3810 [ 22.995619][ T293] ? ext4_iomap_begin+0x824/0xd10 [ 23.000483][ T293] ? __iomap_dio_rw+0xb3a/0x1ed0 [ 23.005342][ T293] ? ext4_file_write_iter+0x1142/0x1cc0 [ 23.010810][ T293] ? vfs_write+0xd8a/0x1160 [ 23.015154][ T293] ? ksys_write+0x199/0x2c0 [ 23.019572][ T293] ? __x64_sys_write+0x7b/0x90 [ 23.024175][ T293] ? do_syscall_64+0x3d/0xb0 [ 23.028626][ T293] ? entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 23.034596][ T293] ? ext4_mb_normalize_request+0x1830/0x1830 [ 23.040409][ T293] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 23.045526][ T293] ? kmem_cache_alloc+0xf5/0x200 [ 23.050390][ T293] ext4_mb_new_blocks+0xe3c/0x43f0 [ 23.055461][ T293] ? __kasan_kmalloc+0x9/0x10 [ 23.059958][ T293] ? __kmalloc+0x13a/0x270 [ 23.064299][ T293] ? ext4_mb_pa_callback+0xd0/0xd0 [ 23.069248][ T293] ? ext4_ext_search_right+0x4f5/0x900 [ 23.074887][ T293] ? ext4_inode_to_goal_block+0x35c/0x4b0 [ 23.080444][ T293] ? ext4_ext_find_goal+0x117/0x200 [ 23.085476][ T293] ext4_ext_map_blocks+0x1a0d/0x7250 [ 23.090600][ T293] ? kmem_cache_alloc_trace+0x115/0x210 [ 23.096153][ T293] ? __iomap_dio_rw+0x2e2/0x1ed0 [ 23.100926][ T293] ? iomap_dio_rw+0x3e/0x90 [ 23.105265][ T293] ? ext4_file_write_iter+0x1142/0x1cc0 [ 23.110651][ T293] ? ksys_write+0x199/0x2c0 [ 23.115021][ T293] ? __x64_sys_write+0x7b/0x90 [ 23.119591][ T293] ? do_syscall_64+0x3d/0xb0 [ 23.124016][ T293] ? entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 23.129927][ T293] ? kvm_sched_clock_read+0x18/0x40 [ 23.134952][ T293] ? sched_clock+0x9/0x10 [ 23.139115][ T293] ? ext4_ext_release+0x10/0x10 [ 23.143803][ T293] ? __down_read_common+0xbc6/0x1190 [ 23.149019][ T293] ? downgrade_write+0x2d0/0x2d0 [ 23.153874][ T293] ? _raw_read_unlock+0x25/0x40 [ 23.158562][ T293] ext4_map_blocks+0xaa7/0x1e30 [ 23.163249][ T293] ? ext4_issue_zeroout+0x250/0x250 [ 23.168280][ T293] ? ext4_journal_check_start+0x16c/0x230 [ 23.173921][ T293] ? ext4_iomap_begin+0x70f/0xd10 [ 23.178897][ T293] ? ext4_ext_index_trans_blocks+0xd3/0x120 [ 23.184626][ T293] ext4_iomap_begin+0x824/0xd10 [ 23.189311][ T293] ? ext4_alloc_da_blocks+0x1a0/0x1a0 [ 23.194519][ T293] iomap_iter+0x5b5/0xbe0 [ 23.198799][ T293] ? ext4_alloc_da_blocks+0x1a0/0x1a0 [ 23.204013][ T293] __iomap_dio_rw+0xb3a/0x1ed0 [ 23.208614][ T293] ? iomap_dio_complete+0x710/0x710 [ 23.213639][ T293] ? file_update_time+0x34e/0x460 [ 23.218500][ T293] ? ext4_fc_replay_link_internal+0x340/0x340 [ 23.224401][ T293] ? __kasan_check_read+0x11/0x20 [ 23.229263][ T293] iomap_dio_rw+0x3e/0x90 [ 23.233429][ T293] ext4_file_write_iter+0x1142/0x1cc0 [ 23.238659][ T293] ? ext4_file_write_iter+0x831/0x1cc0 [ 23.243930][ T293] ? ext4_file_read_iter+0x4b0/0x4b0 [ 23.249050][ T293] ? fsnotify_perm+0x6a/0x5d0 [ 23.253572][ T293] ? iov_iter_init+0x53/0x190 [ 23.258075][ T293] vfs_write+0xd8a/0x1160 [ 23.262242][ T293] ? __kasan_check_write+0x14/0x20 [ 23.267226][ T293] ? file_end_write+0x1c0/0x1c0 [ 23.271883][ T293] ? ptrace_stop+0x6eb/0xa90 [ 23.276306][ T293] ? __kasan_check_read+0x11/0x20 [ 23.281180][ T293] ? __fdget_pos+0x289/0x310 [ 23.285746][ T293] ksys_write+0x199/0x2c0 [ 23.290290][ T293] ? do_notify_parent+0xa30/0xa30 [ 23.295123][ T293] ? __ia32_sys_read+0x90/0x90 [ 23.299718][ T293] ? __kasan_check_read+0x11/0x20 [ 23.304677][ T293] __x64_sys_write+0x7b/0x90 [ 23.309104][ T293] do_syscall_64+0x3d/0xb0 [ 23.313355][ T293] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 23.319111][ T293] RIP: 0033:0x7fade3d3a959 [ 23.323947][ T293] 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 [ 23.343474][ T293] RSP: 002b:00007ffc0246e6d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 23.351723][ T293] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fade3d3a959 [ 23.359622][ T293] RDX: 000000000002a000 RSI: 0000000020000000 RDI: 0000000000000004 [ 23.367433][ T293] RBP: 00007fade3cfa1f0 R08: 0000000000000000 R09: 0000000000000000 [ 23.375241][ T293] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fade3cfa280 [ 23.383051][ T293] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 23.390868][ T293] [ 23.393727][ T293] Modules linked in: [ 23.397619][ T293] ---[ end trace 25e96ec5b64f9202 ]--- [ 23.402902][ T293] RIP: 0010:ext4_mb_find_by_goal+0xdf4/0xe30 [ 23.408718][ T293] Code: c6 ff e9 b5 fb ff ff e8 6a 0a 85 ff 49 bc 00 00 00 00 00 fc ff df e9 6f f7 ff ff e8 56 0a 85 ff e9 51 f7 ff ff e8 4c 0a 85 ff <0f> 0b e8 55 03 d0 02 e8 40 0a 85 ff 0f 0b e8 39 0a 85 ff 0f 0b e8 [ 23.428176][ T293] RSP: 0018:ffffc90000986ac0 EFLAGS: 00010293 [ 23.434056][ T293] RAX: ffffffff81eae174 RBX: 0000000000000001 RCX: ffff88811ef3bb40 [ 23.441985][ T293] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 23.449800][ T293] RBP: ffffc90000986bd0 R08: ffffffff81ead4ab R09: ffffed10217cc98a [ 23.457584][ T293] R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11023deba79 [ 23.465419][ T293] R13: 0000000000000001 R14: 1ffff92000130d68 R15: ffff88811ef5d3c8 [ 23.473347][ T293] FS: 0000555556d74300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 23.482667][ T293] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.489054][ T293] CR2: 0000562dcad0f048 CR3: 000000011bca0000 CR4: 00000000003506a0 [ 23.496840][ T293] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 23.504793][ T293] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 23.512585][ T293] Kernel panic - not syncing: Fatal exception [ 23.518685][ T293] Kernel Offset: disabled [ 23.522816][ T293] Rebooting in 86400 seconds..