./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3503458344 <...> Warning: Permanently added '10.128.1.184' (ECDSA) to the list of known hosts. execve("./syz-executor3503458344", ["./syz-executor3503458344"], 0x7ffdd29cabd0 /* 10 vars */) = 0 brk(NULL) = 0x555555a22000 brk(0x555555a22c40) = 0x555555a22c40 arch_prctl(ARCH_SET_FS, 0x555555a22300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 set_tid_address(0x555555a225d0) = 297 set_robust_list(0x555555a225e0, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7fcd7a58f2f0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fcd7a58f9c0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7fcd7a58f390, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fcd7a58f9c0}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3503458344", 4096) = 28 brk(0x555555a43c40) = 0x555555a43c40 brk(0x555555a44000) = 0x555555a44000 mprotect(0x7fcd7a651000, 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(0x7fcd7a6574cc, FUTEX_WAKE_PRIVATE, 1000000) = 0 mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fcd7a55f000 mprotect(0x7fcd7a560000, 131072, PROT_READ|PROT_WRITE) = 0 clone(child_stack=0x7fcd7a57f3f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[298], tls=0x7fcd7a57f700, child_tidptr=0x7fcd7a57f9d0) = 298 futex(0x7fcd7a6574c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 futex(0x7fcd7a6574cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 298 attached [pid 298] set_robust_list(0x7fcd7a57f9e0, 24) = 0 [pid 298] mkdir("./file0", 000) = 0 [pid 298] futex(0x7fcd7a6574cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 297] <... futex resumed>) = 0 [pid 297] futex(0x7fcd7a6574c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 297] futex(0x7fcd7a6574cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 298] <... futex resumed>) = 1 [pid 298] openat(AT_FDCWD, "/dev/fuse", O_RDWR|O_CREAT, 000) = 3 [pid 298] futex(0x7fcd7a6574cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 297] <... futex resumed>) = 0 [pid 297] futex(0x7fcd7a6574c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 297] futex(0x7fcd7a6574cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 298] <... futex resumed>) = 1 [pid 298] mount(NULL, "./file0", "fuse", 0, "fd=0x0000000000000003,rootmode=00000000000000000040000,user_id=00000000000000000000,group_id=0000000"...) = 0 [pid 298] futex(0x7fcd7a6574cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 297] <... futex resumed>) = 0 [pid 297] futex(0x7fcd7a6574c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 297] futex(0x7fcd7a6574cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 298] <... futex resumed>) = 1 [pid 298] read(3, "\x68\x00\x00\x00\x1a\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00\x25\x00\x00\x00\x00\x00\x02\x00\xfb\xff\xff\x73\x01\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 8224) = 104 [pid 298] futex(0x7fcd7a6574cc, FUTEX_WAKE_PRIVATE, 1000000 [pid 297] <... futex resumed>) = 0 [pid 297] futex(0x7fcd7a6574c8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 297] futex(0x7fcd7a6574cc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 298] <... futex resumed>) = 1 [ 23.070760][ T28] audit: type=1400 audit(1688249869.434:66): avc: denied { execmem } for pid=297 comm="syz-executor350" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 23.090132][ T28] audit: type=1400 audit(1688249869.444:67): avc: denied { read write } for pid=297 comm="syz-executor350" name="fuse" dev="devtmpfs" ino=93 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fuse_device_t tclass=chr_file permissive=1 [pid 298] unlink("./file0/file0" [pid 297] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 297] futex(0x7fcd7a6574dc, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 297] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fcd7a53e000 [pid 297] mprotect(0x7fcd7a53f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 297] clone(child_stack=0x7fcd7a55e3f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[300], tls=0x7fcd7a55e700, child_tidptr=0x7fcd7a55e9d0) = 300 [pid 297] futex(0x7fcd7a6574d8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 297] futex(0x7fcd7a6574dc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 300 attached [pid 300] set_robust_list(0x7fcd7a55e9e0, 24) = 0 [pid 300] write(3, "\x50\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00\x21\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 80) = 80 [pid 300] futex(0x7fcd7a6574dc, FUTEX_WAKE_PRIVATE, 1000000 [pid 297] <... futex resumed>) = 0 [pid 297] futex(0x7fcd7a6574d8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 297] futex(0x7fcd7a6574dc, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 300] <... futex resumed>) = 1 [pid 300] read(3, "\x2e\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x2a\x01\x00\x00\x00\x00\x00\x00\x66\x69\x6c\x65\x30\x00", 8192) = 46 [ 23.113536][ T28] audit: type=1400 audit(1688249869.444:68): avc: denied { open } for pid=297 comm="syz-executor350" path="/dev/fuse" dev="devtmpfs" ino=93 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fuse_device_t tclass=chr_file permissive=1 [ 23.136903][ T28] audit: type=1400 audit(1688249869.444:69): avc: denied { mounton } for pid=297 comm="syz-executor350" path="/root/file0" dev="sda1" ino=1927 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 23.140754][ T298] general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN [ 23.159749][ T28] audit: type=1400 audit(1688249869.444:70): avc: denied { mount } for pid=297 comm="syz-executor350" name="/" dev="fuse" ino=1 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fusefs_t tclass=filesystem permissive=1 [ 23.171953][ T298] KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] [ 23.171969][ T298] CPU: 1 PID: 298 Comm: syz-executor350 Not tainted 6.1.25-syzkaller-00155-ged2a228522b9 #0 [ 23.171985][ T298] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 23.171994][ T298] RIP: 0010:do_unlinkat+0x3db/0x910 [ 23.227749][ T298] Code: de e8 89 8f ad ff 31 c0 81 fb 00 00 20 00 0f 94 c0 41 be ec ff ff ff 41 29 c6 e9 bd 00 00 00 49 8d 7d 30 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 05 e8 e9 a7 f3 ff 49 8b 45 30 48 89 44 24 38 4c [ 23.247453][ T298] RSP: 0018:ffffc90000da7d80 EFLAGS: 00010206 [ 23.253367][ T298] RAX: 0000000000000006 RBX: 0000000000000000 RCX: ffff888109712880 [ 23.261209][ T298] RDX: ffff888109712880 RSI: 0000000000000000 RDI: 0000000000000032 [ 23.268969][ T298] RBP: ffffc90000da7f08 R08: ffffffff81c7584c R09: fffff520001b4f8f [ 23.276792][ T298] R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 [ 23.284591][ T298] R13: 0000000000000002 R14: dffffc0000000000 R15: 1ffff11023f9455a [ 23.292489][ T298] FS: 00007fcd7a57f700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 23.301609][ T298] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.308031][ T298] CR2: 000000002000a000 CR3: 000000011f4e2000 CR4: 00000000003506a0 [ 23.315837][ T298] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 23.323646][ T298] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 23.331459][ T298] Call Trace: [ 23.334584][ T298] [ 23.337372][ T298] ? kasan_save_alloc_info+0x1f/0x30 [ 23.342482][ T298] ? fsnotify_link_count+0x100/0x100 [ 23.347603][ T298] ? getname_flags+0x1fd/0x520 [ 23.352204][ T298] __x64_sys_unlink+0x49/0x50 [ 23.356718][ T298] do_syscall_64+0x3d/0xb0 [ 23.360967][ T298] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 23.366697][ T298] RIP: 0033:0x7fcd7a5cd4a9 [ 23.370950][ T298] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 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 b8 ff ff ff f7 d8 64 89 01 48 [ 23.390565][ T298] RSP: 002b:00007fcd7a57f2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 [ 23.398808][ T298] RAX: ffffffffffffffda RBX: 00007fcd7a6574c0 RCX: 00007fcd7a5cd4a9 [ 23.406719][ T298] RDX: 00007fcd7a5cd4a9 RSI: 00000000000f4240 RDI: 0000000020000100 [ 23.414774][ T298] RBP: 00007fcd7a625024 R08: 0000000000000000 R09: 0000000000000000 [pid 300] write(3, "\x92\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00"..., 146) = 146 [pid 300] futex(0x7fcd7a6574dc, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 300] futex(0x7fcd7a6574d8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 297] <... futex resumed>) = 0 [ 23.422588][ T298] R10: 0000000000000030 R11: 0000000000000246 R12: 00007ffeed11800e [ 23.430409][ T298] R13: 00007fcd7a625040 R14: 0000000800000000 R15: 00007fcd7a6574c8 [ 23.438228][ T298] [ 23.441075][ T298] Modules linked in: [ 23.445793][ T298] ---[ end trace 0000000000000000 ]--- [ 23.451073][ T298] RIP: 0010:do_unlinkat+0x3db/0x910 [ 23.456232][ T298] Code: de e8 89 8f ad ff 31 c0 81 fb 00 00 20 00 0f 94 c0 41 be ec ff ff ff 41 29 c6 e9 bd 00 00 00 49 8d 7d 30 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 05 e8 e9 a7 f3 ff 49 8b 45 30 48 89 44 24 38 4c [ 23.476297][ T298] RSP: 0018:ffffc90000da7d80 EFLAGS: 00010206 [ 23.482157][ T298] RAX: 0000000000000006 RBX: 0000000000000000 RCX: ffff888109712880 [ 23.490015][ T298] RDX: ffff888109712880 RSI: 0000000000000000 RDI: 0000000000000032 [ 23.497966][ T298] RBP: ffffc90000da7f08 R08: ffffffff81c7584c R09: fffff520001b4f8f [ 23.505964][ T298] R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 [ 23.513747][ T298] R13: 0000000000000002 R14: dffffc0000000000 R15: 1ffff11023f9455a [pid 297] exit_group(0) = ? [pid 300] <... futex resumed>) = ? [pid 300] +++ exited with 0 +++ [ 23.521592][ T298] FS: 00007fcd7a57f700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 [ 23.530555][ T298] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.537169][ T298] CR2: 00007fcd7a5cd320 CR3: 000000011f4e2000 CR4: 00000000003506b0 [ 23.545009][ T298] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 23.552793][ T298] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 23.560721][ T298] Kernel panic - not syncing: Fatal exception [ 23.566773][ T298] Kernel Offset: disabled [ 23.571421][ T298] Rebooting in 86400 seconds..