./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor741695211 <...> Warning: Permanently added '10.128.0.209' (ED25519) to the list of known hosts. execve("./syz-executor741695211", ["./syz-executor741695211"], 0x7fffe4466af0 /* 10 vars */) = 0 brk(NULL) = 0x555574a5a000 brk(0x555574a5ad00) = 0x555574a5ad00 arch_prctl(ARCH_SET_FS, 0x555574a5a380) = 0 set_tid_address(0x555574a5a650) = 5076 set_robust_list(0x555574a5a660, 24) = 0 rseq(0x555574a5aca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor741695211", 4096) = 27 getrandom("\xff\x12\x16\x4b\x5b\x58\x3c\x98", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555574a5ad00 brk(0x555574a7bd00) = 0x555574a7bd00 brk(0x555574a7c000) = 0x555574a7c000 mprotect(0x7fdf9f86e000, 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 getrandom("\x86\xea\x49\xa5\x1d\xd4\x97\xe1", 8, GRND_NONBLOCK) = 8 mkdir("./syzkaller.uBYWUy", 0700) = 0 chmod("./syzkaller.uBYWUy", 0777) = 0 chdir("./syzkaller.uBYWUy") = 0 mkdir("./0", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5077 attached , child_tidptr=0x555574a5a650) = 5077 [pid 5077] set_robust_list(0x555574a5a660, 24) = 0 [pid 5077] chdir("./0") = 0 [pid 5077] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5077] setpgid(0, 0) = 0 [pid 5077] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5077] write(3, "1000", 4) = 4 [pid 5077] close(3) = 0 [pid 5077] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5077] memfd_create("syzkaller", 0) = 3 [pid 5077] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf97200000 [pid 5077] write(3, "\xeb\x52\x90\x4e\x54\x46\x53\x20\x20\x20\x20\x00\x02\x02\x00\x00\x00\x00\x00\x00\x00\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x80\x00\xff\x0f\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\xff\x03\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\x8f\x24\x2d\x5f\x49\x6d\x50\x0b\x00\x00\x00\x00\x0e\x1f\xbe\x71\x7c\xac\x22\xc0\x74\x0b\x56\xb4\x0e\xbb\x07\x00"..., 2097152) = 2097152 [pid 5077] munmap(0x7fdf97200000, 138412032) = 0 [pid 5077] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5077] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5077] close(3) = 0 [pid 5077] close(4) = 0 [pid 5077] mkdir("./bus", 0777) = 0 [ 112.254753][ T5077] loop0: detected capacity change from 0 to 4096 [pid 5077] mount("/dev/loop0", "./bus", "ntfs3", MS_NODEV|MS_SYNCHRONOUS|MS_NODIRATIME|MS_REC, "") = 0 [pid 5077] openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3 [pid 5077] chdir("./bus") = 0 [pid 5077] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5077] open(".", O_RDONLY) = 4 [pid 5077] fcntl(4, F_NOTIFY, DN_ACCESS|DN_CREATE|DN_ATTRIB) = 0 [pid 5077] openat(AT_FDCWD, ".", O_RDONLY) = 5 [ 112.322592][ T5077] ntfs3: loop0: Mark volume as dirty due to NTFS errors [pid 5077] fchown(5, -1, 0) = 0 [pid 5077] exit_group(0) = ? [pid 5077] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5077, si_uid=0, si_status=0, si_utime=0, si_stime=14 /* 0.14 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./0", MNT_DETACH|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, 0x555574a5b6f0 /* 4 entries */, 32768) = 104 umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = 0 umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/bus", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 112.371518][ T5077] ntfs3: loop0: ino=5, "/" attr_set_size umount2("./0/bus", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0/bus", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x555574a63730 /* 2 entries */, 32768) = 48 getdents64(4, 0x555574a63730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./0/bus") = 0 umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 112.455200][ T1050] ------------[ cut here ]------------ [ 112.461092][ T1050] kernel BUG at fs/notify/dnotify/dnotify.c:135! [ 112.467535][ T1050] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 112.474175][ T1050] CPU: 1 PID: 1050 Comm: kworker/u8:7 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 [ 112.484023][ T1050] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 112.494116][ T1050] Workqueue: events_unbound fsnotify_mark_destroy_workfn unlink("./0/binderfs") = 0 getdents64(3, 0x555574a5b6f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./0") = 0 mkdir("./1", 0777) = 0 [ 112.501222][ T1050] RIP: 0010:dnotify_free_mark+0x50/0x60 [ 112.506812][ T1050] Code: 3c 02 00 75 27 48 83 bb 80 00 00 00 00 75 15 e8 66 77 80 ff 48 89 de 48 8b 3d 04 e3 15 0b 5b e9 96 4c d1 ff e8 51 77 80 ff 90 <0f> 0b e8 b9 59 db ff eb d2 0f 1f 80 00 00 00 00 90 90 90 90 90 90 [ 112.526670][ T1050] RSP: 0018:ffffc90004667be8 EFLAGS: 00010293 [ 112.532764][ T1050] RAX: 0000000000000000 RBX: ffff88807afde000 RCX: 1ffff1100f5fbc02 [ 112.540766][ T1050] RDX: ffff888021ff1e00 RSI: ffffffff820dc4df RDI: ffff88807afde080 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [ 112.548771][ T1050] RBP: ffff888015fef000 R08: 1ffff920008ccf8c R09: 0000000000000000 [ 112.556768][ T1050] R10: 0000000000000001 R11: 0000000000000002 R12: ffffffff8b1e4400 [ 112.564775][ T1050] R13: ffffc90004667c48 R14: ffff88807afde010 R15: ffff88807afde018 [ 112.572766][ T1050] FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 [ 112.581716][ T1050] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 112.588342][ T1050] CR2: 0000555574a6b738 CR3: 0000000077fa2000 CR4: 0000000000350ef0 [ 112.596342][ T1050] Call Trace: [ 112.599654][ T1050] [ 112.602601][ T1050] ? show_regs+0x8c/0xa0 [ 112.606875][ T1050] ? die+0x36/0xa0 [ 112.610621][ T1050] ? do_trap+0x232/0x430 [ 112.614909][ T1050] ? dnotify_free_mark+0x50/0x60 [ 112.619881][ T1050] ? dnotify_free_mark+0x50/0x60 [ 112.624846][ T1050] ? do_error_trap+0xf4/0x230 [ 112.629549][ T1050] ? dnotify_free_mark+0x50/0x60 [ 112.634527][ T1050] ? handle_invalid_op+0x34/0x40 [ 112.639491][ T1050] ? dnotify_free_mark+0x50/0x60 [ 112.644456][ T1050] ? exc_invalid_op+0x2e/0x50 [ 112.649192][ T1050] ? asm_exc_invalid_op+0x1a/0x20 [ 112.654252][ T1050] ? dnotify_free_mark+0x4f/0x60 [ 112.659208][ T1050] ? dnotify_free_mark+0x50/0x60 [ 112.664164][ T1050] ? dnotify_free_mark+0x4f/0x60 [ 112.669115][ T1050] fsnotify_final_mark_destroy+0x79/0xc0 [ 112.674788][ T1050] fsnotify_mark_destroy_workfn+0x204/0x360 [ 112.680713][ T1050] ? __pfx_fsnotify_mark_destroy_workfn+0x10/0x10 [ 112.687188][ T1050] process_one_work+0x9ac/0x1a60 [ 112.692174][ T1050] ? __pfx_lock_acquire+0x10/0x10 [ 112.697217][ T1050] ? __pfx_process_one_work+0x10/0x10 [ 112.702620][ T1050] ? srso_return_thunk+0x5/0x5f [ 112.707518][ T1050] ? srso_return_thunk+0x5/0x5f [ 112.712409][ T1050] ? assign_work+0x1a0/0x250 [ 112.717022][ T1050] worker_thread+0x6c8/0xf70 [ 112.721643][ T1050] ? srso_return_thunk+0x5/0x5f [ 112.726526][ T1050] ? __kthread_parkme+0x148/0x220 [ 112.731579][ T1050] ? srso_return_thunk+0x5/0x5f [ 112.736457][ T1050] ? __pfx_worker_thread+0x10/0x10 [ 112.741592][ T1050] kthread+0x2c4/0x3a0 [ 112.745679][ T1050] ? _raw_spin_unlock_irq+0x23/0x50 [ 112.750898][ T1050] ? __pfx_kthread+0x10/0x10 [ 112.755505][ T1050] ret_from_fork+0x48/0x80 [ 112.759954][ T1050] ? __pfx_kthread+0x10/0x10 [ 112.764558][ T1050] ret_from_fork_asm+0x1a/0x30 [ 112.769367][ T1050] [ 112.772386][ T1050] Modules linked in: [ 112.776993][ T1050] ---[ end trace 0000000000000000 ]--- [ 112.782567][ T1050] RIP: 0010:dnotify_free_mark+0x50/0x60 [ 112.788202][ T1050] Code: 3c 02 00 75 27 48 83 bb 80 00 00 00 00 75 15 e8 66 77 80 ff 48 89 de 48 8b 3d 04 e3 15 0b 5b e9 96 4c d1 ff e8 51 77 80 ff 90 <0f> 0b e8 b9 59 db ff eb d2 0f 1f 80 00 00 00 00 90 90 90 90 90 90 [ 112.807908][ T1050] RSP: 0018:ffffc90004667be8 EFLAGS: 00010293 [ 112.814054][ T1050] RAX: 0000000000000000 RBX: ffff88807afde000 RCX: 1ffff1100f5fbc02 [ 112.822040][ T1050] RDX: ffff888021ff1e00 RSI: ffffffff820dc4df RDI: ffff88807afde080 [ 112.830521][ T1050] RBP: ffff888015fef000 R08: 1ffff920008ccf8c R09: 0000000000000000 [ 112.838557][ T1050] R10: 0000000000000001 R11: 0000000000000002 R12: ffffffff8b1e4400 [ 112.846603][ T1050] R13: ffffc90004667c48 R14: ffff88807afde010 R15: ffff88807afde018 [ 112.854635][ T1050] FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 [ 112.863600][ T1050] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 112.870264][ T1050] CR2: 0000555574a6b738 CR3: 000000000d57a000 CR4: 0000000000350ef0 [ 112.878307][ T1050] Kernel panic - not syncing: Fatal exception [ 112.884621][ T1050] Kernel Offset: disabled [ 112.888952][ T1050] Rebooting in 86400 seconds..