./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3182865493 <...> [ 70.420131][ T29] audit: type=1400 audit(1729823383.193:78): avc: denied { transition } for pid=5681 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 [ 70.448707][ T29] audit: type=1400 audit(1729823383.203:79): avc: denied { noatsecure } for pid=5681 comm="sshd" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 70.468009][ T29] audit: type=1400 audit(1729823383.213:80): avc: denied { write } for pid=5681 comm="sh" path="pipe:[4687]" dev="pipefs" ino=4687 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 70.491304][ T29] audit: type=1400 audit(1729823383.213:81): avc: denied { rlimitinh } for pid=5681 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 70.511331][ T29] audit: type=1400 audit(1729823383.213:82): avc: denied { siginh } for pid=5681 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 71.088088][ T29] audit: type=1400 audit(1729823383.863:83): avc: denied { write } for pid=5684 comm="sftp-server" path="pipe:[4703]" dev="pipefs" ino=4703 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 71.387828][ T29] audit: type=1400 audit(1729823384.163:84): avc: denied { read } for pid=5185 comm="syslogd" name="log" dev="sda1" ino=1915 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:var_t tclass=lnk_file permissive=1 [ 71.410078][ T29] audit: type=1400 audit(1729823384.163:85): avc: denied { append } for pid=5185 comm="syslogd" name="messages" dev="tmpfs" ino=3 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 [ 71.432637][ T29] audit: type=1400 audit(1729823384.163:86): avc: denied { open } for pid=5185 comm="syslogd" path="/tmp/messages" dev="tmpfs" ino=3 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 [ 71.455121][ T29] audit: type=1400 audit(1729823384.163:87): avc: denied { getattr } for pid=5185 comm="syslogd" path="/tmp/messages" dev="tmpfs" ino=3 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 Warning: Permanently added '10.128.1.96' (ED25519) to the list of known hosts. execve("./syz-executor3182865493", ["./syz-executor3182865493"], 0x7fff81450520 /* 10 vars */) = 0 brk(NULL) = 0x555558295000 brk(0x555558295d00) = 0x555558295d00 arch_prctl(ARCH_SET_FS, 0x555558295380) = 0 set_tid_address(0x555558295650) = 5831 set_robust_list(0x555558295660, 24) = 0 rseq(0x555558295ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3182865493", 4096) = 28 getrandom("\x6b\x6b\xfe\xd3\xf6\x97\x80\xc2", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555558295d00 brk(0x5555582b6d00) = 0x5555582b6d00 brk(0x5555582b7000) = 0x5555582b7000 mprotect(0x7f005c867000, 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 openat(AT_FDCWD, "/proc/self/make-it-fail", O_WRONLY) = 3 close(3) = 0 openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_WRONLY) = 3 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/failslab/ignore-gfp-wait", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 [ 90.260879][ T29] audit: type=1400 audit(1729823403.043:88): avc: denied { execmem } for pid=5831 comm="syz-executor318" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_futex/ignore-private", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/ignore-gfp-highmem", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/ignore-gfp-wait", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/min-order", O_WRONLY|O_CLOEXEC) = 3 write(3, "0", 1) = 1 close(3) = 0 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555558295650) = 5832 ./strace-static-x86_64: Process 5832 attached [pid 5832] set_robust_list(0x555558295660, 24) = 0 [pid 5832] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5832] getppid() = 0 [pid 5832] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5832] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5832] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5832] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5832] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5832] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5832] unshare(CLONE_NEWNS) = 0 [pid 5832] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5832] unshare(CLONE_NEWIPC) = 0 [pid 5832] unshare(CLONE_NEWCGROUP) = 0 [pid 5832] unshare(CLONE_NEWUTS) = 0 [ 90.499474][ T29] audit: type=1400 audit(1729823403.273:89): avc: denied { mounton } for pid=5832 comm="syz-executor318" path="/" dev="sda1" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:root_t tclass=dir permissive=1 [pid 5832] unshare(CLONE_SYSVSEM) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "16777216", 8) = 8 [pid 5832] close(3) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "536870912", 9) = 9 [pid 5832] close(3) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "1024", 4) = 4 [pid 5832] close(3) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "8192", 4) = 4 [pid 5832] close(3) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "1024", 4) = 4 [pid 5832] close(3) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "1024", 4) = 4 [pid 5832] close(3) = 0 [pid 5832] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5832] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5832] close(3) = 0 [pid 5832] getpid() = 1 [pid 5832] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [ 91.274496][ T5835] dump_stack_lvl+0x16c/0x1f0 [ 91.279228][ T5835] should_fail_ex+0x497/0x5b0 [ 91.283940][ T5835] ? fs_reclaim_acquire+0xae/0x150 [ 91.289071][ T5835] should_failslab+0xc2/0x120 [ 91.293769][ T5835] kmem_cache_alloc_noprof+0x6e/0x2f0 [ 91.299162][ T5835] ? mas_alloc_nodes+0x176/0x860 [ 91.304141][ T5835] mas_alloc_nodes+0x176/0x860 [ 91.308956][ T5835] mas_node_count_gfp+0x105/0x130 [ 91.314029][ T5835] mas_preallocate+0x53b/0xcd0 [ 91.318827][ T5835] ? __pfx_mas_preallocate+0x10/0x10 [ 91.324158][ T5835] mmap_region+0x164a/0x2a50 [ 91.328793][ T5835] ? __pfx_mmap_region+0x10/0x10 [ 91.333761][ T5835] ? avc_has_perm_noaudit+0x61/0x3a0 [ 91.339144][ T5835] ? bpf_lsm_mmap_addr+0x9/0x10 [ 91.344021][ T5835] ? security_mmap_addr+0x6c/0x1e0 [ 91.349164][ T5835] ? __get_unmapped_area+0x26b/0x3a0 [ 91.354488][ T5835] do_mmap+0xc00/0xfc0 [ 91.358597][ T5835] vm_mmap_pgoff+0x1ba/0x360 [ 91.363264][ T5835] ? __pfx_vm_mmap_pgoff+0x10/0x10 [ 91.368413][ T5835] ? __fget_files+0x244/0x3f0 [ 91.373136][ T5835] ksys_mmap_pgoff+0x32c/0x5c0 [ 91.377924][ T5835] ? _raw_spin_unlock_irq+0x23/0x50 [ 91.383160][ T5835] __x64_sys_mmap+0x125/0x190 [ 91.387869][ T5835] do_syscall_64+0xcd/0x250 [ 91.392414][ T5835] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 91.398342][ T5835] RIP: 0033:0x7f005c7fbdf9 [ 91.402793][ T5835] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 31 1b 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 [ 91.422425][ T5835] RSP: 002b:00007ffec041ea48 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [pid 5835] mmap(0x20ffd000, 12288, PROT_NONE, MAP_SHARED_VALIDATE|MAP_FIXED, 3, 0xcbff9000) = -1 ENOMEM (Cannot allocate memory) [pid 5835] close(3) = 0 [pid 5835] close(4) = 0 [pid 5835] close(5) = 0 [ 91.430865][ T5835] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f005c7fbdf9 [ 91.438857][ T5835] RDX: 0000000000000000 RSI: 0000000000003000 RDI: 0000000020ffd000 [ 91.446851][ T5835] RBP: 0000000000000001 R08: 0000000000000003 R09: 00000000cbff9000 [ 91.454846][ T5835] R10: 0000000000000013 R11: 0000000000000246 R12: 00007f005c842ddc [ 91.462840][ T5835] R13: 00007f005c83d0ce R14: 00007ffec041ea90 R15: 00007ffec041ea80 [ 91.470858][ T5835] [pid 5835] close(6) = 0 [pid 5835] close(7) = -1 EBADF (Bad file descriptor) [pid 5835] close(8) = -1 EBADF (Bad file descriptor) [pid 5835] close(9) = -1 EBADF (Bad file descriptor) [pid 5835] close(10) = -1 EBADF (Bad file descriptor) [pid 5835] close(11) = -1 EBADF (Bad file descriptor) [pid 5835] close(12) = -1 EBADF (Bad file descriptor) [pid 5835] close(13) = -1 EBADF (Bad file descriptor) [pid 5835] close(14) = -1 EBADF (Bad file descriptor) [pid 5835] close(15) = -1 EBADF (Bad file descriptor) [pid 5835] close(16) = -1 EBADF (Bad file descriptor) [pid 5835] close(17) = -1 EBADF (Bad file descriptor) [pid 5835] close(18) = -1 EBADF (Bad file descriptor) [pid 5835] close(19) = -1 EBADF (Bad file descriptor) [pid 5835] close(20) = -1 EBADF (Bad file descriptor) [pid 5835] close(21) = -1 EBADF (Bad file descriptor) [pid 5835] close(22) = -1 EBADF (Bad file descriptor) [pid 5835] close(23) = -1 EBADF (Bad file descriptor) [pid 5835] close(24) = -1 EBADF (Bad file descriptor) [pid 5835] close(25) = -1 EBADF (Bad file descriptor) [pid 5835] close(26) = -1 EBADF (Bad file descriptor) [pid 5835] close(27) = -1 EBADF (Bad file descriptor) [pid 5835] close(28) = -1 EBADF (Bad file descriptor) [pid 5835] close(29) = -1 EBADF (Bad file descriptor) [pid 5835] exit_group(0) = ? [ 91.498903][ T9] ------------[ cut here ]------------ [ 91.504933][ T9] kernel BUG at drivers/android/binder_alloc.c:897! [ 91.511754][ T9] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 91.518730][ T9] CPU: 0 UID: 0 PID: 9 Comm: kworker/0:1 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 [ 91.529251][ T9] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 91.539336][ T9] Workqueue: events binder_deferred_func [ 91.545012][ T9] RIP: 0010:binder_alloc_deferred_release+0x68c/0x820 [ 91.551812][ T9] Code: 00 00 00 48 c7 c6 20 7f 8d 8c 48 c7 c7 e0 7c 8d 8c 44 8b 44 24 14 8b 4c 24 10 e8 ef fd bb f8 e9 56 ff ff ff e8 d5 4b dc f8 90 <0f> 0b e8 cd 4b dc f8 48 89 ef e8 05 46 9c f8 e9 21 ff ff ff e8 ab [ 91.571438][ T9] RSP: 0018:ffffc900000e7b98 EFLAGS: 00010293 [ 91.577523][ T9] RAX: 0000000000000000 RBX: ffff8880415e3220 RCX: ffffffff816b1a6d [ 91.585516][ T9] RDX: ffff88801d6c0000 RSI: ffffffff88b1332b RDI: ffff8880415e3260 [ 91.593528][ T9] RBP: 0000000000000003 R08: 0000000000000001 R09: fffff5200001cf65 [ 91.601514][ T9] R10: 0000000000000003 R11: 0000000000000000 R12: ffff8880335c1860 [ 91.609507][ T9] R13: ffff8880335c1910 R14: ffff8880415e32c8 R15: ffff8880415e3000 [ 91.617494][ T9] FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 91.626536][ T9] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 91.633141][ T9] CR2: 00007f005c851546 CR3: 0000000079838000 CR4: 00000000003526f0 [ 91.641128][ T9] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 91.649110][ T9] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 91.657095][ T9] Call Trace: [ 91.660386][ T9] [ 91.663333][ T9] ? die+0x31/0x80 [ 91.667078][ T9] ? do_trap+0x232/0x430 [ 91.671357][ T9] ? binder_alloc_deferred_release+0x68c/0x820 [ 91.677549][ T9] ? binder_alloc_deferred_release+0x68c/0x820 [ 91.683744][ T9] ? do_error_trap+0xf4/0x230 [ 91.688447][ T9] ? binder_alloc_deferred_release+0x68c/0x820 [ 91.694636][ T9] ? handle_invalid_op+0x34/0x40 [ 91.699611][ T9] ? binder_alloc_deferred_release+0x68c/0x820 [ 91.705798][ T9] ? exc_invalid_op+0x2e/0x50 [ 91.710490][ T9] ? asm_exc_invalid_op+0x1a/0x20 [ 91.715564][ T9] ? do_raw_spin_lock+0x12d/0x2c0 [ 91.720619][ T9] ? binder_alloc_deferred_release+0x68b/0x820 [ 91.726808][ T9] ? binder_alloc_deferred_release+0x68c/0x820 [ 91.732998][ T9] ? binder_alloc_deferred_release+0x68b/0x820 [ 91.739191][ T9] binder_proc_dec_tmpref+0x291/0x590 [ 91.744599][ T9] binder_deferred_func+0xeda/0x12e0 [ 91.749920][ T9] process_one_work+0x9c5/0x1ba0 [ 91.754883][ T9] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 91.760538][ T9] ? __pfx_process_one_work+0x10/0x10 [ 91.765939][ T9] ? assign_work+0x1a0/0x250 [ 91.770575][ T9] worker_thread+0x6c8/0xf00 [ 91.775197][ T9] ? __kthread_parkme+0x148/0x220 [ 91.780254][ T9] ? __pfx_worker_thread+0x10/0x10 [ 91.785384][ T9] kthread+0x2c1/0x3a0 [ 91.789479][ T9] ? _raw_spin_unlock_irq+0x23/0x50 [ 91.794708][ T9] ? __pfx_kthread+0x10/0x10 [pid 5835] +++ exited with 0 +++ [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2, si_uid=0, si_status=0, si_utime=0, si_stime=32 /* 0.32 s */} --- [ 91.799340][ T9] ret_from_fork+0x45/0x80 [ 91.803780][ T9] ? __pfx_kthread+0x10/0x10 [ 91.808397][ T9] ret_from_fork_asm+0x1a/0x30 [ 91.813203][ T9] [ 91.816231][ T9] Modules linked in: [ 91.820351][ T9] ---[ end trace 0000000000000000 ]--- [ 91.826621][ T9] RIP: 0010:binder_alloc_deferred_release+0x68c/0x820 [pid 5832] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555558295650) = 3 ./strace-static-x86_64: Process 5836 attached [pid 5836] set_robust_list(0x555558295660, 24) = 0 [pid 5836] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5836] setpgid(0, 0) = 0 [pid 5836] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5836] write(3, "1000", 4) = 4 [ 91.833535][ T9] Code: 00 00 00 48 c7 c6 20 7f 8d 8c 48 c7 c7 e0 7c 8d 8c 44 8b 44 24 14 8b 4c 24 10 e8 ef fd bb f8 e9 56 ff ff ff e8 d5 4b dc f8 90 <0f> 0b e8 cd 4b dc f8 48 89 ef e8 05 46 9c f8 e9 21 ff ff ff e8 ab [ 91.853240][ T9] RSP: 0018:ffffc900000e7b98 EFLAGS: 00010293 [ 91.859711][ T9] RAX: 0000000000000000 RBX: ffff8880415e3220 RCX: ffffffff816b1a6d [ 91.867742][ T9] RDX: ffff88801d6c0000 RSI: ffffffff88b1332b RDI: ffff8880415e3260 [ 91.876239][ T9] RBP: 0000000000000003 R08: 0000000000000001 R09: fffff5200001cf65 [ 91.884410][ T9] R10: 0000000000000003 R11: 0000000000000000 R12: ffff8880335c1860 [ 91.892434][ T9] R13: ffff8880335c1910 R14: ffff8880415e32c8 R15: ffff8880415e3000 [pid 5836] close(3) = 0 executing program [pid 5836] write(1, "executing program\n", 18) = 18 [pid 5836] openat(AT_FDCWD, "./binderfs/binder0", O_RDONLY) = 3 [pid 5836] openat(AT_FDCWD, "./binderfs/binder0", O_RDONLY) = 4 [pid 5836] dup3(4, 3, 0) = 3 [pid 5836] openat(AT_FDCWD, "./binderfs/binder0", O_RDONLY) = 5 [pid 5836] mmap(0x20ffd000, 4096, PROT_READ, MAP_SHARED|MAP_FIXED, 5, 0) = 0x20ffd000 [ 91.900689][ T9] FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 [ 91.909890][ T9] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 91.916702][ T9] CR2: 00007f005c851546 CR3: 000000000df7c000 CR4: 00000000003526f0 [ 91.924737][ T9] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 91.932802][ T9] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 91.941623][ T9] Kernel panic - not syncing: Fatal exception [ 91.948531][ T9] Kernel Offset: disabled [ 91.952861][ T9] Rebooting in 86400 seconds..