./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor508079568 <...> Warning: Permanently added '10.128.1.131' (ED25519) to the list of known hosts. execve("./syz-executor508079568", ["./syz-executor508079568"], 0x7ffe7bca8e90 /* 10 vars */) = 0 brk(NULL) = 0x555579e64000 brk(0x555579e64e00) = 0x555579e64e00 arch_prctl(ARCH_SET_FS, 0x555579e64480) = 0 set_tid_address(0x555579e64750) = 5222 set_robust_list(0x555579e64760, 24) = 0 rseq(0x555579e64da0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor508079568", 4096) = 27 getrandom("\xd0\x17\xdd\x76\x64\xa3\x2a\xfd", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555579e64e00 brk(0x555579e85e00) = 0x555579e85e00 brk(0x555579e86000) = 0x555579e86000 mprotect(0x7f5174edf000, 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 rt_sigaction(SIGRTMIN, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, NULL, 8) = 0 rt_sigaction(SIGSEGV, {sa_handler=0x7f5174e17ff0, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7f5174e20060}, NULL, 8) = 0 rt_sigaction(SIGBUS, {sa_handler=0x7f5174e17ff0, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7f5174e20060}, NULL, 8) = 0 write(1, "executing program\n", 18executing program ) = 18 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f516ca00000 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 munmap(0x7f516ca00000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 close(4) = 0 mkdir("./file0", 0777) = 0 syzkaller login: [ 81.812140][ T5222] loop0: detected capacity change from 0 to 4096 [ 81.837756][ T5222] ntfs3: loop0: Different NTFS sector size (4096) and media sector size (512). mount("/dev/loop0", "./file0", "ntfs3", MS_I_VERSION, "force,umask=00000000000000000000005,nocase,") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) memfd_create("syzkaller", 0) = 4 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f516ca00000 write(4, "\x60\x40\x00\x6b\x64\x05\x00\x66\xf1\xf1\xe6\x00\x08\x08\x01\x00\x04\x40\x43\x40\x00\xf8\x01\x00\x10\x00\x02\x00\x03\x00\x00\x00\x00\x00\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\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 131072) = 131072 munmap(0x7f516ca00000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) close(4) = 0 openat(AT_FDCWD, "cgroup.controllers", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 4 write(4, "\x23\x21\x20\x0a\x80\x7b\xc9\xad\x34\x8d\x3f\xd2\xcc\xdd\x67\x7f\xb4\x78\x1c\x6b\x02\x00\x66\x6b\xf0\xfe\xff\xc6\xe9\x51\xa3\x72\x92\xab\x01\x00\x8e\xc3\x21\x7f\xff\x7f\x76\x6a\xf7\xf2\xcc\x96\x05\x00\xcc\xd0\xc4\xfb\xff\x23\x63\xc3\xf3\xe3\xb3\xcb\xc3\xbf\x09\x00\x00\xfe\xbf\x5e\x78\xf9\x95\x67\xd6\x37\x22\x9e\xaf\xd5\x16\x22\x5a\xef\x77\xea\x9d\x7a\x3c\x35\x1a\x5f\xbf\x14\x6f\x45\x33\x36\xe3\x6c"..., 65191) = 65191 mmap(0x20000000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_NONBLOCK, 4, 0) = 0x20000000 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x20000240} --- [ 81.882322][ T5222] ntfs3: loop0: Failed to initialize $Extend/$Reparse. [ 81.942422][ T5222] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:337 [ 81.952090][ T5222] in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 5222, name: syz-executor508 [ 81.961590][ T5222] preempt_count: 0, expected: 0 [ 81.967177][ T5222] RCU nest depth: 1, expected: 0 [ 81.972235][ T5222] 1 lock held by syz-executor508/5222: [ 81.977750][ T5222] #0: ffffffff8e938320 (rcu_read_lock){....}-{1:2}, at: path_init+0x12a/0x1360 [ 81.987078][ T5222] CPU: 0 UID: 0 PID: 5222 Comm: syz-executor508 Not tainted 6.11.0-rc5-syzkaller-00057-g86987d84b968 #0 [ 81.998182][ T5222] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 82.008228][ T5222] Call Trace: [ 82.011497][ T5222] [ 82.014423][ T5222] dump_stack_lvl+0x241/0x360 [ 82.019104][ T5222] ? __pfx_dump_stack_lvl+0x10/0x10 [ 82.024300][ T5222] ? __pfx__printk+0x10/0x10 [ 82.028901][ T5222] ? srso_alias_return_thunk+0x5/0xfbef5 [ 82.034539][ T5222] __might_resched+0x5d4/0x780 [ 82.039305][ T5222] ? is_module_text_address+0x20/0x190 [ 82.044771][ T5222] ? __pfx___might_resched+0x10/0x10 [ 82.050066][ T5222] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 82.056054][ T5222] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 82.062401][ T5222] ? ntfs_d_hash+0x1a0/0x420 [ 82.067002][ T5222] kmem_cache_alloc_noprof+0x5d/0x2a0 [ 82.072378][ T5222] ? srso_alias_return_thunk+0x5/0xfbef5 [ 82.078030][ T5222] ntfs_d_hash+0x1a0/0x420 [ 82.082492][ T5222] link_path_walk+0x92d/0xea0 [ 82.087264][ T5222] path_openat+0x25d/0x3470 [ 82.091821][ T5222] ? mark_lock+0x9a/0x350 [ 82.096186][ T5222] ? __pfx_stack_trace_save+0x10/0x10 [ 82.101600][ T5222] ? srso_alias_return_thunk+0x5/0xfbef5 [ 82.107269][ T5222] ? __lock_acquire+0x137a/0x2040 [ 82.112324][ T5222] ? srso_alias_return_thunk+0x5/0xfbef5 [ 82.117979][ T5222] ? __pfx_path_openat+0x10/0x10 [ 82.122939][ T5222] ? srso_alias_return_thunk+0x5/0xfbef5 [ 82.128590][ T5222] do_filp_open+0x235/0x490 [ 82.133106][ T5222] ? __pfx_do_filp_open+0x10/0x10 [ 82.138165][ T5222] ? srso_alias_return_thunk+0x5/0xfbef5 [ 82.143814][ T5222] ? _raw_spin_unlock+0x28/0x50 [ 82.148683][ T5222] ? srso_alias_return_thunk+0x5/0xfbef5 [ 82.154328][ T5222] ? alloc_fd+0x5a1/0x640 [ 82.158778][ T5222] do_sys_openat2+0x13e/0x1d0 [ 82.163587][ T5222] ? __pfx_do_sys_openat2+0x10/0x10 [ 82.168867][ T5222] ? srso_alias_return_thunk+0x5/0xfbef5 [ 82.174581][ T5222] ? lockdep_hardirqs_on+0x99/0x150 [ 82.179848][ T5222] ? _raw_spin_unlock_irq+0x2e/0x50 [ 82.185097][ T5222] ? srso_alias_return_thunk+0x5/0xfbef5 [ 82.190761][ T5222] ? ptrace_notify+0x279/0x380 [ 82.195563][ T5222] __x64_sys_openat+0x247/0x2a0 [ 82.200441][ T5222] ? __pfx___x64_sys_openat+0x10/0x10 [ 82.205842][ T5222] ? exc_page_fault+0x590/0x8c0 [ 82.210724][ T5222] ? srso_alias_return_thunk+0x5/0xfbef5 [ 82.216377][ T5222] ? srso_alias_return_thunk+0x5/0xfbef5 [ 82.222037][ T5222] do_syscall_64+0xf3/0x230 [ 82.227012][ T5222] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 82.232925][ T5222] RIP: 0033:0x7f5174e4c2f9 [ 82.237350][ T5222] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 [ 82.256960][ T5222] RSP: 002b:00007ffe8ece6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 82.265385][ T5222] RAX: ffffffffffffffda RBX: 00007ffe8ece6040 RCX: 00007f5174e4c2f9 [ 82.273361][ T5222] RDX: 000000000000275a RSI: 0000000020000240 RDI: 00000000ffffff9c [ 82.281332][ T5222] RBP: 00007ffe8ece6048 R08: 00007ffe8ece6048 R09: 00007f5174e17ff0 openat(AT_FDCWD, "\xc1\x93\xcf\xcd\x6e\x45", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = -1 EINVAL (Invalid argument) exit_group(0) = ? +++ exited with 0 +++ [ 82.289305][ T5222] R10: 0000000000000000 R11: 0000