./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2563073295 <...> Warning: Permanently added '10.128.0.223' (ECDSA) to the list of known hosts. execve("./syz-executor2563073295", ["./syz-executor2563073295"], 0x7ffe329d16d0 /* 10 vars */) = 0 brk(NULL) = 0x555555bbb000 brk(0x555555bbbc40) = 0x555555bbbc40 arch_prctl(ARCH_SET_FS, 0x555555bbb300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor2563073295", 4096) = 28 brk(0x555555bdcc40) = 0x555555bdcc40 brk(0x555555bdd000) = 0x555555bdd000 mprotect(0x7f0820739000, 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 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, child_tidptr=0x555555bbb5d0) = 5017 ./strace-static-x86_64: Process 5017 attached [pid 5017] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5017] setpgid(0, 0) = 0 [pid 5017] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5017] write(3, "1000", 4) = 4 [pid 5017] close(3) = 0 [pid 5017] memfd_create("syzkaller", 0) = 3 [pid 5017] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f081825f000 [pid 5017] 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\x00\x00\x00\x00\x01\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 5017] munmap(0x7f081825f000, 2097152) = 0 [pid 5017] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 72.905753][ T5017] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=5017 'syz-executor256' [pid 5017] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5017] close(3) = 0 [pid 5017] mkdir("./bus", 0777) = 0 [ 72.957917][ T5017] loop0: detected capacity change from 0 to 4096 [ 72.971895][ T5017] ntfs3: loop0: Different NTFS sector size (4096) and media sector size (512). [ 72.981111][ T5017] ntfs3: loop0: RAW NTFS volume: Filesystem size 16384.00 Gb > volume size 0.00 Gb. Mount in read-only. [ 72.992447][ T5017] ntfs3: loop0: NTFS 16384.00 Gb is too big to use 32 bits per cluster. [ 73.001718][ T5017] ================================================================== [ 73.009898][ T5017] BUG: KASAN: use-after-free in bcmp+0xc0/0x1e0 [ 73.016190][ T5017] Read of size 8 at addr ffff888074005002 by task syz-executor256/5017 [ 73.024447][ T5017] [ 73.026773][ T5017] CPU: 0 PID: 5017 Comm: syz-executor256 Not tainted 6.4.0-syzkaller-12365-g8689f4f2ea56 #0 [ 73.036848][ T5017] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 73.046936][ T5017] Call Trace: [ 73.050239][ T5017] [ 73.053186][ T5017] dump_stack_lvl+0x1e7/0x2d0 [ 73.057895][ T5017] ? irq_work_queue+0xd1/0x150 [ 73.062696][ T5017] ? nf_tcp_handle_invalid+0x650/0x650 [ 73.068195][ T5017] ? panic+0x770/0x770 [ 73.072276][ T5017] ? _printk+0xd5/0x120 [ 73.076464][ T5017] print_report+0x163/0x540 [ 73.080979][ T5017] ? __virt_addr_valid+0x22f/0x2e0 [ 73.086110][ T5017] ? __phys_addr+0xba/0x170 [ 73.090651][ T5017] ? bcmp+0xc0/0x1e0 [ 73.094569][ T5017] kasan_report+0x175/0x1b0 [ 73.099109][ T5017] ? bcmp+0xc0/0x1e0 [ 73.103037][ T5017] bcmp+0xc0/0x1e0 [ 73.106784][ T5017] ntfs_fill_super+0x9e6/0x4cb0 [ 73.111674][ T5017] ? put_ntfs+0x2b0/0x2b0 [ 73.116040][ T5017] ? set_blocksize+0x1e2/0x390 [ 73.120842][ T5017] ? sb_set_blocksize+0x99/0x100 [ 73.125816][ T5017] get_tree_bdev+0x468/0x6c0 [ 73.130424][ T5017] ? put_ntfs+0x2b0/0x2b0 [ 73.134764][ T5017] vfs_get_tree+0x8c/0x270 [ 73.139188][ T5017] do_new_mount+0x28f/0xae0 [ 73.143739][ T5017] ? do_move_mount_old+0x170/0x170 [ 73.148879][ T5017] ? user_path_at_empty+0x12f/0x180 [ 73.154101][ T5017] __se_sys_mount+0x2d9/0x3c0 [ 73.158793][ T5017] ? __x64_sys_mount+0xc0/0xc0 [ 73.163571][ T5017] ? syscall_enter_from_user_mode+0x32/0x230 [ 73.169588][ T5017] ? __x64_sys_mount+0x20/0xc0 [ 73.174379][ T5017] do_syscall_64+0x41/0xc0 [ 73.178839][ T5017] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 73.184770][ T5017] RIP: 0033:0x7f08206ada0a [ 73.189206][ T5017] Code: 48 c7 c2 c0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 73.208832][ T5017] RSP: 002b:00007ffc5e683e78 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 [ 73.217267][ T5017] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f08206ada0a [ 73.225243][ T5017] RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007ffc5e683e90 [ 73.233232][ T5017] RBP: 00007ffc5e683e90 R08: 00007ffc5e683ed0 R09: 0000000000000000 [ 73.241220][ T5017] R10: 0000000000800000 R11: 0000000000000286 R12: 0000000000000004 [ 73.249197][ T5017] R13: 0000555555bbb2c0 R14: 0000000000800000 R15: 00007ffc5e683ed0 [ 73.257195][ T5017] [ 73.260242][ T5017] [ 73.262662][ T5017] The buggy address belongs to the physical page: [ 73.269071][ T5017] page:ffffea0001d00140 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x74005 [ 73.279226][ T5017] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) [ 73.286353][ T5017] page_type: 0xffffffff() [ 73.290711][ T5017] raw: 00fff00000000000 ffffea0001d00188 ffff8880b9843020 0000000000000000 [ 73.299314][ T5017] raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 [ 73.307909][ T5017] page dumped because: kasan: bad access detected [ 73.314339][ T5017] page_owner tracks the page as freed [ 73.319712][ T5017] page last allocated via order 0, migratetype Movable, gfp_mask 0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_COMP|__GFP_ZERO), pid 5017, tgid 5017 (syz-executor256), ts 72917555675, free_ts 72955416955 [ 73.338683][ T5017] post_alloc_hook+0x1e6/0x210 [ 73.343461][ T5017] get_page_from_freelist+0x31e8/0x3370 [ 73.349105][ T5017] __alloc_pages+0x255/0x670 [ 73.353713][ T5017] __folio_alloc+0x13/0x30 [ 73.358157][ T5017] vma_alloc_folio+0x48a/0x9a0 [ 73.362945][ T5017] handle_mm_fault+0x20c7/0x5410 [ 73.367890][ T5017] exc_page_fault+0x3cf/0x7c0 [ 73.372585][ T5017] asm_exc_page_fault+0x26/0x30 [ 73.377481][ T5017] page last free stack trace: [ 73.382151][ T5017] free_unref_page_prepare+0x903/0xa30 [ 73.387617][ T5017] free_unref_page_list+0x596/0x830 [ 73.392822][ T5017] release_pages+0x2193/0x2470 [ 73.397599][ T5017] tlb_flush_mmu+0x100/0x210 [ 73.402203][ T5017] tlb_finish_mmu+0xd4/0x1f0 [ 73.406823][ T5017] unmap_region+0x258/0x2a0 [ 73.411347][ T5017] do_vmi_align_munmap+0x135d/0x1630 [ 73.416659][ T5017] do_vmi_munmap+0x24d/0x2d0 [ 73.421288][ T5017] __vm_munmap+0x230/0x450 [ 73.425718][ T5017] __x64_sys_munmap+0x69/0x80 [ 73.430409][ T5017] do_syscall_64+0x41/0xc0 [ 73.434830][ T5017] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 73.440737][ T5017] [ 73.443069][ T5017] Memory state around the buggy address: [ 73.448696][ T5017] ffff888074004f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 73.456769][ T5017] ffff888074004f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 73.464869][ T5017] >ffff888074005000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 73.472933][ T5017] ^ [ 73.477006][ T5017] ffff888074005080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 73.485083][ T5017] ffff888074005100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 73.493159][ T5017] ================================================================== [ 73.504654][ T5017] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 73.511884][ T5017] CPU: 0 PID: 5017 Comm: syz-executor256 Not tainted 6.4.0-syzkaller-12365-g8689f4f2ea56 #0 [ 73.521975][ T5017] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 73.532056][ T5017] Call Trace: [ 73.535353][ T5017] [ 73.538315][ T5017] dump_stack_lvl+0x1e7/0x2d0 [ 73.543034][ T5017] ? nf_tcp_handle_invalid+0x650/0x650 [ 73.548523][ T5017] ? panic+0x770/0x770 [ 73.552636][ T5017] ? preempt_schedule_common+0x83/0xc0 [ 73.558130][ T5017] ? vscnprintf+0x5d/0x80 [ 73.562524][ T5017] panic+0x30f/0x770 [ 73.566474][ T5017] ? check_panic_on_warn+0x21/0xa0 [ 73.571605][ T5017] ? __memcpy_flushcache+0x2b0/0x2b0 [ 73.577013][ T5017] ? _raw_spin_unlock_irqrestore+0x12c/0x140 [ 73.583017][ T5017] ? _raw_spin_unlock+0x40/0x40 [ 73.587881][ T5017] ? print_report+0x4fb/0x540 [ 73.592614][ T5017] check_panic_on_warn+0x82/0xa0 [ 73.597686][ T5017] ? bcmp+0xc0/0x1e0 [ 73.601771][ T5017] end_report+0x6e/0x130 [ 73.606041][ T5017] kasan_report+0x186/0x1b0 [ 73.610569][ T5017] ? bcmp+0xc0/0x1e0 [ 73.614497][ T5017] bcmp+0xc0/0x1e0 [ 73.618230][ T5017] ntfs_fill_super+0x9e6/0x4cb0 [ 73.623110][ T5017] ? put_ntfs+0x2b0/0x2b0 [ 73.627449][ T5017] ? set_blocksize+0x1e2/0x390 [ 73.632227][ T5017] ? sb_set_blocksize+0x99/0x100 [ 73.637178][ T5017] get_tree_bdev+0x468/0x6c0 [ 73.641800][ T5017] ? put_ntfs+0x2b0/0x2b0 [ 73.646139][ T5017] vfs_get_tree+0x8c/0x270 [ 73.650583][ T5017] do_new_mount+0x28f/0xae0 [ 73.655198][ T5017] ? do_move_mount_old+0x170/0x170 [ 73.660361][ T5017] ? user_path_at_empty+0x12f/0x180 [ 73.665581][ T5017] __se_sys_mount+0x2d9/0x3c0 [ 73.670284][ T5017] ? __x64_sys_mount+0xc0/0xc0 [ 73.675056][ T5017] ? syscall_enter_from_user_mode+0x32/0x230 [ 73.681059][ T5017] ? __x64_sys_mount+0x20/0xc0 [ 73.685853][ T5017] do_syscall_64+0x41/0xc0 [ 73.690308][ T5017] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 73.696233][ T5017] RIP: 0033:0x7f08206ada0a [ 73.700671][ T5017] Code: 48 c7 c2 c0 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 73.720291][ T5017] RSP: 002b:00007ffc5e683e78 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 [ 73.728716][ T5017] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f08206ada0a [ 73.736703][ T5017] RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 00007ffc5e683e90 [ 73.744697][ T5017] RBP: 00007ffc5e683e90 R08: 00007ffc5e683ed0 R09: 0000000000000000 [ 73.752696][ T5017] R10: 0000000000800000 R11: 0000000000000286 R12: 0000000000000004 [ 73.760721][ T5017] R13: 0000555555bbb2c0 R14: 0000000000800000 R15: 00007ffc5e683ed0 [ 73.769692][ T5017] [ 73.773008][ T5017] Kernel Offset: disabled [ 73.777340][ T5017] Rebooting in 86400 seconds..