./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2857458865 <...> Warning: Permanently added '10.128.1.73' (ED25519) to the list of known hosts. execve("./syz-executor2857458865", ["./syz-executor2857458865"], 0x7ffed3eb9880 /* 10 vars */) = 0 brk(NULL) = 0x55556ff60000 brk(0x55556ff60d00) = 0x55556ff60d00 arch_prctl(ARCH_SET_FS, 0x55556ff60380) = 0 set_tid_address(0x55556ff60650) = 5223 set_robust_list(0x55556ff60660, 24) = 0 rseq(0x55556ff60ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2857458865", 4096) = 28 getrandom("\x19\x52\x2f\xa6\x12\xf6\x0a\x96", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556ff60d00 brk(0x55556ff81d00) = 0x55556ff81d00 brk(0x55556ff82000) = 0x55556ff82000 mprotect(0x7f524260b000, 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.OQCnh3", 0700) = 0 chmod("./syzkaller.OQCnh3", 0777) = 0 chdir("./syzkaller.OQCnh3") = 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 5224 attached , child_tidptr=0x55556ff60650) = 5224 [pid 5224] set_robust_list(0x55556ff60660, 24) = 0 [pid 5224] chdir("./0") = 0 [pid 5224] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5224] setpgid(0, 0) = 0 [pid 5224] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5224] write(3, "1000", 4) = 4 [pid 5224] close(3) = 0 [pid 5224] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5224] write(1, "executing program\n", 18) = 18 [pid 5224] memfd_create("syzkaller", 0) = 3 [pid 5224] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f523a000000 [pid 5224] write(3, "\xeb\x52\x90\x4e\x54\x46\x53\x20\x20\x20\x20\x00\x10\x01\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\x01\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x78\x5f\xaa\x3b\xd7\x0e\xce\x68\x00\x00\x00\x00\x0e\x1f\xbe\x71\x7c\xac\x22\xc0\x74\x0b\x56\xb4\x0e\xbb\x07\x00"..., 2097152) = 2097152 [pid 5224] munmap(0x7f523a000000, 138412032) = 0 [pid 5224] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5224] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5224] close(3) = 0 [pid 5224] close(4) = 0 [pid 5224] mkdir("./file0", 0777) = 0 [pid 5224] mount("/dev/loop0", "./file0", "ntfs3", MS_NOEXEC|MS_REC, "") = 0 [pid 5224] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5224] chdir("./file0") = 0 [ 80.038553][ T5224] loop0: detected capacity change from 0 to 4096 [ 80.075093][ T5224] ntfs3: loop0: Different NTFS sector size (4096) and media sector size (512). [pid 5224] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5224] open(".", O_RDONLY) = 4 [pid 5224] fcntl(4, F_NOTIFY, DN_ACCESS|DN_CREATE|DN_DELETE|DN_RENAME|DN_ATTRIB|DN_MULTISHOT) = 0 [pid 5224] fchmodat(AT_FDCWD, ".", 000) = 0 [pid 5224] exit_group(0) = ? [pid 5224] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5224, si_uid=0, si_status=0, si_utime=0, si_stime=8 /* 0.08 s */} --- 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, 0x55556ff616f0 /* 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 [ 80.133567][ T5224] ntfs3: loop0: ino=5, "/" attr_set_size [ 80.139695][ T5224] ntfs3: loop0: Mark volume as dirty due to NTFS errors umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = 0 umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0/file0", 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, 0x55556ff69730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55556ff69730 /* 0 entries */, 32768) = 0 close(4) = 0 rmdir("./0/file0") = 0 getdents64(3, 0x55556ff616f0 /* 0 entries */, 32768) = 0 close(3) = 0 rmdir("./0") = 0 mkdir("./1", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [ 80.211261][ T140] ------------[ cut here ]------------ [ 80.216987][ T140] kernel BUG at fs/notify/dnotify/dnotify.c:135! [ 80.223514][ T140] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 80.230506][ T140] CPU: 1 UID: 0 PID: 140 Comm: kworker/u8:5 Not tainted 6.11.0-rc5-syzkaller-00050-g3ec3f5fc4a91 #0 [ 80.241302][ T140] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 80.251460][ T140] Workqueue: events_unbound fsnotify_mark_destroy_workfn ioctl(3, LOOP_CLR_FD) = 0 close(3) = 0 [ 80.258634][ T140] RIP: 0010:dnotify_free_mark+0x58/0x60 [ 80.264200][ T140] Code: 89 df e8 eb b7 da ff 48 83 3b 00 75 17 e8 00 9b 76 ff 48 8b 3d 91 47 eb 0b 4c 89 f6 5b 41 5e e9 5e 0a cf ff e8 e9 9a 76 ff 90 <0f> 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 [ 80.283911][ T140] RSP: 0018:ffffc90002d2fae8 EFLAGS: 00010293 [ 80.289997][ T140] RAX: ffffffff821cf0b7 RBX: ffff888079dee080 RCX: ffff88801edd9e00 [ 80.298012][ T140] RDX: 0000000000000000 RSI: ffffffff8bead560 RDI: ffff888079dee000 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5226 attached , child_tidptr=0x55556ff60650) = 5226 [pid 5226] set_robust_list(0x55556ff60660, 24) = 0 [pid 5226] chdir("./1") = 0 [pid 5226] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5226] setpgid(0, 0) = 0 [pid 5226] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5226] write(3, "1000", 4) = 4 [pid 5226] close(3) = 0 [pid 5226] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5226] write(1, "executing program\n", 18) = 18 [pid 5226] memfd_create("syzkaller", 0) = 3 [pid 5226] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f523a000000 [ 80.306024][ T140] RBP: ffffc90002d2fbb0 R08: ffffffff934f58ff R09: 1ffffffff269eb1f [ 80.314214][ T140] R10: dffffc0000000000 R11: ffffffff821cf060 R12: ffff8880177d5000 [ 80.322268][ T140] R13: ffffc90002d2fb40 R14: ffff888079dee000 R15: ffff888079dee000 [ 80.330287][ T140] FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 [ 80.339275][ T140] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 80.345987][ T140] CR2: 000055556ff696f8 CR3: 000000007c7e4000 CR4: 00000000003506f0 [ 80.354089][ T140] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 80.362096][ T140] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 80.370106][ T140] Call Trace: [ 80.373412][ T140] [ 80.376622][ T140] ? __die_body+0x88/0xe0 [ 80.381031][ T140] ? die+0xcf/0x110 [ 80.384854][ T140] ? do_trap+0x15a/0x3a0 [ 80.389148][ T140] ? dnotify_free_mark+0x58/0x60 [ 80.394146][ T140] ? do_error_trap+0x1dc/0x2c0 [ 80.398968][ T140] ? dnotify_free_mark+0x58/0x60 [ 80.403941][ T140] ? __pfx_do_error_trap+0x10/0x10 [pid 5226] write(3, "\xeb\x52\x90\x4e\x54\x46\x53\x20\x20\x20\x20\x00\x10\x01\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\x01\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x78\x5f\xaa\x3b\xd7\x0e\xce\x68\x00\x00\x00\x00\x0e\x1f\xbe\x71\x7c\xac\x22\xc0\x74\x0b\x56\xb4\x0e\xbb\x07\x00"..., 2097152) = 2097152 [pid 5226] munmap(0x7f523a000000, 138412032) = 0 [pid 5226] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 80.409083][ T140] ? report_bug+0x3e8/0x500 [ 80.413609][ T140] ? handle_invalid_op+0x34/0x40 [ 80.418547][ T140] ? dnotify_free_mark+0x58/0x60 [ 80.423509][ T140] ? exc_invalid_op+0x38/0x50 [ 80.428220][ T140] ? asm_exc_invalid_op+0x1a/0x20 [ 80.433270][ T140] ? __pfx_dnotify_free_mark+0x10/0x10 [ 80.438754][ T140] ? dnotify_free_mark+0x57/0x60 [ 80.443699][ T140] ? dnotify_free_mark+0x58/0x60 [ 80.446236][ T5226] loop0: detected capacity change from 0 to 4096 [ 80.448807][ T140] ? dnotify_free_mark+0x57/0x60 [pid 5226] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5226] close(3) = 0 [pid 5226] close(4) = 0 [pid 5226] mkdir("./file0", 0777) = 0 [ 80.448842][ T140] fsnotify_mark_destroy_workfn+0x2cf/0x350 [ 80.448869][ T140] ? __pfx_fsnotify_mark_destroy_workfn+0x10/0x10 [ 80.472622][ T140] ? process_scheduled_works+0x945/0x1830 [ 80.478371][ T140] process_scheduled_works+0xa2c/0x1830 [ 80.483986][ T140] ? __pfx_process_scheduled_works+0x10/0x10 [ 80.490033][ T140] ? assign_work+0x364/0x3d0 [ 80.493401][ T5226] ntfs3: loop0: Different NTFS sector size (4096) and media sector size (512). [ 80.494650][ T140] worker_thread+0x86d/0xd10 [pid 5226] mount("/dev/loop0", "./file0", "ntfs3", MS_NOEXEC|MS_REC, "") = 0 [pid 5226] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5226] chdir("./file0") = 0 [pid 5226] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5226] open(".", O_RDONLY) = 4 [pid 5226] fcntl(4, F_NOTIFY, DN_ACCESS|DN_CREATE|DN_DELETE|DN_RENAME|DN_ATTRIB|DN_MULTISHOT) = 0 [ 80.508210][ T140] ? __kthread_parkme+0x169/0x1d0 [ 80.513306][ T140] ? __pfx_worker_thread+0x10/0x10 [ 80.518475][ T140] kthread+0x2f0/0x390 [ 80.522603][ T140] ? __pfx_worker_thread+0x10/0x10 [ 80.527766][ T140] ? __pfx_kthread+0x10/0x10 [ 80.532406][ T140] ret_from_fork+0x4b/0x80 [ 80.536874][ T140] ? __pfx_kthread+0x10/0x10 [ 80.541517][ T140] ret_from_fork_asm+0x1a/0x30 [ 80.542790][ T5226] ntfs3: loop0: ino=5, "/" attr_set_size [ 80.546408][ T140] [ 80.546419][ T140] Modules linked in: [ 80.559327][ T140] ---[ end trace 0000000000000000 ]--- [ 80.559347][ T140] RIP: 0010:dnotify_free_mark+0x58/0x60 [ 80.559380][ T140] Code: 89 df e8 eb b7 da ff 48 83 3b 00 75 17 e8 00 9b 76 ff 48 8b 3d 91 47 eb 0b 4c 89 f6 5b 41 5e e9 5e 0a cf ff e8 e9 9a 76 ff 90 <0f> 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 [ 80.559400][ T140] RSP: 0018:ffffc90002d2fae8 EFLAGS: 00010293 [ 80.559423][ T140] RAX: ffffffff821cf0b7 RBX: ffff888079dee080 RCX: ffff88801edd9e00 [ 80.559442][ T140] RDX: 0000000000000000 RSI: ffffffff8bead560 RDI: ffff888079dee000 [ 80.559458][ T140] RBP: ffffc90002d2fbb0 R08: ffffffff934f58ff R09: 1ffffffff269eb1f [ 80.559476][ T140] R10: dffffc0000000000 R11: ffffffff821cf060 R12: ffff8880177d5000 [ 80.559494][ T140] R13: ffffc90002d2fb40 R14: ffff888079dee000 R15: ffff888079dee000 [ 80.559510][ T140] FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 [ 80.559528][ T140] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 80.559542][ T140] CR2: 000055556ff696f8 CR3: 000000000e534000 CR4: 00000000003506f0 [ 80.559560][ T140] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 80.559573][ T140] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 80.559588][ T140] Kernel panic - not syncing: Fatal exception [ 80.559719][ T140] Kernel Offset: disabled