./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2875515269 <...> d { noatsecure } for pid=219 comm="sshd" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 13.924857][ T24] audit: type=1400 audit(1714053115.920:63): avc: denied { write } for pid=219 comm="sh" path="pipe:[1859]" dev="pipefs" ino=1859 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 13.928484][ T24] audit: type=1400 audit(1714053115.920:64): avc: denied { rlimitinh } for pid=219 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 13.933057][ T24] audit: type=1400 audit(1714053115.920:65): avc: denied { siginh } for pid=219 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 Warning: Permanently added '10.128.1.48' (ED25519) to the list of known hosts. execve("./syz-executor2875515269", ["./syz-executor2875515269"], 0x7ffff7f60460 /* 10 vars */) = 0 brk(NULL) = 0x555556162000 brk(0x555556162d40) = 0x555556162d40 arch_prctl(ARCH_SET_FS, 0x5555561623c0) = 0 set_tid_address(0x555556162690) = 288 set_robust_list(0x5555561626a0, 24) = 0 rseq(0x555556162ce0, 0x20, 0, 0x53053053) = -1 ENOSYS (Function not implemented) prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2875515269", 4096) = 28 getrandom("\x77\xd7\x67\x6b\x7c\x28\x20\x04", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555556162d40 brk(0x555556183d40) = 0x555556183d40 brk(0x555556184000) = 0x555556184000 mprotect(0x7f3a69e4c000, 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 futex(0x7f3a69e5260c, FUTEX_WAKE_PRIVATE, 1000000) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f3a69df1000, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f3a69de26b0}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f3a69d69000 mprotect(0x7f3a69d6a000, 131072, PROT_READ|PROT_WRITE) = 0 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f3a69d89990, parent_tid=0x7f3a69d89990, exit_signal=0, stack=0x7f3a69d69000, stack_size=0x20300, tls=0x7f3a69d896c0} => {parent_tid=[289]}, 88) = 289 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 futex(0x7f3a69e52608, FUTEX_WAKE_PRIVATE, 1000000) = 0 futex(0x7f3a69e5260c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 289 attached [pid 289] set_robust_list(0x7f3a69d899a0, 24) = 0 [pid 289] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 289] memfd_create("syzkaller", 0) = 3 [pid 289] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3a61969000 [pid 289] 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 289] munmap(0x7f3a61969000, 138412032) = 0 [pid 289] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 289] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 289] close(3) = 0 [ 22.738415][ T24] audit: type=1400 audit(1714053124.740:66): avc: denied { execmem } for pid=288 comm="syz-executor287" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 22.758084][ T24] audit: type=1400 audit(1714053124.750:67): avc: denied { read write } for pid=288 comm="syz-executor287" 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 [pid 289] close(4) = 0 [pid 289] mkdir("./file0", 0777) = 0 [ 22.782100][ T24] audit: type=1400 audit(1714053124.750:68): avc: denied { open } for pid=288 comm="syz-executor287" 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 [ 22.806008][ T24] audit: type=1400 audit(1714053124.750:69): avc: denied { ioctl } for pid=288 comm="syz-executor287" 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 [ 22.831571][ T24] audit: type=1400 audit(1714053124.820:70): avc: denied { mounton } for pid=288 comm="syz-executor287" path="/root/file0" dev="sda1" ino=1927 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [pid 289] mount("/dev/loop0", "./file0", "ext4", MS_DIRSYNC|MS_NOATIME|MS_LAZYTIME, ",errors=continue") = 0 [pid 289] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 289] chdir("./file0") = 0 [pid 289] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 289] ioctl(4, LOOP_CLR_FD) = 0 [pid 289] close(4) = 0 [pid 289] futex(0x7f3a69e5260c, FUTEX_WAKE_PRIVATE, 1000000 [pid 288] <... futex resumed>) = 0 [pid 288] futex(0x7f3a69e52608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 288] futex(0x7f3a69e5260c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 289] <... futex resumed>) = 1 [pid 289] openat(AT_FDCWD, "pids.current", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 [pid 289] futex(0x7f3a69e5260c, FUTEX_WAKE_PRIVATE, 1000000 [pid 288] <... futex resumed>) = 0 [pid 288] futex(0x7f3a69e52608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 288] futex(0x7f3a69e5260c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 289] <... futex resumed>) = 1 [pid 289] write(4, "\x23\x21\x20\x0a\x00\x00\x00\x00", 8) = 8 [pid 289] futex(0x7f3a69e5260c, FUTEX_WAKE_PRIVATE, 1000000 [pid 288] <... futex resumed>) = 0 [pid 288] futex(0x7f3a69e52608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 288] futex(0x7f3a69e5260c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 289] <... futex resumed>) = 1 [pid 289] mmap(0x20000000, 11755520, PROT_WRITE, MAP_SHARED|MAP_FIXED|MAP_POPULATE|MAP_STACK, 4, 0) = 0x20000000 [pid 289] futex(0x7f3a69e5260c, FUTEX_WAKE_PRIVATE, 1000000 [pid 288] <... futex resumed>) = 0 [pid 288] futex(0x7f3a69e52608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 288] futex(0x7f3a69e5261c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 288] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f3a69d48000 [pid 288] mprotect(0x7f3a69d49000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 288] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 288] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f3a69d68990, parent_tid=0x7f3a69d68990, exit_signal=0, stack=0x7f3a69d48000, stack_size=0x20300, tls=0x7f3a69d686c0} => {parent_tid=[294]}, 88) = 294 [pid 288] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 288] futex(0x7f3a69e52618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 288] futex(0x7f3a69e5261c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 289] <... futex resumed>) = 1 [ 22.941660][ T289] EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue [ 22.950533][ T24] audit: type=1400 audit(1714053124.960:71): avc: denied { mount } for pid=288 comm="syz-executor287" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 ./strace-static-x86_64: Process 294 attached [pid 294] set_robust_list(0x7f3a69d689a0, 24) = 0 [pid 294] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 22.973223][ T24] audit: type=1400 audit(1714053124.960:72): avc: denied { write } for pid=288 comm="syz-executor287" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 22.974819][ T289] EXT4-fs error (device loop0): ext4_mb_generate_buddy:808: group 0, block bitmap and bg descriptor inconsistent: 25 vs 150994969 free clusters [ 23.010047][ T24] audit: type=1400 audit(1714053124.960:73): avc: denied { add_name } for pid=288 comm="syz-executor287" name="pids.current" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [pid 294] ioctl(4, FIBMAP [pid 288] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 289] --- SIGBUS {si_signo=SIGBUS, si_code=BUS_ADRERR, si_addr=0x200000d0} --- [ 23.010706][ T294] EXT4-fs (loop0): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 [ 23.032065][ T24] audit: type=1400 audit(1714053124.960:74): avc: denied { create } for pid=288 comm="syz-executor287" name="pids.current" scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:unlabeled_t tclass=file permissive=1 [ 23.043558][ T294] EXT4-fs (loop0): This should not happen!! Data will be lost [ 23.043558][ T294] [ 23.065349][ T24] audit: type=1400 audit(1714053124.960:75): avc: denied { read append open } for pid=288 comm="syz-executor287" path="/root/file0/pids.current" dev="loop0" ino=18 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:unlabeled_t tclass=file permissive=1 [ 23.073842][ T294] EXT4-fs (loop0): Total free blocks count 0 [ 23.103897][ T294] EXT4-fs (loop0): Free/Dirty block details [ 23.109583][ T294] EXT4-fs (loop0): free_blocks=2415919104 [ 23.115362][ T294] EXT4-fs (loop0): dirty_blocks=16 [ 23.120250][ T294] EXT4-fs (loop0): Block reservation details [ 23.126046][ T294] EXT4-fs (loop0): i_reserved_data_blocks=1 [ 23.131989][ T294] ------------[ cut here ]------------ [ 23.137250][ T294] kernel BUG at fs/ext4/inode.c:2766! [ 23.142527][ T294] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 23.148364][ T294] CPU: 1 PID: 294 Comm: syz-executor287 Not tainted 5.10.210-syzkaller-00394-g70b6ab09a34b #0 [ 23.158425][ T294] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 23.168346][ T294] RIP: 0010:ext4_writepages+0x3bdf/0x3c00 [ 23.173876][ T294] Code: 63 8c ff 31 ff 89 de e8 ff 62 8c ff 45 84 f6 75 27 e8 65 60 8c ff 49 be 00 00 00 00 00 fc ff df e9 0e f7 ff ff e8 51 60 8c ff <0f> 0b e8 4a 60 8c ff e8 a1 35 22 ff eb 9b e8 3e 60 8c ff e8 95 35 [ 23.193327][ T294] RSP: 0018:ffffc90000bf7420 EFLAGS: 00010293 [ 23.199306][ T294] RAX: ffffffff81de49af RBX: 0000008000000000 RCX: ffff88811e8c93c0 [ 23.207118][ T294] RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 [ 23.214929][ T294] RBP: ffffc90000bf7810 R08: ffffffff81de1423 R09: ffffed102391e82a [ 23.222739][ T294] R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 [ 23.230550][ T294] R13: ffffc90000bf7980 R14: 000000c410000000 R15: ffffc90000bf76e0 [ 23.238364][ T294] FS: 00007f3a69d686c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 23.247126][ T294] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.253549][ T294] CR2: 0000000020000080 CR3: 000000011e3b0000 CR4: 00000000003506a0 [ 23.261372][ T294] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 23.269195][ T294] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 23.277331][ T294] Call Trace: [ 23.280645][ T294] ? __die_body+0x62/0xb0 [ 23.284907][ T294] ? die+0x88/0xb0 [ 23.288442][ T294] ? do_trap+0x1a4/0x310 [ 23.292524][ T294] ? ext4_writepages+0x3bdf/0x3c00 [ 23.297468][ T294] ? handle_invalid_op+0x95/0xc0 [ 23.302241][ T294] ? ext4_writepages+0x3bdf/0x3c00 [ 23.307191][ T294] ? exc_invalid_op+0x32/0x50 [ 23.311713][ T294] ? asm_exc_invalid_op+0x12/0x20 [ 23.316562][ T294] ? ext4_writepages+0x653/0x3c00 [ 23.321422][ T294] ? ext4_writepages+0x3bdf/0x3c00 [ 23.326371][ T294] ? ext4_writepages+0x3bdf/0x3c00 [ 23.331320][ T294] ? ext4_release_io_end+0x282/0x2d0 [ 23.336447][ T294] ? preempt_count_add+0x92/0x1a0 [ 23.341300][ T294] ? ext4_writepages+0x3382/0x3c00 [ 23.346254][ T294] ? ext4_readpage+0x230/0x230 [ 23.350849][ T294] ? ext4_readpage+0x230/0x230 [ 23.355454][ T294] ? xas_find_marked+0xa58/0xb80 [ 23.360228][ T294] ? ext4_readpage+0x230/0x230 [ 23.364821][ T294] do_writepages+0x12e/0x270 [ 23.369248][ T294] ? __writepage+0x130/0x130 [ 23.373673][ T294] ? _raw_spin_unlock+0x4d/0x70 [ 23.378362][ T294] __filemap_fdatawrite_range+0x33c/0x3f0 [ 23.383916][ T294] ? filemap_check_errors+0x150/0x150 [ 23.389126][ T294] ? filemap_fdatawait_range+0x40/0x40 [ 23.394417][ T294] ? __filemap_fdatawrite_range+0x347/0x3f0 [ 23.400148][ T294] filemap_write_and_wait_range+0x64/0xe0 [ 23.405699][ T294] iomap_bmap+0xc0/0x1f0 [ 23.409778][ T294] ? iomap_fiemap_actor+0x2a0/0x2a0 [ 23.414813][ T294] ? __kasan_check_read+0x11/0x20 [ 23.419673][ T294] ? filemap_check_errors+0xee/0x150 [ 23.424794][ T294] ? filemap_write_and_wait_range+0xc5/0xe0 [ 23.430522][ T294] ext4_bmap+0x2ea/0x430 [ 23.434602][ T294] ? ext4_journalled_write_end+0x11e0/0x11e0 [ 23.440416][ T294] bmap+0xa5/0xe0 [ 23.443887][ T294] do_vfs_ioctl+0x156f/0x1a30 [ 23.448405][ T294] ? __x32_compat_sys_ioctl+0x90/0x90 [ 23.453613][ T294] ? file_has_perm+0x508/0x6c0 [ 23.458215][ T294] ? __kasan_check_write+0x14/0x20 [ 23.463159][ T294] ? match_file+0x140/0x140 [ 23.467498][ T294] ? _raw_spin_lock_irq+0xa5/0x1b0 [ 23.472446][ T294] ? _raw_spin_unlock_irq+0x4e/0x70 [ 23.477479][ T294] ? cgroup_leave_frozen+0x164/0x2c0 [ 23.482703][ T294] ? selinux_file_ioctl+0x236/0x540 [ 23.487740][ T294] ? selinux_file_alloc_security+0x120/0x120 [ 23.493557][ T294] ? __fget_files+0x31e/0x380 [ 23.498068][ T294] ? security_file_ioctl+0x84/0xb0 [ 23.503013][ T294] __se_sys_ioctl+0x99/0x190 [ 23.507440][ T294] __x64_sys_ioctl+0x7b/0x90 [ 23.511865][ T294] do_syscall_64+0x34/0x70 [ 23.516120][ T294] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 23.521848][ T294] RIP: 0033:0x7f3a69dcb1a9 [ 23.526101][ T294] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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 b0 ff ff ff f7 d8 64 89 01 48 [ 23.545539][ T294] RSP: 002b:00007f3a69d68218 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 23.553794][ T294] RAX: ffffffffffffffda RBX: 00007f3a69e52618 RCX: 00007f3a69dcb1a9 [ 23.561596][ T294] RDX: 0000000020000080 RSI: 0000000000000001 RDI: 0000000000000004 [ 23.569410][ T294] RBP: 00007f3a69e52610 R08: 00007fffbafe8ce7 R09: 0000000000000000 [ 23.577324][ T294] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3a69e1f7e8 [ 23.585133][ T294] R13: 0030656c69662f2e R14: 00746e6572727563 R15: 7275632e73646970 [ 23.593117][ T294] Modules linked in: [ 23.597050][ T294] ---[ end trace 5db0eed95efc0796 ]--- [ 23.602271][ T294] RIP: 0010:ext4_writepages+0x3bdf/0x3c00 [ 23.607819][ T294] Code: 63 8c ff 31 ff 89 de e8 ff 62 8c ff 45 84 f6 75 27 e8 65 60 8c ff 49 be 00 00 00 00 00 fc ff df e9 0e f7 ff ff e8 51 60 8c ff <0f> 0b e8 4a 60 8c ff e8 a1 35 22 ff eb 9b e8 3e 60 8c ff e8 95 35 [ 23.627445][ T294] RSP: 0018:ffffc90000bf7420 EFLAGS: 00010293 [ 23.633322][ T294] RAX: ffffffff81de49af RBX: 0000008000000000 RCX: ffff88811e8c93c0 [ 23.641149][ T294] RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 [ 23.648914][ T294] RBP: ffffc90000bf7810 R08: ffffffff81de1423 R09: ffffed102391e82a [ 23.656773][ T294] R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 [ 23.664553][ T294] R13: ffffc90000bf7980 R14: 000000c410000000 R15: ffffc90000bf76e0 [ 23.672379][ T294] FS: 00007f3a69d686c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 23.681130][ T294] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.687528][ T294] CR2: 0000000020000080 CR3: 000000011e3b0000 CR4: 00000000003506a0 [ 23.695373][ T294] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 23.703174][ T294] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 23.710994][ T294] Kernel panic - not syncing: Fatal exception [ 23.717156][ T294] Kernel Offset: disabled [ 23.721289][ T294] Rebooting in 86400 seconds..