./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2983778779 <...> Warning: Permanently added '10.128.1.128' (ED25519) to the list of known hosts. execve("./syz-executor2983778779", ["./syz-executor2983778779"], 0x7fff76cf90c0 /* 10 vars */) = 0 brk(NULL) = 0x555555d92000 brk(0x555555d92d00) = 0x555555d92d00 arch_prctl(ARCH_SET_FS, 0x555555d92380) = 0 set_tid_address(0x555555d92650) = 5019 set_robust_list(0x555555d92660, 24) = 0 rseq(0x555555d92ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2983778779", 4096) = 28 getrandom("\x58\xdd\x54\xbe\x45\xc3\xa3\x98", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555555d92d00 brk(0x555555db3d00) = 0x555555db3d00 brk(0x555555db4000) = 0x555555db4000 mprotect(0x7f8508204000, 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 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555d92650) = 5020 ./strace-static-x86_64: Process 5020 attached [pid 5020] set_robust_list(0x555555d92660, 24) = 0 [pid 5020] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 5020] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5020] setsid() = 1 [pid 5020] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5020] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5020] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 5020] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5020] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5020] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5020] unshare(CLONE_NEWNS) = 0 [pid 5020] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5020] unshare(CLONE_NEWIPC) = 0 [pid 5020] unshare(CLONE_NEWCGROUP) = 0 [pid 5020] unshare(CLONE_NEWUTS) = 0 [pid 5020] unshare(CLONE_SYSVSEM) = 0 [pid 5020] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5020] write(3, "16777216", 8) = 8 [pid 5020] close(3) = 0 [pid 5020] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5020] write(3, "536870912", 9) = 9 [pid 5020] close(3) = 0 [pid 5020] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5020] write(3, "1024", 4) = 4 [pid 5020] close(3) = 0 [pid 5020] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5020] write(3, "8192", 4) = 4 [pid 5020] close(3) = 0 [pid 5020] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5020] write(3, "1024", 4) = 4 [pid 5020] close(3) = 0 [pid 5020] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5020] write(3, "1024", 4) = 4 [pid 5020] close(3) = 0 [pid 5020] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5020] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5020] close(3) = 0 [pid 5020] getpid() = 1 [pid 5020] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< volume size 0.00 Gb. Mount in read-only. [ 46.670577][ T5020] ntfs3: loop0: NTFS 16384.00 Gb is too big to use 32 bits per cluster. [ 46.679594][ T5020] ================================================================== [ 46.687639][ T5020] BUG: KASAN: use-after-free in memcmp+0x172/0x1c0 [ 46.694156][ T5020] Read of size 8 at addr ffff888072324002 by task syz-executor298/5020 [ 46.702370][ T5020] [ 46.704676][ T5020] CPU: 0 PID: 5020 Comm: syz-executor298 Not tainted 6.5.0-rc6-syzkaller-00200-gd4ddefee5160 #0 [ 46.715068][ T5020] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 [ 46.725103][ T5020] Call Trace: [ 46.728360][ T5020] [ 46.731272][ T5020] dump_stack_lvl+0xd9/0x1b0 [ 46.735936][ T5020] print_report+0xc4/0x620 [ 46.740353][ T5020] ? __virt_addr_valid+0x5e/0x2d0 [ 46.745360][ T5020] ? __phys_addr+0xc6/0x140 [ 46.749868][ T5020] kasan_report+0xda/0x110 [ 46.754272][ T5020] ? memcmp+0x172/0x1c0 [ 46.758413][ T5020] ? memcmp+0x172/0x1c0 [ 46.762550][ T5020] memcmp+0x172/0x1c0 [ 46.766514][ T5020] ? __bread_gfp+0x79/0x310 [ 46.771026][ T5020] ntfs_fill_super+0x6e0/0x43b0 [ 46.775867][ T5020] ? put_ntfs+0x330/0x330 [ 46.780198][ T5020] ? vsprintf+0x30/0x30 [ 46.784355][ T5020] ? set_blocksize+0x2bd/0x360 [ 46.789116][ T5020] get_tree_bdev+0x43e/0x7d0 [ 46.793699][ T5020] ? put_ntfs+0x330/0x330 [ 46.798028][ T5020] vfs_get_tree+0x88/0x350 [ 46.802536][ T5020] path_mount+0x1492/0x1ed0 [ 46.807022][ T5020] ? kmem_cache_free+0xf0/0x490 [ 46.811853][ T5020] ? finish_automount+0xa50/0xa50 [ 46.816889][ T5020] ? putname+0x101/0x140 [ 46.821121][ T5020] __x64_sys_mount+0x293/0x310 [ 46.825865][ T5020] ? copy_mnt_ns+0xb60/0xb60 [ 46.830434][ T5020] ? lockdep_hardirqs_on+0x7d/0x100 [ 46.835625][ T5020] ? _raw_spin_unlock_irq+0x2e/0x50 [ 46.840812][ T5020] ? ptrace_notify+0xf4/0x130 [ 46.845470][ T5020] do_syscall_64+0x38/0xb0 [ 46.849869][ T5020] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 46.855761][ T5020] RIP: 0033:0x7f8508171e5a [ 46.860160][ T5020] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 8e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 46.879752][ T5020] RSP: 002b:00007ffc2a1ea908 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 [ 46.888146][ T5020] RAX: ffffffffffffffda RBX: 00007ffc2a1ea920 RCX: 00007f8508171e5a [ 46.896127][ T5020] RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007ffc2a1ea920 [ 46.904101][ T5020] RBP: 0000000000000004 R08: 00007ffc2a1ea960 R09: 000000000001f1a1 [ 46.912055][ T5020] R10: 0000000000800000 R11: 0000000000000286 R12: 0000000000800000 [ 46.920006][ T5020] R13: 00007ffc2a1ea960 R14: 0000000000000003 R15: 0000000000200000 [ 46.927959][ T5020] [ 46.930956][ T5020] [ 46.933255][ T5020] The buggy address belongs to the physical page: [ 46.939637][ T5020] page:ffffea0001c8c900 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x72324 [ 46.949763][ T5020] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) [ 46.956846][ T5020] page_type: 0xffffffff() [ 46.961152][ T5020] raw: 00fff00000000000 ffffea0001c8c948 ffff8880b9843460 0000000000000000 [ 46.969712][ T5020] raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 [ 46.978353][ T5020] page dumped because: kasan: bad access detected [ 46.984733][ T5020] page_owner tracks the page as freed [ 46.990072][ T5020] page last allocated via order 0, migratetype Movable, gfp_mask 0x8(__GFP_MOVABLE), pid 1, tgid 1 (swapper/0), ts 10022712808, free_ts 10617431865 [ 47.004976][ T5020] post_alloc_hook+0x2d2/0x350 [ 47.009730][ T5020] split_map_pages+0x1ff/0x520 [ 47.014484][ T5020] isolate_freepages_range+0x31e/0x380 [ 47.019941][ T5020] alloc_contig_range+0x32e/0x510 [ 47.024947][ T5020] alloc_contig_pages+0x30c/0x600 [ 47.029955][ T5020] debug_vm_pgtable+0x955/0x3ff0 [ 47.034879][ T5020] do_one_initcall+0x117/0x630 [ 47.039627][ T5020] kernel_init_freeable+0x5bd/0x8f0 [ 47.044830][ T5020] kernel_init+0x1c/0x2a0 [ 47.049146][ T5020] ret_from_fork+0x2c/0x70 [ 47.053541][ T5020] ret_from_fork_asm+0x11/0x20 [ 47.058309][ T5020] page last free stack trace: [ 47.062963][ T5020] free_unref_page_prepare+0x508/0xb90 [ 47.068404][ T5020] free_unref_page+0x33/0x3b0 [ 47.073063][ T5020] free_contig_range+0xb6/0x190 [ 47.078067][ T5020] destroy_args+0x686/0x940 [ 47.082555][ T5020] debug_vm_pgtable+0x2339/0x3ff0 [ 47.087570][ T5020] do_one_initcall+0x117/0x630 [ 47.092325][ T5020] kernel_init_freeable+0x5bd/0x8f0 [ 47.097511][ T5020] kernel_init+0x1c/0x2a0 [ 47.101829][ T5020] ret_from_fork+0x2c/0x70 [ 47.106222][ T5020] ret_from_fork_asm+0x11/0x20 [ 47.110989][ T5020] [ 47.113290][ T5020] Memory state around the buggy address: [ 47.118895][ T5020] ffff888072323f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 47.126949][ T5020] ffff888072323f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 47.134982][ T5020] >ffff888072324000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 47.143014][ T5020] ^ [ 47.147053][ T5020] ffff888072324080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 47.155085][ T5020] ffff888072324100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 47.163139][ T5020] ================================================================== [ 47.171802][ T5020] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 47.179014][ T5020] CPU: 0 PID: 5020 Comm: syz-executor298 Not tainted 6.5.0-rc6-syzkaller-00200-gd4ddefee5160 #0 [ 47.189419][ T5020] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 [ 47.199455][ T5020] Call Trace: [ 47.202763][ T5020] [ 47.205678][ T5020] dump_stack_lvl+0xd9/0x1b0 [ 47.210259][ T5020] panic+0x6a4/0x750 [ 47.214145][ T5020] ? panic_smp_self_stop+0xa0/0xa0 [ 47.219245][ T5020] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 47.225389][ T5020] ? preempt_schedule_thunk+0x1a/0x30 [ 47.230757][ T5020] ? preempt_schedule_common+0x45/0xc0 [ 47.236210][ T5020] check_panic_on_warn+0xab/0xb0 [ 47.241406][ T5020] end_report+0x108/0x150 [ 47.245728][ T5020] kasan_report+0xea/0x110 [ 47.250158][ T5020] ? memcmp+0x172/0x1c0 [ 47.254330][ T5020] ? memcmp+0x172/0x1c0 [ 47.258501][ T5020] memcmp+0x172/0x1c0 [ 47.262474][ T5020] ? __bread_gfp+0x79/0x310 [ 47.267070][ T5020] ntfs_fill_super+0x6e0/0x43b0 [ 47.271929][ T5020] ? put_ntfs+0x330/0x330 [ 47.276256][ T5020] ? vsprintf+0x30/0x30 [ 47.280427][ T5020] ? set_blocksize+0x2bd/0x360 [ 47.285189][ T5020] get_tree_bdev+0x43e/0x7d0 [ 47.289801][ T5020] ? put_ntfs+0x330/0x330 [ 47.294124][ T5020] vfs_get_tree+0x88/0x350 [ 47.298526][ T5020] path_mount+0x1492/0x1ed0 [ 47.303025][ T5020] ? kmem_cache_free+0xf0/0x490 [ 47.307869][ T5020] ? finish_automount+0xa50/0xa50 [ 47.312883][ T5020] ? putname+0x101/0x140 [ 47.317140][ T5020] __x64_sys_mount+0x293/0x310 [ 47.321894][ T5020] ? copy_mnt_ns+0xb60/0xb60 [ 47.326475][ T5020] ? lockdep_hardirqs_on+0x7d/0x100 [ 47.331666][ T5020] ? _raw_spin_unlock_irq+0x2e/0x50 [ 47.336873][ T5020] ? ptrace_notify+0xf4/0x130 [ 47.341537][ T5020] do_syscall_64+0x38/0xb0 [ 47.345942][ T5020] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 47.351842][ T5020] RIP: 0033:0x7f8508171e5a [ 47.356243][ T5020] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 8e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 47.375849][ T5020] RSP: 002b:00007ffc2a1ea908 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 [ 47.384280][ T5020] RAX: ffffffffffffffda RBX: 00007ffc2a1ea920 RCX: 00007f8508171e5a [ 47.392243][ T5020] RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007ffc2a1ea920 [ 47.400225][ T5020] RBP: 0000000000000004 R08: 00007ffc2a1ea960 R09: 000000000001f1a1 [ 47.408221][ T5020] R10: 0000000000800000 R11: 0000000000000286 R12: 0000000000800000 [ 47.416187][ T5020] R13: 00007ffc2a1ea960 R14: 0000000000000003 R15: 0000000000200000 [ 47.424155][ T5020] [ 47.427866][ T5020] Kernel Offset: disabled [ 47.432180][ T5020] Rebooting in 86400 seconds..