./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1339206258 <...> [ 3.500960][ T24] audit: type=1400 audit(1684349971.550:9): avc: denied { append open } for pid=75 comm="syslogd" path="/tmp/messages" dev="tmpfs" ino=2 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 [ 3.504413][ T24] audit: type=1400 audit(1684349971.550:10): avc: denied { getattr } for pid=75 comm="syslogd" path="/tmp/messages" dev="tmpfs" ino=2 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 [ 3.741227][ T92] udevd[92]: starting version 3.2.11 [ 3.790205][ T93] udevd[93]: starting eudev-3.2.11 [ 16.051741][ T24] kauditd_printk_skb: 50 callbacks suppressed [ 16.051750][ T24] audit: type=1400 audit(1684349984.120:61): avc: denied { transition } for pid=221 comm="sshd" path="/bin/sh" dev="sda1" ino=89 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 16.057576][ T24] audit: type=1400 audit(1684349984.130:62): avc: denied { noatsecure } for pid=221 comm="sshd" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 16.063635][ T24] audit: type=1400 audit(1684349984.130:63): avc: denied { write } for pid=221 comm="sh" path="pipe:[13717]" dev="pipefs" ino=13717 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 16.068717][ T24] audit: type=1400 audit(1684349984.130:64): avc: denied { rlimitinh } for pid=221 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 16.079847][ T24] audit: type=1400 audit(1684349984.130:65): avc: denied { siginh } for pid=221 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.43' (ECDSA) to the list of known hosts. execve("./syz-executor1339206258", ["./syz-executor1339206258"], 0x7ffff68bd400 /* 10 vars */) = 0 brk(NULL) = 0x555556f03000 brk(0x555556f03c40) = 0x555556f03c40 arch_prctl(ARCH_SET_FS, 0x555556f03300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor1339206258", 4096) = 28 brk(0x555556f24c40) = 0x555556f24c40 brk(0x555556f25000) = 0x555556f25000 mprotect(0x7f1e3918e000, 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) = 0x7f1e30cd5000 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(0x7f1e30cd5000, 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.414909][ T24] audit: type=1400 audit(1684349994.490:66): avc: denied { execmem } for pid=292 comm="syz-executor133" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 26.437479][ T24] audit: type=1400 audit(1684349994.510:67): avc: denied { read write } for pid=292 comm="syz-executor133" name="loop0" dev="devtmpfs" ino=111 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 26.462012][ T24] audit: type=1400 audit(1684349994.510:68): avc: denied { open } for pid=292 comm="syz-executor133" path="/dev/loop0" dev="devtmpfs" ino=111 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 26.465181][ T292] 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.486199][ T24] audit: type=1400 audit(1684349994.510:69): avc: denied { ioctl } for pid=292 comm="syz-executor133" path="/dev/loop0" dev="devtmpfs" ino=111 ioctlcmd=0x4c00 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 26.492060][ T292] EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue [ 26.517299][ T24] audit: type=1400 audit(1684349994.510:70): avc: denied { mounton } for pid=292 comm="syz-executor133" 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.526225][ T292] 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.548506][ T24] audit: type=1400 audit(1684349994.600:71): avc: denied { mount } for pid=292 comm="syz-executor133" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 26.579745][ T24] audit: type=1400 audit(1684349994.640:72): avc: denied { write } for pid=292 comm="syz-executor133" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 26.583317][ T292] EXT4-fs error (device loop0): ext4_xattr_block_get:562: inode #16: comm syz-executor133: corrupted xattr block 37 [ 26.601716][ T24] audit: type=1400 audit(1684349994.640:73): avc: denied { add_name } for pid=292 comm="syz-executor133" name="bus" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 26.613921][ T292] EXT4-fs error (device loop0): __ext4_get_inode_loc:4436: comm syz-executor133: Invalid inode table block 0 in block_group 0 [ 26.633922][ T24] audit: type=1400 audit(1684349994.640:74): avc: denied { create } for pid=292 comm="syz-executor133" name="bus" scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:unlabeled_t tclass=file permissive=1 [ 26.647126][ T292] EXT4-fs error (device loop0) in ext4_reserve_inode_write:5877: Corrupt filesystem [ 26.666905][ T24] audit: type=1400 audit(1684349994.640:75): avc: denied { read write open } for pid=292 comm="syz-executor133" 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.699890][ T292] EXT4-fs error (device loop0): ext4_dirty_inode:6087: inode #16: comm syz-executor133: mark_inode_dirty error [ 26.711718][ T292] ------------[ cut here ]------------ [ 26.717005][ T292] kernel BUG at fs/ext4/ext4.h:3247! [ 26.724055][ T292] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 26.729920][ T292] CPU: 1 PID: 292 Comm: syz-executor133 Not tainted 5.10.178-syzkaller-00127-g43c801dc3325 #0 [ 26.740052][ T292] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 [ 26.749980][ T292] RIP: 0010:ext4_mb_find_by_goal+0xe18/0xe50 [ 26.755778][ T292] Code: 24 30 e9 be fb ff ff e8 96 c3 89 ff 48 bb 00 00 00 00 00 fc ff df e9 23 f7 ff ff e8 82 c3 89 ff e9 05 f7 ff ff e8 78 c3 89 ff <0f> 0b e8 21 0a c9 02 e8 6c c3 89 ff 0f 0b e8 65 c3 89 ff 0f 0b e8 [ 26.775218][ T292] RSP: 0000:ffffc9000091eb60 EFLAGS: 00010293 [ 26.781120][ T292] RAX: ffffffff81e0afa8 RBX: 0000000000000001 RCX: ffff8881183b2780 [ 26.788929][ T292] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 26.796740][ T292] RBP: ffffc9000091ec70 R08: ffffffff81e0a2bf R09: ffffed10220c6a61 [ 26.804562][ T292] R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88811e86b3c8 [ 26.812366][ T292] R13: 0000000000000001 R14: 1ffff11023d0d679 R15: 1ffff92000123d7c [ 26.820180][ T292] FS: 0000555556f03300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 26.828943][ T292] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 26.835365][ T292] CR2: 000055f1497bd0a8 CR3: 0000000118375000 CR4: 00000000003506a0 [ 26.843175][ T292] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 26.851073][ T292] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 26.858896][ T292] Call Trace: [ 26.862020][ T292] ? __kasan_slab_alloc+0xb1/0xe0 [ 26.867048][ T292] ? slab_post_alloc_hook+0x61/0x2f0 [ 26.872169][ T292] ? ext4_mb_use_inode_pa+0x510/0x510 [ 26.877376][ T292] ? iomap_apply+0x116/0x8a0 [ 26.881810][ T292] ? __iomap_dio_rw+0x767/0x10f0 [ 26.886572][ T292] ? iomap_dio_rw+0x35/0x80 [ 26.890915][ T292] ? ext4_file_write_iter+0x10e8/0x1ca0 [ 26.896292][ T292] ? vfs_write+0xb55/0xe70 [ 26.900549][ T292] ext4_mb_regular_allocator+0x249/0x2030 [ 26.906106][ T292] ? ext4_mb_normalize_request+0x10f0/0x10f0 [ 26.911916][ T292] ? ext4_mb_new_blocks+0xf12/0x4430 [ 26.917036][ T292] ? ext4_mb_new_blocks+0xf12/0x4430 [ 26.922159][ T292] ext4_mb_new_blocks+0xfb1/0x4430 [ 26.927108][ T292] ? __kasan_kmalloc+0x9/0x10 [ 26.931622][ T292] ? __kmalloc+0x1aa/0x330 [ 26.935872][ T292] ? memset+0x35/0x40 [ 26.939689][ T292] ? ext4_mb_pa_callback+0xd0/0xd0 [ 26.945005][ T292] ? ext4_ext_search_right+0x4f5/0x900 [ 26.950287][ T292] ? ext4_inode_to_goal_block+0x2b2/0x3d0 [ 26.955845][ T292] ? ext4_ext_find_goal+0x117/0x200 [ 26.960876][ T292] ext4_ext_map_blocks+0x190e/0x6be0 [ 26.966010][ T292] ? mempool_alloc+0x12c/0x530 [ 26.970590][ T292] ? preempt_schedule+0xd9/0xe0 [ 26.975366][ T292] ? __kasan_check_read+0x11/0x20 [ 26.980224][ T292] ? ext4_ext_release+0x10/0x10 [ 26.984914][ T292] ? __irq_work_queue_local+0x126/0x180 [ 26.990293][ T292] ? fscrypt_set_bio_crypt_ctx+0x160/0x4f0 [ 26.995939][ T292] ? _raw_read_unlock+0x25/0x40 [ 27.000620][ T292] ? ext4_es_lookup_extent+0x33b/0x940 [ 27.005919][ T292] ext4_map_blocks+0xaa7/0x1f00 [ 27.010601][ T292] ? ext4_issue_zeroout+0x1b0/0x1b0 [ 27.015633][ T292] ? _raw_spin_lock_irqsave+0xf9/0x210 [ 27.020932][ T292] ? __kasan_check_read+0x11/0x20 [ 27.025792][ T292] ext4_iomap_begin+0x798/0xbb0 [ 27.030477][ T292] ? ext4_alloc_da_blocks+0x1a0/0x1a0 [ 27.035685][ T292] ? __iomap_dio_rw+0x206/0x10f0 [ 27.040455][ T292] ? ext4_file_write_iter+0x10e8/0x1ca0 [ 27.045839][ T292] ? do_syscall_64+0x34/0x70 [ 27.050266][ T292] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 27.056167][ T292] iomap_apply+0x116/0x8a0 [ 27.060424][ T292] ? trace_raw_output_iomap_apply+0x270/0x270 [ 27.066327][ T292] ? filemap_check_errors+0xee/0x150 [ 27.071445][ T292] __iomap_dio_rw+0x767/0x10f0 [ 27.076044][ T292] ? __iomap_dio_rw+0x10f0/0x10f0 [ 27.080902][ T292] ? vfs_getxattr_alloc+0x5d0/0x5d0 [ 27.085953][ T292] ? iomap_dio_complete+0x6c0/0x6c0 [ 27.090969][ T292] ? ext4_fc_init_inode+0x160/0x160 [ 27.096010][ T292] ? __ext4_read_dirblock+0x8a0/0x8a0 [ 27.101210][ T292] ? down_write+0xd7/0x150 [ 27.105464][ T292] iomap_dio_rw+0x35/0x80 [ 27.109630][ T292] ? ext4_file_write_iter+0x901/0x1ca0 [ 27.114930][ T292] ext4_file_write_iter+0x10e8/0x1ca0 [ 27.120136][ T292] ? ext4_file_write_iter+0x901/0x1ca0 [ 27.125429][ T292] ? ext4_file_read_iter+0x4d0/0x4d0 [ 27.130552][ T292] ? security_file_permission+0x86/0xb0 [ 27.135929][ T292] ? iov_iter_init+0x3f/0x120 [ 27.140442][ T292] vfs_write+0xb55/0xe70 [ 27.144523][ T292] ? __kasan_check_write+0x14/0x20 [ 27.149561][ T292] ? kernel_write+0x3d0/0x3d0 [ 27.154070][ T292] ? ptrace_stop+0x6dc/0xa30 [ 27.158514][ T292] ? __kasan_check_read+0x11/0x20 [ 27.163355][ T292] ? __fdget_pos+0x289/0x310 [ 27.167779][ T292] ksys_write+0x199/0x2c0 [ 27.171970][ T292] ? do_notify_parent+0xa10/0xa10 [ 27.176811][ T292] ? __ia32_sys_read+0x90/0x90 [ 27.181423][ T292] ? fpu__clear_all+0x20/0x20 [ 27.185938][ T292] __x64_sys_write+0x7b/0x90 [ 27.190349][ T292] do_syscall_64+0x34/0x70 [ 27.194603][ T292] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 27.200339][ T292] RIP: 0033:0x7f1e39121959 [ 27.204602][ T292] 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.224030][ T292] RSP: 002b:00007fff7998e8c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 27.232271][ T292] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1e39121959 [ 27.240082][ T292] RDX: 000000000002a000 RSI: 0000000020000000 RDI: 0000000000000004 [ 27.247896][ T292] RBP: 00007f1e390e11f0 R08: 0000000000000000 R09: 0000000000000000 [ 27.255701][ T292] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1e390e1280 [ 27.263600][ T292] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 27.271421][ T292] Modules linked in: [ 27.275406][ T292] ---[ end trace ca1a17368dece069 ]--- [ 27.280684][ T292] RIP: 0010:ext4_mb_find_by_goal+0xe18/0xe50 [ 27.286532][ T292] Code: 24 30 e9 be fb ff ff e8 96 c3 89 ff 48 bb 00 00 00 00 00 fc ff df e9 23 f7 ff ff e8 82 c3 89 ff e9 05 f7 ff ff e8 78 c3 89 ff <0f> 0b e8 21 0a c9 02 e8 6c c3 89 ff 0f 0b e8 65 c3 89 ff 0f 0b e8 [ 27.305999][ T292] RSP: 0000:ffffc9000091eb60 EFLAGS: 00010293 [ 27.311821][ T292] RAX: ffffffff81e0afa8 RBX: 0000000000000001 RCX: ffff8881183b2780 [ 27.319667][ T292] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 27.327499][ T292] RBP: ffffc9000091ec70 R08: ffffffff81e0a2bf R09: ffffed10220c6a61 [ 27.335293][ T292] R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88811e86b3c8 [ 27.343110][ T292] R13: 0000000000000001 R14: 1ffff11023d0d679 R15: 1ffff92000123d7c [ 27.350877][ T292] FS: 0000555556f03300(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 27.359681][ T292] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 27.366080][ T292] CR2: 000055f1497bd0a8 CR3: 0000000118375000 CR4: 00000000003506a0 [ 27.373909][ T292] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 27.381688][ T292] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 27.389540][ T292] Kernel panic - not syncing: Fatal exception [ 27.395566][ T292] Kernel Offset: disabled [ 27.399701][ T292] Rebooting in 86400 seconds..