./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor4065257238 <...> Warning: Permanently added '10.128.0.135' (ED25519) to the list of known hosts. execve("./syz-executor4065257238", ["./syz-executor4065257238"], 0x7fffeca3f440 /* 10 vars */) = 0 brk(NULL) = 0x55558e776000 brk(0x55558e776d00) = 0x55558e776d00 arch_prctl(ARCH_SET_FS, 0x55558e776380) = 0 set_tid_address(0x55558e776650) = 5220 set_robust_list(0x55558e776660, 24) = 0 rseq(0x55558e776ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor4065257238", 4096) = 28 getrandom("\xf7\x9c\x61\xa5\x3d\xc1\xc9\xdb", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558e776d00 brk(0x55558e797d00) = 0x55558e797d00 brk(0x55558e798000) = 0x55558e798000 mprotect(0x7fd1d0ffb000, 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.Thzrts", 0700) = 0 chmod("./syzkaller.Thzrts", 0777) = 0 chdir("./syzkaller.Thzrts") = 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 5221 attached , child_tidptr=0x55558e776650) = 5221 [pid 5221] set_robust_list(0x55558e776660, 24) = 0 [pid 5221] chdir("./0") = 0 [pid 5221] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5221] setpgid(0, 0) = 0 [pid 5221] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "1000", 4) = 4 [pid 5221] close(3) = 0 [pid 5221] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 5221] write(1, "executing program\n", 18) = 18 [pid 5221] memfd_create("syzkaller", 0) = 3 [pid 5221] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd1c8a00000 [pid 5221] 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 5221] munmap(0x7fd1c8a00000, 138412032) = 0 [pid 5221] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5221] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5221] close(3) = 0 [pid 5221] close(4) = 0 [pid 5221] mkdir("./file0", 0777) = 0 [ 83.140654][ T5221] loop0: detected capacity change from 0 to 4096 [pid 5221] mount("/dev/loop0", "./file0", "ntfs3", MS_NOEXEC|MS_REC, "") = 0 [pid 5221] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5221] chdir("./file0") = 0 [pid 5221] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [pid 5221] open(".", O_RDONLY) = 4 [pid 5221] fcntl(4, F_NOTIFY, DN_ACCESS|DN_CREATE|DN_DELETE|DN_RENAME|DN_ATTRIB|DN_MULTISHOT) = 0 [ 83.182356][ T5221] ntfs3: loop0: Different NTFS sector size (4096) and media sector size (512). [pid 5221] fchmodat(AT_FDCWD, ".", 000) = 0 [pid 5221] exit_group(0) = ? [pid 5221] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5221, si_uid=0, si_status=0, si_utime=0, si_stime=9 /* 0.09 s */} --- 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, 0x55558e7776f0 /* 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) = 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) [ 83.229385][ T5221] ntfs3: loop0: ino=5, "/" attr_set_size [ 83.236212][ T5221] ntfs3: loop0: Mark volume as dirty due to NTFS errors 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, 0x55558e77f730 /* 2 entries */, 32768) = 48 getdents64(4, 0x55558e77f730 /* 0 entries */, 32768) = 0 close(4) = 0 [ 83.298724][ T36] ------------[ cut here ]------------ [ 83.304604][ T36] kernel BUG at fs/notify/dnotify/dnotify.c:135! [ 83.311054][ T36] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [ 83.318064][ T36] CPU: 0 UID: 0 PID: 36 Comm: kworker/u8:3 Not tainted 6.11.0-rc5-syzkaller-00050-g3ec3f5fc4a91 #0 [ 83.328756][ T36] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 83.338837][ T36] Workqueue: events_unbound fsnotify_mark_destroy_workfn rmdir("./0/file0") = 0 [ 83.345902][ T36] RIP: 0010:dnotify_free_mark+0x58/0x60 [ 83.351459][ T36] 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 [ 83.371442][ T36] RSP: 0018:ffffc90000ac7ae8 EFLAGS: 00010293 [ 83.377710][ T36] RAX: ffffffff821cf0b7 RBX: ffff8880760e5080 RCX: ffff8880182dbc00 [ 83.385785][ T36] RDX: 0000000000000000 RSI: ffffffff8bead560 RDI: ffff8880760e5000 [ 83.393868][ T36] RBP: ffffc90000ac7bb0 R08: ffffffff934f58ff R09: 1ffffffff269eb1f [ 83.401930][ T36] R10: dffffc0000000000 R11: ffffffff821cf060 R12: ffff888018b51800 [ 83.409932][ T36] R13: ffffc90000ac7b40 R14: ffff8880760e5000 R15: ffff8880760e5000 [ 83.417943][ T36] FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 [ 83.426901][ T36] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 83.433511][ T36] CR2: 000000000045bdd0 CR3: 00000000239aa000 CR4: 00000000003506f0 [ 83.441489][ T36] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 83.449637][ T36] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 83.457889][ T36] Call Trace: [ 83.461188][ T36] <TASK> [ 83.464133][ T36] ? __die_body+0x88/0xe0 [ 83.468490][ T36] ? die+0xcf/0x110 [ 83.472340][ T36] ? do_trap+0x15a/0x3a0 [ 83.476628][ T36] ? dnotify_free_mark+0x58/0x60 [ 83.481618][ T36] ? do_error_trap+0x1dc/0x2c0 [ 83.486391][ T36] ? dnotify_free_mark+0x58/0x60 [ 83.491422][ T36] ? __pfx_do_error_trap+0x10/0x10 [ 83.496635][ T36] ? report_bug+0x3e8/0x500 [ 83.501450][ T36] ? handle_invalid_op+0x34/0x40 [ 83.506412][ T36] ? dnotify_free_mark+0x58/0x60 [ 83.511364][ T36] ? exc_invalid_op+0x38/0x50 [ 83.516151][ T36] ? asm_exc_invalid_op+0x1a/0x20 [ 83.521473][ T36] ? __pfx_dnotify_free_mark+0x10/0x10 [ 83.527031][ T36] ? dnotify_free_mark+0x57/0x60 [ 83.531975][ T36] ? dnotify_free_mark+0x58/0x60 [ 83.536952][ T36] ? dnotify_free_mark+0x57/0x60 [ 83.541915][ T36] fsnotify_mark_destroy_workfn+0x2cf/0x350 [ 83.547831][ T36] ? __pfx_fsnotify_mark_destroy_workfn+0x10/0x10 [ 83.554344][ T36] ? process_scheduled_works+0x945/0x1830 [ 83.560099][ T36] process_scheduled_works+0xa2c/0x1830 [ 83.565671][ T36] ? __pfx_process_scheduled_works+0x10/0x10 [ 83.571690][ T36] ? assign_work+0x364/0x3d0 [ 83.576322][ T36] worker_thread+0x86d/0xd10 [ 83.580948][ T36] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 83.586947][ T36] ? __kthread_parkme+0x169/0x1d0 [ 83.592075][ T36] ? __pfx_worker_thread+0x10/0x10 getdents64(3, 0x55558e7776f0 /* 0 entries */, 32768) = 0 close(3) = 0 [ 83.597288][ T36] kthread+0x2f0/0x390 [ 83.601369][ T36] ? __pfx_worker_thread+0x10/0x10 [ 83.606541][ T36] ? __pfx_kthread+0x10/0x10 [ 83.611163][ T36] ret_from_fork+0x4b/0x80 [ 83.615710][ T36] ? __pfx_kthread+0x10/0x10 [ 83.620416][ T36] ret_from_fork_asm+0x1a/0x30 [ 83.625228][ T36] </TASK> [ 83.628258][ T36] Modules linked in: [ 83.632762][ T36] ---[ end trace 0000000000000000 ]--- [ 83.641432][ T36] RIP: 0010:dnotify_free_mark+0x58/0x60 rmdir("./0") = 0 mkdir("./1", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = 0 [ 83.647226][ T36] 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 [ 83.667157][ T36] RSP: 0018:ffffc90000ac7ae8 EFLAGS: 00010293 [ 83.673360][ T36] RAX: ffffffff821cf0b7 RBX: ffff8880760e5080 RCX: ffff8880182dbc00 [ 83.692284][ T36] RDX: 0000000000000000 RSI: ffffffff8bead560 RDI: ffff8880760e5000 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55558e776650) = 5223 ./strace-static-x86_64: Process 5223 attached [pid 5223] set_robust_list(0x55558e776660, 24) = 0 [ 83.700563][ T36] RBP: ffffc90000ac7bb0 R08: ffffffff934f58ff R09: 1ffffffff269eb1f [ 83.709138][ T36] R10: dffffc0000000000 R11: ffffffff821cf060 R12: ffff888018b51800 [ 83.717297][ T36] R13: ffffc90000ac7b40 R14: ffff8880760e5000 R15: ffff8880760e5000 [ 83.726039][ T36] FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 [ 83.735760][ T36] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 83.742389][ T36] CR2: 00007fd1d0f66003 CR3: 000000007632e000 CR4: 00000000003506f0 [pid 5223] chdir("./1") = 0 [pid 5223] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 83.751089][ T36] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 83.760676][ T36] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 83.768938][ T36] Kernel panic - not syncing: Fatal exception [ 83.775364][ T36] Kernel Offset: disabled [ 83.779728][ T36] Rebooting in 86400 seconds..