./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3014081063 <...> Warning: Permanently added '10.128.0.192' (ED25519) to the list of known hosts. execve("./syz-executor3014081063", ["./syz-executor3014081063"], 0x7ffd9cae5c30 /* 10 vars */) = 0 brk(NULL) = 0x555557510000 brk(0x555557510d00) = 0x555557510d00 arch_prctl(ARCH_SET_FS, 0x555557510380) = 0 set_tid_address(0x555557510650) = 355 set_robust_list(0x555557510660, 24) = 0 rseq(0x555557510ca0, 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-executor3014081063", 4096) = 28 getrandom("\xc7\xdd\xff\x18\xc2\x21\xba\xf1", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555557510d00 brk(0x555557531d00) = 0x555557531d00 brk(0x555557532000) = 0x555557532000 mprotect(0x7f358d415000, 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 mkdir("./syzkaller.aSrrjf", 0700) = 0 chmod("./syzkaller.aSrrjf", 0777) = 0 chdir("./syzkaller.aSrrjf") = 0 mkdir("./0", 0777) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 356 attached , child_tidptr=0x555557510650) = 356 [pid 356] set_robust_list(0x555557510660, 24) = 0 [pid 356] chdir("./0") = 0 [pid 356] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 356] setpgid(0, 0) = 0 [pid 356] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 356] write(3, "1000", 4) = 4 [pid 356] close(3) = 0 [pid 356] symlink("/dev/binderfs", "./binderfs") = 0 [pid 356] mkdirat(AT_FDCWD, "./file0", 000) = 0 [pid 356] mount(NULL, "./file0", "tmpfs", 0, NULL) = 0 [pid 356] chdir("./file0") = 0 [pid 356] mkdirat(AT_FDCWD, "./file0", 000) = 0 [pid 356] mount(".", "./file0", NULL, MS_RDONLY|MS_SYNCHRONOUS|MS_DIRSYNC|MS_BIND|MS_SHARED, NULL) = 0 [pid 356] mount("./file0", "./file0", "incremental-fs", 0, NULL) = 0 [pid 356] exit_group(0) = ? [pid 356] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=356, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x5555575116f0 /* 4 entries */, 32768) = 112 umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./0/binderfs") = 0 umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=100, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=100, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x555557519730 /* 5 entries */, 32768) = 144 umount2("./0/file0/.incomplete", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/file0/.incomplete", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./0/file0/.incomplete", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0/file0/.incomplete", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5 newfstatat(5, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 getdents64(5, 0x555557521770 /* 2 entries */, 32768) = 48 getdents64(5, 0x555557521770 /* 0 entries */, 32768) = 0 close(5) = 0 rmdir("./0/file0/.incomplete") = 0 umount2("./0/file0/.index", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/file0/.index", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./0/file0/.index", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0/file0/.index", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5 newfstatat(5, "", {st_mode=S_IFDIR|0700, st_size=40, ...}, AT_EMPTY_PATH) = 0 getdents64(5, 0x555557521770 /* 2 entries */, 32768) = 48 getdents64(5, 0x555557521770 /* 0 entries */, 32768) = 0 close(5) = 0 rmdir("./0/file0/.index") = 0 [ 22.046517][ T23] audit: type=1400 audit(1712829261.610:66): avc: denied { execmem } for pid=355 comm="syz-executor301" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 22.057008][ T23] audit: type=1400 audit(1712829261.620:67): avc: denied { mounton } for pid=356 comm="syz-executor301" path="/root/syzkaller.aSrrjf/0/file0" dev="sda1" ino=1930 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 22.060904][ T23] audit: type=1400 audit(1712829261.620:68): avc: denied { mount } for pid=356 comm="syz-executor301" name="/" dev="tmpfs" ino=755 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:tmpfs_t tclass=filesystem permissive=1 [ 22.066190][ T23] audit: type=1400 audit(1712829261.630:69): avc: denied { mounton } for pid=356 comm="syz-executor301" path="/root/syzkaller.aSrrjf/0/file0/file0" dev="tmpfs" ino=756 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_tmpfs_t tclass=dir permissive=1 [ 22.089445][ T355] ------------[ cut here ]------------ [ 22.090030][ T23] audit: type=1400 audit(1712829261.640:70): avc: denied { mount } for pid=356 comm="syz-executor301" name="/" dev="incremental-fs" ino=755 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=filesystem permissive=1 [ 22.094712][ T355] WARNING: CPU: 0 PID: 355 at fs/inode.c:302 drop_nlink+0xbb/0x100 [ 22.094716][ T355] Modules linked in: [ 22.094727][ T355] CPU: 0 PID: 355 Comm: syz-executor301 Not tainted 5.4.268-syzkaller-00012-gd0d34dcb02cc #0 [ 22.094730][ T355] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 22.094739][ T355] RIP: 0010:drop_nlink+0xbb/0x100 [ 22.094747][ T355] Code: 49 8b 1e 48 8d bb d0 04 00 00 be 08 00 00 00 e8 eb ac f2 ff f0 48 ff 83 d0 04 00 00 5b 41 5c 41 5e 41 5f 5d c3 e8 75 05 c3 ff <0f> 0b eb 89 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 62 ff ff ff 4c [ 22.094751][ T355] RSP: 0018:ffff8881dbfa7b68 EFLAGS: 00010293 [ 22.094760][ T355] RAX: ffffffff81a141ab RBX: 1ffff1103c868bfc RCX: ffff8881dbda1f80 [ 22.094764][ T355] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 22.094769][ T355] RBP: 0000000000000000 R08: ffffffff81a1412f R09: 0000000000000003 [ 22.094774][ T355] R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881e4345fe0 [ 22.094780][ T355] R13: dffffc0000000000 R14: ffff8881e4345f98 R15: dffffc0000000000 [ 22.094787][ T355] FS: 0000555557510380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 [ 22.094793][ T355] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 22.094799][ T355] CR2: 0000555557529778 CR3: 00000001dbedc000 CR4: 00000000003406b0 [ 22.094806][ T355] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 22.094811][ T355] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 22.094813][ T355] Call Trace: [ 22.094825][ T355] ? __warn+0x162/0x250 [ 22.094834][ T355] ? report_bug+0x3a1/0x4e0 [ 22.094846][ T355] ? drop_nlink+0xbb/0x100 [ 22.117907][ T23] audit: type=1400 audit(1712829261.640:71): avc: denied { unmount } for pid=355 comm="syz-executor301" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:tmpfs_t tclass=filesystem permissive=1 [ 22.125604][ T355] ? drop_nlink+0xbb/0x100 [ 22.125619][ T355] ? do_invalid_op+0x6e/0x110 [ 22.129338][ T23] audit: type=1400 audit(1712829261.650:72): avc: denied { unmount } for pid=355 comm="syz-executor301" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=filesystem permissive=1 [ 22.139323][ T355] ? invalid_op+0x1e/0x30 [ 22.139332][ T355] ? drop_nlink+0x3f/0x100 [ 22.139338][ T355] ? drop_nlink+0xbb/0x100 [ 22.139351][ T355] ? drop_nlink+0xbb/0x100 [ 22.338433][ T355] ? drop_nlink+0xbb/0x100 [ 22.342677][ T355] shmem_rmdir+0x54/0x80 [ 22.346759][ T355] vfs_rmdir+0x285/0x3c0 [ 22.350835][ T355] incfs_kill_sb+0x105/0x200 [ 22.355265][ T355] deactivate_locked_super+0xa8/0x110 [ 22.360468][ T355] deactivate_super+0x1e2/0x2a0 [ 22.365155][ T355] ? deactivate_locked_super+0x110/0x110 [ 22.370623][ T355] ? lockref_put_return+0xbf/0xe0 [ 22.375502][ T355] ? dput+0x294/0x2f0 [ 22.379302][ T355] cleanup_mnt+0x44e/0x500 [ 22.383557][ T355] task_work_run+0x140/0x170 [ 22.387984][ T355] ptrace_notify+0x29e/0x350 [ 22.392408][ T355] ? dput+0x294/0x2f0 [ 22.396225][ T355] ? do_notify_parent+0xa10/0xa10 [ 22.401087][ T355] ? ksys_umount+0x3a6/0x410 [ 22.405516][ T355] ? namespace_unlock+0x4e0/0x4e0 [ 22.410373][ T355] ? fpu__clear+0x3c0/0x3c0 [ 22.414892][ T355] syscall_slow_exit_work+0x167/0x400 [ 22.420095][ T355] do_syscall_64+0x19d/0x1c0 [ 22.424524][ T355] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 22.430251][ T355] ---[ end trace 9b722ab515253295 ]--- [ 22.435709][ T355] ================================================================== [ 22.443570][ T355] BUG: KASAN: null-ptr-deref in ihold+0x1b/0x50 [ 22.449643][ T355] Write of size 4 at addr 0000000000000160 by task syz-executor301/355 [ 22.457712][ T355] [ 22.459886][ T355] CPU: 0 PID: 355 Comm: syz-executor301 Tainted: G W 5.4.268-syzkaller-00012-gd0d34dcb02cc #0 [ 22.471250][ T355] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 22.481156][ T355] Call Trace: [ 22.484300][ T355] dump_stack+0x1d8/0x241 [ 22.488441][ T355] ? panic+0x896/0x896 [ 22.492347][ T355] ? nf_ct_l4proto_log_invalid+0x258/0x258 [ 22.497990][ T355] ? _raw_spin_trylock_bh+0x190/0x190 [ 22.503198][ T355] ? shmem_destroy_inode+0x5/0x10 [ 22.508057][ T355] ? call_rcu+0x10/0x10 [ 22.512050][ T355] ? ihold+0x1b/0x50 [ 22.515785][ T355] __kasan_report+0xe9/0x120 [ 22.520224][ T355] ? ihold+0x1b/0x50 [ 22.523941][ T355] kasan_report+0x30/0x60 [ 22.528109][ T355] check_memory_region+0x272/0x280 [ 22.533052][ T355] ihold+0x1b/0x50 [ 22.536611][ T355] vfs_rmdir+0x1e0/0x3c0 [ 22.540696][ T355] incfs_kill_sb+0x105/0x200 [ 22.545122][ T355] deactivate_locked_super+0xa8/0x110 [ 22.550328][ T355] deactivate_super+0x1e2/0x2a0 [ 22.555019][ T355] ? deactivate_locked_super+0x110/0x110 [ 22.560572][ T355] ? lockref_put_return+0xbf/0xe0 [ 22.565441][ T355] ? dput+0x294/0x2f0 [ 22.569247][ T355] cleanup_mnt+0x44e/0x500 [ 22.573515][ T355] task_work_run+0x140/0x170 [ 22.577929][ T355] ptrace_notify+0x29e/0x350 [ 22.582352][ T355] ? dput+0x294/0x2f0 [ 22.586172][ T355] ? do_notify_parent+0xa10/0xa10 [ 22.591040][ T355] ? ksys_umount+0x3a6/0x410 [ 22.595560][ T355] ? namespace_unlock+0x4e0/0x4e0 [ 22.600406][ T355] ? fpu__clear+0x3c0/0x3c0 [ 22.604745][ T355] syscall_slow_exit_work+0x167/0x400 [ 22.609953][ T355] do_syscall_64+0x19d/0x1c0 [ 22.614381][ T355] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 22.620112][ T355] ================================================================== [ 22.628006][ T355] Disabling lock debugging due to kernel taint [ 22.634078][ T355] BUG: kernel NULL pointer dereference, address: 0000000000000160 [ 22.641632][ T355] #PF: supervisor write access in kernel mode [ 22.647534][ T355] #PF: error_code(0x0002) - not-present page [ 22.653347][ T355] PGD 0 P4D 0 [ 22.656561][ T355] Oops: 0002 [#1] PREEMPT SMP KASAN [ 22.661599][ T355] CPU: 0 PID: 355 Comm: syz-executor301 Tainted: G B W 5.4.268-syzkaller-00012-gd0d34dcb02cc #0 [ 22.672963][ T355] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 22.682864][ T355] RIP: 0010:ihold+0x20/0x50 [ 22.687203][ T355] Code: 0f 1f 84 00 00 00 00 00 66 90 55 53 48 89 fb e8 d6 fd c2 ff 48 8d bb 60 01 00 00 be 04 00 00 00 e8 25 a5 f2 ff bd 01 00 00 00 0f c1 ab 60 01 00 00 ff c5 bf 02 00 00 00 89 ee e8 9a 00 c3 ff [ 22.706640][ T355] RSP: 0018:ffff8881dbfa7ba0 EFLAGS: 00010246 [ 22.712542][ T355] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881dbda1f80 [ 22.720353][ T355] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000ffffffff [ 22.728166][ T355] RBP: 0000000000000001 R08: ffffffff813af685 R09: 0000000000000003 [ 22.735977][ T355] R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000000 [ 22.743789][ T355] R13: dffffc0000000000 R14: ffff8881e4346a00 R15: 0000000000000000 [ 22.751603][ T355] FS: 0000555557510380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 [ 22.760366][ T355] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 22.766790][ T355] CR2: 0000000000000160 CR3: 00000001dbedc000 CR4: 00000000003406b0 [ 22.774605][ T355] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 22.782412][ T355] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 22.790221][ T355] Call Trace: [ 22.793358][ T355] ? __die+0xb4/0x100 [ 22.797258][ T355] ? no_context+0xbda/0xe50 [ 22.801598][ T355] ? schedule_preempt_disabled+0x20/0x20 [ 22.807065][ T355] ? is_prefetch+0x4b0/0x4b0 [ 22.811490][ T355] ? ihold+0x1b/0x50 [ 22.815224][ T355] ? __do_page_fault+0xa7d/0xbb0 [ 22.820002][ T355] ? __bad_area_nosemaphore+0xc0/0x460 [ 22.825293][ T355] ? page_fault+0x2f/0x40 [ 22.829460][ T355] ? check_panic_on_warn+0x55/0xa0 [ 22.834412][ T355] ? ihold+0x20/0x50 [ 22.838137][ T355] vfs_rmdir+0x1e0/0x3c0 [ 22.842219][ T355] incfs_kill_sb+0x105/0x200 [ 22.846647][ T355] deactivate_locked_super+0xa8/0x110 [ 22.851851][ T355] deactivate_super+0x1e2/0x2a0 [ 22.856541][ T355] ? deactivate_locked_super+0x110/0x110 [ 22.862010][ T355] ? lockref_put_return+0xbf/0xe0 [ 22.866867][ T355] ? dput+0x294/0x2f0 [ 22.870686][ T355] cleanup_mnt+0x44e/0x500 [ 22.874941][ T355] task_work_run+0x140/0x170 [ 22.879368][ T355] ptrace_notify+0x29e/0x350 [ 22.883793][ T355] ? dput+0x294/0x2f0 [ 22.887616][ T355] ? do_notify_parent+0xa10/0xa10 [ 22.892473][ T355] ? ksys_umount+0x3a6/0x410 [ 22.896901][ T355] ? namespace_unlock+0x4e0/0x4e0 [ 22.901762][ T355] ? fpu__clear+0x3c0/0x3c0 [ 22.906098][ T355] syscall_slow_exit_work+0x167/0x400 [ 22.911308][ T355] do_syscall_64+0x19d/0x1c0 [ 22.915736][ T355] entry_SYSCALL_64_after_hwframe+0x5c/0xc1 [ 22.921459][ T355] Modules linked in: [ 22.925190][ T355] CR2: 0000000000000160 [ 22.929184][ T355] ---[ end trace 9b722ab515253296 ]--- [ 22.934482][ T355] RIP: 0010:ihold+0x20/0x50 [ 22.938821][ T355] Code: 0f 1f 84 00 00 00 00 00 66 90 55 53 48 89 fb e8 d6 fd c2 ff 48 8d bb 60 01 00 00 be 04 00 00 00 e8 25 a5 f2 ff bd 01 00 00 00 0f c1 ab 60 01 00 00 ff c5 bf 02 00 00 00 89 ee e8 9a 00 c3 ff [ 22.958261][ T355] RSP: 0018:ffff8881dbfa7ba0 EFLAGS: 00010246 [ 22.964164][ T355] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8881dbda1f80 [ 22.971975][ T355] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000ffffffff [ 22.979877][ T355] RBP: 0000000000000001 R08: ffffffff813af685 R09: 0000000000000003 [ 22.987688][ T355] R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000000 [ 22.995498][ T355] R13: dffffc0000000000 R14: ffff8881e4346a00 R15: 0000000000000000 [ 23.004178][ T355] FS: 0000555557510380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 [ 23.013289][ T355] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.021995][ T355] CR2: 0000000000000160 CR3: 00000001dbedc000 CR4: 00000000003406b0 [ 23.029806][ T355] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 23.037615][ T355] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 23.045427][ T355] Kernel panic - not syncing: Fatal exception [ 23.051610][ T355] Kernel Offset: disabled [ 23.055728][ T355] Rebooting in 86400 seconds..