./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2756618917
<...>
DUID 00:04:7a:dc:29:a2:f4:b1:6d:28:30:de:a7:64:4f:eb:cd:90
forked to background, child pid 4659
[ 30.014501][ T4660] 8021q: adding VLAN 0 to HW filter on device bond0
[ 30.025242][ T4660] eql: remember to turn off Van-Jacobson compression on your slave devices
Starting sshd: OK
syzkaller
Warning: Permanently added '10.128.0.159' (ECDSA) to the list of known hosts.
execve("./syz-executor2756618917", ["./syz-executor2756618917"], 0x7ffe6fea6aa0 /* 10 vars */) = 0
brk(NULL) = 0x5555559ed000
brk(0x5555559edc40) = 0x5555559edc40
arch_prctl(ARCH_SET_FS, 0x5555559ed300) = 0
uname({sysname="Linux", nodename="syzkaller", ...}) = 0
readlink("/proc/self/exe", "/root/syz-executor2756618917", 4096) = 28
brk(0x555555a0ec40) = 0x555555a0ec40
brk(0x555555a0f000) = 0x555555a0f000
mprotect(0x7f08024cf000, 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) = 0x7f07f9ff7000
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(0x7f07f9ff7000, 2097152) = 0
openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4
ioctl(4, LOOP_SET_FD, 3) = 0
close(3) = 0
mkdir("./file0", 0777) = 0
syzkaller login: [ 55.830297][ T4991] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=4991 'syz-executor275'
[ 55.864443][ T4991] loop0: detected capacity change from 0 to 4096
[ 55.876270][ T4991] ntfs: (device loop0): ntfs_read_locked_inode(): First extent of $DATA attribute has non zero lowest_vcn.
[ 55.887741][ T4991] ntfs: (device loop0): ntfs_read_locked_inode(): Failed with error code -5. Marking corrupt inode 0x1 as bad. Run chkdsk.
[ 55.900943][ T4991] ntfs: (device loop0): load_system_files(): Failed to load $MFTMirr. Will not be able to remount read-write. Run ntfsfix and/or chkdsk.
[ 55.925682][ T4991] ntfs: volume version 3.1.
[ 55.930218][ T4991] ntfs: (device loop0): ntfs_check_logfile(): $LogFile is too small.
[ 55.938360][ T4991] ntfs: (device loop0): load_system_files(): Failed to load $LogFile. Will not be able to remount read-write. Mount in Windows.
[ 55.951916][ T4991] ntfs: (device loop0): ntfs_lookup_inode_by_name(): Corrupt directory. Aborting lookup.
[ 55.961897][ T4991] 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
openat(AT_FDCWD, ".", O_RDONLY) = 4
[ 55.973381][ T4991] ntfs: (device loop0): load_system_files(): Failed to determine if Windows is hibernated. Will not be able to remount read-write. Run chkdsk.
[ 55.988302][ T4991] 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.004586][ T4991] ntfs: (device loop0): map_mft_record(): Failed with error code 2.
[ 56.024768][ T4991] ==================================================================
[ 56.032874][ T4991] BUG: KASAN: slab-out-of-bounds in ntfs_readdir+0xea1/0x2b70
[ 56.040370][ T4991] Read of size 1 at addr ffff88801a773bf1 by task syz-executor275/4991
[ 56.048619][ T4991]
[ 56.050954][ T4991] CPU: 1 PID: 4991 Comm: syz-executor275 Not tainted 6.4.0-rc6-syzkaller-00037-gb6dad5178cea #0
[ 56.061364][ T4991] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
[ 56.072617][ T4991] Call Trace:
[ 56.075880][ T4991]
[ 56.078792][ T4991] dump_stack_lvl+0x1e7/0x2d0
[ 56.083451][ T4991] ? irq_work_queue+0xca/0x150
[ 56.088196][ T4991] ? nf_tcp_handle_invalid+0x650/0x650
[ 56.093632][ T4991] ? panic+0x770/0x770
[ 56.097685][ T4991] ? _printk+0xd5/0x120
[ 56.101822][ T4991] print_report+0x163/0x540
[ 56.106310][ T4991] ? mutex_unlock+0x10/0x10
[ 56.110792][ T4991] ? __virt_addr_valid+0x22f/0x2e0
[ 56.115887][ T4991] ? __phys_addr+0xba/0x170
[ 56.120375][ T4991] ? ntfs_readdir+0xea1/0x2b70
[ 56.125117][ T4991] kasan_report+0x176/0x1b0
[ 56.129602][ T4991] ? ntfs_readdir+0xea1/0x2b70
[ 56.134350][ T4991] ntfs_readdir+0xea1/0x2b70
[ 56.138923][ T4991] ? read_lock_is_recursive+0x20/0x20
[ 56.144279][ T4991] ? __down_write_common+0x161/0x200
[ 56.149546][ T4991] ? clear_nonspinnable+0x60/0x60
[ 56.154550][ T4991] ? ntfs_unmap_page+0x260/0x260
[ 56.159471][ T4991] ? iterate_dir+0x135/0x570
[ 56.164056][ T4991] iterate_dir+0x228/0x570
[ 56.168543][ T4991] __se_sys_getdents64+0x20d/0x4f0
[ 56.173636][ T4991] ? _raw_spin_unlock_irq+0x2e/0x50
[ 56.178815][ T4991] ? __x64_sys_getdents64+0x80/0x80
[ 56.184018][ T4991] ? filldir+0x6a0/0x6a0
[ 56.188766][ T4991] ? syscall_enter_from_user_mode+0x32/0x230
[ 56.194734][ T4991] ? syscall_enter_from_user_mode+0x8c/0x230
[ 56.200695][ T4991] do_syscall_64+0x41/0xc0
[ 56.205091][ T4991] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 56.211010][ T4991] RIP: 0033:0x7f0802443799
[ 56.215411][ T4991] 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.235875][ T4991] RSP: 002b:00007ffd19c41498 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
[ 56.244266][ T4991] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f0802443799
[ 56.252218][ T4991] RDX: 0000000000000098 RSI: 0000000020000080 RDI: 0000000000000004
[ 56.260167][ T4991] RBP: 00007f0802403030 R08: 0000000000000000 R09: 0000000000000000
[ 56.268118][ T4991] R10: 000000000001e706 R11: 0000000000000246 R12: 00007f08024030c0
[ 56.276068][ T4991] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 56.284021][ T4991]
[ 56.287023][ T4991]
[ 56.289327][ T4991] Allocated by task 4991:
[ 56.293625][ T4991] kasan_set_track+0x4f/0x70
[ 56.298198][ T4991] __kasan_kmalloc+0x98/0xb0
[ 56.302764][ T4991] __kmalloc+0xb9/0x230
[ 56.306902][ T4991] ntfs_readdir+0x829/0x2b70
[ 56.311471][ T4991] iterate_dir+0x228/0x570
[ 56.315867][ T4991] __se_sys_getdents64+0x20d/0x4f0
[ 56.320960][ T4991] do_syscall_64+0x41/0xc0
[ 56.325358][ T4991] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 56.331246][ T4991]
[ 56.333544][ T4991] The buggy address belongs to the object at ffff88801a773b80
[ 56.333544][ T4991] which belongs to the cache kmalloc-64 of size 64
[ 56.347400][ T4991] The buggy address is located 57 bytes to the right of
[ 56.347400][ T4991] allocated 56-byte region [ffff88801a773b80, ffff88801a773bb8)
[ 56.361866][ T4991]
[ 56.364172][ T4991] The buggy address belongs to the physical page:
[ 56.370560][ T4991] page:ffffea000069dcc0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1a773
[ 56.380688][ T4991] ksm flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff)
[ 56.388556][ T4991] page_type: 0xffffffff()
[ 56.392860][ T4991] raw: 00fff00000000200 ffff888012441640 ffffea0000b1c300 dead000000000003
[ 56.401428][ T4991] raw: 0000000000000000 0000000080200020 00000001ffffffff 0000000000000000
[ 56.409990][ T4991] page dumped because: kasan: bad access detected
[ 56.416375][ T4991] page_owner tracks the page as allocated
[ 56.422066][ T4991] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 12, tgid 12 (kworker/u4:1), ts 7557193779, free_ts 6327352937
[ 56.439838][ T4991] post_alloc_hook+0x1e6/0x210
[ 56.444583][ T4991] get_page_from_freelist+0x321c/0x33a0
[ 56.450107][ T4991] __alloc_pages+0x255/0x670
[ 56.454674][ T4991] alloc_slab_page+0x6a/0x160
[ 56.459328][ T4991] new_slab+0x84/0x2f0
[ 56.463372][ T4991] ___slab_alloc+0xa85/0x10a0
[ 56.468027][ T4991] __kmem_cache_alloc_node+0x1b8/0x290
[ 56.473461][ T4991] __kmalloc_node+0xa7/0x230
[ 56.478030][ T4991] __vmalloc_node_range+0x5fc/0x14e0
[ 56.483550][ T4991] dup_task_struct+0x3e5/0x7d0
[ 56.488302][ T4991] copy_process+0x5c8/0x4290
[ 56.492867][ T4991] kernel_clone+0x222/0x800
[ 56.497350][ T4991] user_mode_thread+0x132/0x190
[ 56.502178][ T4991] call_usermodehelper_exec_work+0x5c/0x220
[ 56.508049][ T4991] process_one_work+0x8a0/0x10e0
[ 56.512981][ T4991] worker_thread+0xa63/0x1210
[ 56.517637][ T4991] page last free stack trace:
[ 56.522281][ T4991] free_unref_page_prepare+0x903/0xa30
[ 56.527719][ T4991] free_unref_page+0x37/0x3f0
[ 56.532387][ T4991] vfree+0x186/0x2e0
[ 56.536275][ T4991] delayed_vfree_work+0x56/0x80
[ 56.541113][ T4991] process_one_work+0x8a0/0x10e0
[ 56.546035][ T4991] worker_thread+0xa63/0x1210
[ 56.550696][ T4991] kthread+0x2b8/0x350
[ 56.554745][ T4991] ret_from_fork+0x1f/0x30
[ 56.559145][ T4991]
[ 56.561457][ T4991] Memory state around the buggy address:
[ 56.567063][ T4991] ffff88801a773a80: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
[ 56.575109][ T4991] ffff88801a773b00: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
[ 56.583149][ T4991] >ffff88801a773b80: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc
[ 56.591185][ T4991] ^
[ 56.598878][ T4991] ffff88801a773c00: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
[ 56.606913][ T4991] ffff88801a773c80: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
[ 56.614970][ T4991] ==================================================================
[ 56.623356][ T4991] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 56.630564][ T4991] CPU: 0 PID: 4991 Comm: syz-executor275 Not tainted 6.4.0-rc6-syzkaller-00037-gb6dad5178cea #0
[ 56.640986][ T4991] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
[ 56.651030][ T4991] Call Trace:
[ 56.654295][ T4991]
[ 56.657217][ T4991] dump_stack_lvl+0x1e7/0x2d0
[ 56.661887][ T4991] ? nf_tcp_handle_invalid+0x650/0x650
[ 56.667334][ T4991] ? panic+0x770/0x770
[ 56.671391][ T4991] ? preempt_schedule_common+0x83/0xc0
[ 56.676840][ T4991] ? vscnprintf+0x5d/0x80
[ 56.681161][ T4991] panic+0x30f/0x770
[ 56.685043][ T4991] ? check_panic_on_warn+0x21/0xa0
[ 56.690145][ T4991] ? __memcpy_flushcache+0x2b0/0x2b0
[ 56.695417][ T4991] ? _raw_spin_unlock_irqrestore+0x12c/0x140
[ 56.701386][ T4991] ? _raw_spin_unlock+0x40/0x40
[ 56.706225][ T4991] ? print_report+0x4fb/0x540
[ 56.710893][ T4991] check_panic_on_warn+0x82/0xa0
[ 56.715821][ T4991] ? ntfs_readdir+0xea1/0x2b70
[ 56.720579][ T4991] end_report+0x63/0x110
[ 56.724808][ T4991] kasan_report+0x183/0x1b0
[ 56.729299][ T4991] ? ntfs_readdir+0xea1/0x2b70
[ 56.734054][ T4991] ntfs_readdir+0xea1/0x2b70
[ 56.738639][ T4991] ? read_lock_is_recursive+0x20/0x20
[ 56.744005][ T4991] ? __down_write_common+0x161/0x200
[ 56.749279][ T4991] ? clear_nonspinnable+0x60/0x60
[ 56.754290][ T4991] ? ntfs_unmap_page+0x260/0x260
[ 56.759217][ T4991] ? iterate_dir+0x135/0x570
[ 56.763798][ T4991] iterate_dir+0x228/0x570
[ 56.768217][ T4991] __se_sys_getdents64+0x20d/0x4f0
[ 56.773316][ T4991] ? _raw_spin_unlock_irq+0x2e/0x50
[ 56.778505][ T4991] ? __x64_sys_getdents64+0x80/0x80
[ 56.783691][ T4991] ? filldir+0x6a0/0x6a0
[ 56.787924][ T4991] ? syscall_enter_from_user_mode+0x32/0x230
[ 56.793891][ T4991] ? syscall_enter_from_user_mode+0x8c/0x230
[ 56.799860][ T4991] do_syscall_64+0x41/0xc0
[ 56.804267][ T4991] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 56.810150][ T4991] RIP: 0033:0x7f0802443799
[ 56.814549][ T4991] 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.834145][ T4991] RSP: 002b:00007ffd19c41498 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
[ 56.842558][ T4991] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f0802443799
[ 56.850515][ T4991] RDX: 0000000000000098 RSI: 0000000020000080 RDI: 0000000000000004
[ 56.858473][ T4991] RBP: 00007f0802403030 R08: 0000000000000000 R09: 0000000000000000
[ 56.866431][ T4991] R10: 000000000001e706 R11: 0000000000000246 R12: 00007f08024030c0
[ 56.874387][ T4991] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 56.882348][ T4991]
[ 56.885556][ T4991] Kernel Offset: disabled
[ 56.889867][ T4991] Rebooting in 86400 seconds..