./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2213008176 <...> Warning: Permanently added '10.128.1.55' (ECDSA) to the list of known hosts. execve("./syz-executor2213008176", ["./syz-executor2213008176"], 0x7fff220a52e0 /* 10 vars */) = 0 brk(NULL) = 0x555556cf0000 brk(0x555556cf0c40) = 0x555556cf0c40 arch_prctl(ARCH_SET_FS, 0x555556cf0300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor2213008176", 4096) = 28 brk(0x555556d11c40) = 0x555556d11c40 brk(0x555556d12000) = 0x555556d12000 mprotect(0x7f883de7a000, 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 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f88359a2000 write(3, "\xeb\x52\x90\x4e\x54\x46\x53\x20\x20\x20\x20\x00\x04\x04\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\x07\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\xf6\x00\x00\x00\x01\x00\x00\x00\xf7\x9a\x81\x47\x2b\x73\xcf\x43\x00\x00\x00\x00\x0e\x1f\xbe\x71\x7c\xac\x22\xc0\x74\x0b\x56\xb4\x0e\xbb\x07\x00"..., 2097152) = 2097152 munmap(0x7f88359a2000, 2097152) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 [ 56.467302][ T5075] loop0: detected capacity change from 0 to 4096 [ 56.479043][ T5075] ntfs: (device loop0): ntfs_read_locked_inode(): First extent of $DATA attribute has non zero lowest_vcn. [ 56.490507][ T5075] ntfs: (device loop0): ntfs_read_locked_inode(): Failed with error code -5. Marking corrupt inode 0x1 as bad. Run chkdsk. [ 56.503626][ T5075] ntfs: (device loop0): load_system_files(): Failed to load $MFTMirr. Will not be able to remount read-write. Run ntfsfix and/or chkdsk. [ 56.527234][ T5075] ntfs: volume version 3.1. [ 56.531853][ T5075] ntfs: (device loop0): ntfs_check_logfile(): $LogFile is too small. [ 56.540017][ T5075] ntfs: (device loop0): load_system_files(): Failed to load $LogFile. Will not be able to remount read-write. Mount in Windows. [ 56.554095][ T5075] ntfs: (device loop0): ntfs_lookup_inode_by_name(): Corrupt directory. Aborting lookup. [ 56.564050][ T5075] ntfs: (device loop0): check_windows_hibernation_status(): Failed to find inode number for hiberfil.sys. mount("/dev/loop0", "./file0", "ntfs", MS_RDONLY|MS_NODEV, "") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 [ 56.575369][ T5075] ntfs: (device loop0): load_system_files(): Failed to determine if Windows is hibernated. Will not be able to remount read-write. Run chkdsk. [ 56.590188][ T5075] ntfs: (device loop0): map_mft_record_page(): Attempt to read mft record 0x10000, which is beyond the end of the mft. This is probably a bug in the ntfs driver. [ 56.606458][ T5075] ntfs: (device loop0): map_mft_record(): Failed with error code 2. openat(AT_FDCWD, ".", O_RDONLY) = 4 [ 56.623563][ T5075] ================================================================== [ 56.631678][ T5075] BUG: KASAN: slab-out-of-bounds in ntfs_readdir+0xebc/0x2bf0 [ 56.639180][ T5075] Read of size 1 at addr ffff8880246e58f1 by task syz-executor221/5075 [ 56.647439][ T5075] [ 56.649781][ T5075] CPU: 1 PID: 5075 Comm: syz-executor221 Not tainted 6.1.0-syzkaller-14587-g51094a24b85e #0 [ 56.659856][ T5075] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 56.669907][ T5075] Call Trace: [ 56.673175][ T5075] [ 56.676093][ T5075] dump_stack_lvl+0x1b1/0x290 [ 56.680771][ T5075] ? nf_tcp_handle_invalid+0x630/0x630 [ 56.686219][ T5075] ? __wake_up_klogd+0xcd/0x100 [ 56.691060][ T5075] ? panic+0x710/0x710 [ 56.695114][ T5075] ? _printk+0xc0/0x100 [ 56.699276][ T5075] ? _raw_spin_lock_irqsave+0x8e/0x100 [ 56.704724][ T5075] print_address_description+0x74/0x340 [ 56.710261][ T5075] print_report+0x107/0x1f0 [ 56.714751][ T5075] ? mutex_unlock+0x10/0x10 [ 56.719240][ T5075] ? __virt_addr_valid+0x21b/0x2d0 [ 56.724358][ T5075] ? __phys_addr+0xb5/0x160 [ 56.728868][ T5075] ? ntfs_readdir+0xebc/0x2bf0 [ 56.733628][ T5075] kasan_report+0xcd/0x100 [ 56.738040][ T5075] ? ntfs_readdir+0xebc/0x2bf0 [ 56.742794][ T5075] ntfs_readdir+0xebc/0x2bf0 [ 56.747375][ T5075] ? rcu_read_lock_sched_held+0x87/0x110 [ 56.753013][ T5075] ? ptrace_notify+0x245/0x340 [ 56.757796][ T5075] ? trace_lock_release+0x95/0x220 [ 56.762919][ T5075] ? lock_page+0x2b0/0x2b0 [ 56.767325][ T5075] ? down_write+0x270/0x270 [ 56.771821][ T5075] ? security_file_permission+0x45f/0x5c0 [ 56.777564][ T5075] iterate_dir+0x257/0x5f0 [ 56.781990][ T5075] __se_sys_getdents64+0x1db/0x4c0 [ 56.787089][ T5075] ? _raw_spin_unlock_irq+0x2a/0x40 [ 56.792277][ T5075] ? __x64_sys_getdents64+0x80/0x80 [ 56.797481][ T5075] ? filldir+0x670/0x670 [ 56.801749][ T5075] ? syscall_enter_from_user_mode+0x2e/0x1d0 [ 56.807747][ T5075] ? syscall_enter_from_user_mode+0x86/0x1d0 [ 56.813726][ T5075] do_syscall_64+0x3d/0xb0 [ 56.818143][ T5075] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 56.824028][ T5075] RIP: 0033:0x7f883ddee779 [ 56.828430][ T5075] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 56.848107][ T5075] RSP: 002b:00007ffc802e3ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 [ 56.856504][ T5075] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f883ddee779 [ 56.864463][ T5075] RDX: 0000000000000098 RSI: 0000000020000080 RDI: 0000000000000004 [ 56.872472][ T5075] RBP: 00007f883ddae010 R08: 0000000000000000 R09: 0000000000000000 [ 56.880619][ T5075] R10: 000000000001e706 R11: 0000000000000246 R12: 00007f883ddae0a0 [ 56.888592][ T5075] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 56.896822][ T5075] [ 56.899829][ T5075] [ 56.902141][ T5075] Allocated by task 5075: [ 56.906454][ T5075] kasan_set_track+0x3d/0x60 [ 56.911062][ T5075] __kasan_kmalloc+0x97/0xb0 [ 56.915724][ T5075] __kmalloc+0xaf/0x190 [ 56.919863][ T5075] ntfs_readdir+0x830/0x2bf0 [ 56.924439][ T5075] iterate_dir+0x257/0x5f0 [ 56.928862][ T5075] __se_sys_getdents64+0x1db/0x4c0 [ 56.933973][ T5075] do_syscall_64+0x3d/0xb0 [ 56.938403][ T5075] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 56.944736][ T5075] [ 56.947140][ T5075] The buggy address belongs to the object at ffff8880246e5880 [ 56.947140][ T5075] which belongs to the cache kmalloc-64 of size 64 [ 56.961539][ T5075] The buggy address is located 49 bytes to the right of [ 56.961539][ T5075] 64-byte region [ffff8880246e5880, ffff8880246e58c0) [ 56.975231][ T5075] [ 56.977553][ T5075] The buggy address belongs to the physical page: [ 56.983950][ T5075] page:ffffea000091b940 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x246e5 [ 56.994084][ T5075] flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) [ 57.001651][ T5075] raw: 00fff00000000200 ffff888012841640 ffffea0000b00a80 dead000000000006 [ 57.010232][ T5075] raw: 0000000000000000 0000000080200020 00000001ffffffff 0000000000000000 [ 57.018968][ T5075] page dumped because: kasan: bad access detected [ 57.025365][ T5075] page_owner tracks the page as allocated [ 57.031064][ T5075] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, tgid 1 (swapper/0), ts 8652158942, free_ts 0 [ 57.047675][ T5075] get_page_from_freelist+0x742/0x7c0 [ 57.053042][ T5075] __alloc_pages+0x259/0x560 [ 57.057618][ T5075] alloc_page_interleave+0x22/0x1c0 [ 57.062811][ T5075] alloc_slab_page+0xbd/0x190 [ 57.067476][ T5075] allocate_slab+0x5e/0x3c0 [ 57.071977][ T5075] ___slab_alloc+0x782/0xe20 [ 57.076642][ T5075] __kmem_cache_alloc_node+0x25b/0x340 [ 57.082083][ T5075] __kmalloc+0x9e/0x190 [ 57.086260][ T5075] kobj_map+0x72/0x670 [ 57.090316][ T5075] cdev_device_add+0x141/0x390 [ 57.095115][ T5075] cec_register_adapter+0x2e4/0x670 [ 57.100535][ T5075] vivid_create_devnodes+0x55c/0x2f90 [ 57.105903][ T5075] vivid_probe+0x550c/0x6e10 [ 57.110618][ T5075] platform_probe+0x130/0x1b0 [ 57.115311][ T5075] call_driver_probe+0x96/0x250 [ 57.120148][ T5075] really_probe+0x24c/0x9f0 [ 57.124647][ T5075] page_owner free stack trace missing [ 57.130000][ T5075] [ 57.132310][ T5075] Memory state around the buggy address: [ 57.137927][ T5075] ffff8880246e5780: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 57.145981][ T5075] ffff8880246e5800: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc [ 57.154031][ T5075] >ffff8880246e5880: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc [ 57.162335][ T5075] ^ [ 57.171079][ T5075] ffff8880246e5900: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 57.179130][ T5075] ffff8880246e5980: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc [ 57.187176][ T5075] ================================================================== [ 57.195595][ T5075] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 57.202807][ T5075] CPU: 0 PID: 5075 Comm: syz-executor221 Not tainted 6.1.0-syzkaller-14587-g51094a24b85e #0 [ 57.212888][ T5075] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 57.222944][ T5075] Call Trace: [ 57.226223][ T5075] [ 57.229155][ T5075] dump_stack_lvl+0x1b1/0x290 [ 57.233840][ T5075] ? nf_tcp_handle_invalid+0x630/0x630 [ 57.239304][ T5075] ? panic+0x710/0x710 [ 57.243372][ T5075] ? lock_release+0x81/0x820 [ 57.247963][ T5075] ? vscnprintf+0x59/0x80 [ 57.252288][ T5075] panic+0x2d6/0x710 [ 57.256181][ T5075] ? check_panic_on_warn+0x1d/0xa0 [ 57.261409][ T5075] ? memcpy_page_flushcache+0x100/0x100 [ 57.267101][ T5075] ? _raw_spin_unlock_irqrestore+0x110/0x120 [ 57.273103][ T5075] ? _raw_spin_unlock+0x40/0x40 [ 57.278079][ T5075] ? rcu_read_lock_sched_held+0x5d/0x110 [ 57.283716][ T5075] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 57.289694][ T5075] check_panic_on_warn+0x80/0xa0 [ 57.294631][ T5075] ? ntfs_readdir+0xebc/0x2bf0 [ 57.299486][ T5075] end_report+0x47/0x90 [ 57.303742][ T5075] kasan_report+0xda/0x100 [ 57.308168][ T5075] ? ntfs_readdir+0xebc/0x2bf0 [ 57.312951][ T5075] ntfs_readdir+0xebc/0x2bf0 [ 57.317550][ T5075] ? rcu_read_lock_sched_held+0x87/0x110 [ 57.323199][ T5075] ? ptrace_notify+0x245/0x340 [ 57.327958][ T5075] ? trace_lock_release+0x95/0x220 [ 57.333088][ T5075] ? lock_page+0x2b0/0x2b0 [ 57.337514][ T5075] ? down_write+0x270/0x270 [ 57.342017][ T5075] ? security_file_permission+0x45f/0x5c0 [ 57.347742][ T5075] iterate_dir+0x257/0x5f0 [ 57.352161][ T5075] __se_sys_getdents64+0x1db/0x4c0 [ 57.357269][ T5075] ? _raw_spin_unlock_irq+0x2a/0x40 [ 57.362471][ T5075] ? __x64_sys_getdents64+0x80/0x80 [ 57.367668][ T5075] ? filldir+0x670/0x670 [ 57.371908][ T5075] ? syscall_enter_from_user_mode+0x2e/0x1d0 [ 57.377883][ T5075] ? syscall_enter_from_user_mode+0x86/0x1d0 [ 57.383953][ T5075] do_syscall_64+0x3d/0xb0 [ 57.388371][ T5075] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 57.394265][ T5075] RIP: 0033:0x7f883ddee779 [ 57.398679][ T5075] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 57.418540][ T5075] RSP: 002b:00007ffc802e3ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 [ 57.426956][ T5075] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f883ddee779 [ 57.434921][ T5075] RDX: 0000000000000098 RSI: 0000000020000080 RDI: 0000000000000004 [ 57.442885][ T5075] RBP: 00007f883ddae010 R08: 0000000000000000 R09: 0000000000000000 [ 57.450853][ T5075] R10: 000000000001e706 R11: 0000000000000246 R12: 00007f883ddae0a0 [ 57.458819][ T5075] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 57.466791][ T5075] [ 57.470024][ T5075] Kernel Offset: disabled [ 57.474357][ T5075] Rebooting in 86400 seconds..