./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2533007712 <...> Warning: Permanently added '10.128.1.1' (ED25519) to the list of known hosts. execve("./syz-executor2533007712", ["./syz-executor2533007712"], 0x7ffeb765edc0 /* 10 vars */) = 0 brk(NULL) = 0x555555c9e000 brk(0x555555c9ed00) = 0x555555c9ed00 arch_prctl(ARCH_SET_FS, 0x555555c9e380) = 0 set_tid_address(0x555555c9e650) = 5032 set_robust_list(0x555555c9e660, 24) = 0 rseq(0x555555c9eca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2533007712", 4096) = 28 getrandom("\xeb\xfe\xad\x55\xfa\x33\x8c\x06", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555555c9ed00 brk(0x555555cbfd00) = 0x555555cbfd00 brk(0x555555cc0000) = 0x555555cc0000 mprotect(0x7f72b42e9000, 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) = 0x7f72abe39000 write(3, "\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\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"..., 524288) = 524288 munmap(0x7f72abe39000, 524288) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 mount("/dev/loop0", "./file0", "hfsplus", 0, "") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 [ 73.076823][ T5032] syz-executor253[5032]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [ 73.098734][ T5032] loop0: detected capacity change from 0 to 1024 [ 73.128948][ T5032] ================================================================== [ 73.137062][ T5032] BUG: KASAN: slab-out-of-bounds in hfsplus_uni2asc+0x57a/0x11f0 [ 73.144836][ T5032] Read of size 2 at addr ffff88814b33fa18 by task syz-executor253/5032 [ 73.153093][ T5032] [ 73.155509][ T5032] CPU: 0 PID: 5032 Comm: syz-executor253 Not tainted 6.6.0-rc2-syzkaller-00386-g3aba70aed91f #0 [ 73.165921][ T5032] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 [ 73.176001][ T5032] Call Trace: [ 73.179315][ T5032] [ 73.182274][ T5032] dump_stack_lvl+0x1e7/0x2d0 [ 73.186988][ T5032] ? nf_tcp_handle_invalid+0x650/0x650 [ 73.192478][ T5032] ? panic+0x770/0x770 [ 73.196554][ T5032] ? _printk+0xd5/0x120 [ 73.200715][ T5032] print_report+0x163/0x540 [ 73.205219][ T5032] ? hfsplus_find_exit+0xa0/0xa0 [ 73.210169][ T5032] ? __virt_addr_valid+0x22f/0x2e0 [ 73.215376][ T5032] ? __phys_addr+0xba/0x170 [ 73.219892][ T5032] ? hfsplus_uni2asc+0x57a/0x11f0 [ 73.225015][ T5032] kasan_report+0x175/0x1b0 [ 73.229533][ T5032] ? hfsplus_uni2asc+0x57a/0x11f0 [ 73.234575][ T5032] hfsplus_uni2asc+0x57a/0x11f0 [ 73.239447][ T5032] ? __asan_memcpy+0x40/0x70 [ 73.244060][ T5032] hfsplus_listxattr+0x70e/0xf00 [ 73.249026][ T5032] ? hfsplus_getxattr+0xd0/0xd0 [ 73.253912][ T5032] ? __kasan_kmalloc+0x98/0xb0 [ 73.258692][ T5032] ? __kmalloc_node+0xb8/0x230 [ 73.263458][ T5032] ? kvmalloc_node+0x72/0x180 [ 73.268139][ T5032] ? listxattr+0x4c/0x280 [ 73.272473][ T5032] ? __x64_sys_llistxattr+0x173/0x230 [ 73.277876][ T5032] ? kvmalloc_node+0x72/0x180 [ 73.282635][ T5032] ? rcu_is_watching+0x15/0xb0 [ 73.287399][ T5032] ? kvmalloc_node+0x72/0x180 [ 73.292075][ T5032] ? __kmalloc_node+0xe8/0x230 [ 73.296844][ T5032] ? bpf_lsm_inode_listxattr+0x9/0x10 [ 73.302228][ T5032] ? hfsplus_getxattr+0xd0/0xd0 [ 73.307075][ T5032] listxattr+0x103/0x280 [ 73.311318][ T5032] __x64_sys_llistxattr+0x173/0x230 [ 73.316513][ T5032] ? __ia32_sys_listxattr+0x230/0x230 [ 73.321902][ T5032] ? syscall_enter_from_user_mode+0x32/0x230 [ 73.327905][ T5032] ? syscall_enter_from_user_mode+0x8c/0x230 [ 73.333894][ T5032] do_syscall_64+0x41/0xc0 [ 73.338321][ T5032] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 73.344307][ T5032] RIP: 0033:0x7f72b42765b9 [ 73.348720][ T5032] 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 [ 73.368390][ T5032] RSP: 002b:00007fff934c1808 EFLAGS: 00000246 ORIG_RAX: 00000000000000c3 [ 73.376825][ T5032] RAX: ffffffffffffffda RBX: 00007fff934c19e8 RCX: 00007f72b42765b9 [ 73.384799][ T5032] RDX: 0000000000000019 RSI: 0000000000000000 RDI: 0000000020000000 [ 73.392787][ T5032] RBP: 00007f72b42e9610 R08: 0000000000000603 R09: 0000000000000000 [ 73.400757][ T5032] R10: 00007fff934c16d0 R11: 0000000000000246 R12: 0000000000000001 [ 73.408724][ T5032] R13: 00007fff934c19d8 R14: 0000000000000001 R15: 0000000000000001 [ 73.416705][ T5032] [ 73.419719][ T5032] [ 73.422032][ T5032] Allocated by task 5032: [ 73.426354][ T5032] kasan_set_track+0x4f/0x70 [ 73.431034][ T5032] __kasan_kmalloc+0x98/0xb0 [ 73.435621][ T5032] __kmalloc+0xb9/0x230 [ 73.439773][ T5032] hfsplus_find_init+0x85/0x1c0 [ 73.444623][ T5032] hfsplus_listxattr+0x3c1/0xf00 [ 73.449556][ T5032] listxattr+0x103/0x280 [ 73.453789][ T5032] __x64_sys_llistxattr+0x173/0x230 [ 73.458980][ T5032] do_syscall_64+0x41/0xc0 [ 73.463425][ T5032] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 73.469309][ T5032] [ 73.471622][ T5032] The buggy address belongs to the object at ffff88814b33f800 [ 73.471622][ T5032] which belongs to the cache kmalloc-1k of size 1024 [ 73.485764][ T5032] The buggy address is located 0 bytes to the right of [ 73.485764][ T5032] allocated 536-byte region [ffff88814b33f800, ffff88814b33fa18) [ 73.500510][ T5032] [ 73.502836][ T5032] The buggy address belongs to the physical page: [ 73.509238][ T5032] page:ffffea00052cce00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x14b338 [ 73.519566][ T5032] head:ffffea00052cce00 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 73.528499][ T5032] anon flags: 0x57ff00000000840(slab|head|node=1|zone=2|lastcpupid=0x7ff) [ 73.536991][ T5032] page_type: 0xffffffff() [ 73.541313][ T5032] raw: 057ff00000000840 ffff888012841dc0 0000000000000000 dead000000000001 [ 73.549896][ T5032] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 73.558523][ T5032] page dumped because: kasan: bad access detected [ 73.564940][ T5032] page_owner tracks the page as allocated [ 73.570743][ T5032] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 20669870131, free_ts 0 [ 73.590455][ T5032] post_alloc_hook+0x1e6/0x210 [ 73.595230][ T5032] get_page_from_freelist+0x31db/0x3360 [ 73.600774][ T5032] __alloc_pages+0x255/0x670 [ 73.605389][ T5032] alloc_page_interleave+0x22/0x1d0 [ 73.610583][ T5032] alloc_slab_page+0x6a/0x160 [ 73.615346][ T5032] new_slab+0x84/0x2f0 [ 73.619419][ T5032] ___slab_alloc+0xc85/0x1310 [ 73.624099][ T5032] __kmem_cache_alloc_node+0x1af/0x270 [ 73.629549][ T5032] __kmalloc_node_track_caller+0xa5/0x230 [ 73.635264][ T5032] krealloc+0x79/0x110 [ 73.639326][ T5032] add_sysfs_param+0xca/0x7f0 [ 73.644001][ T5032] kernel_add_sysfs_param+0xb0/0x130 [ 73.649280][ T5032] param_sysfs_builtin+0x16e/0x1f0 [ 73.654396][ T5032] param_sysfs_builtin_init+0x2d/0x30 [ 73.659761][ T5032] do_one_initcall+0x23d/0x7d0 [ 73.664520][ T5032] do_initcall_level+0x157/0x210 [ 73.669457][ T5032] page_owner free stack trace missing [ 73.674813][ T5032] [ 73.677126][ T5032] Memory state around the buggy address: [ 73.682745][ T5032] ffff88814b33f900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 73.690817][ T5032] ffff88814b33f980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 73.698872][ T5032] >ffff88814b33fa00: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc [ 73.706923][ T5032] ^ [ 73.711761][ T5032] ffff88814b33fa80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 73.719824][ T5032] ffff88814b33fb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 73.727874][ T5032] ================================================================== [ 73.736377][ T5032] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 73.743598][ T5032] CPU: 0 PID: 5032 Comm: syz-executor253 Not tainted 6.6.0-rc2-syzkaller-00386-g3aba70aed91f #0 [ 73.754017][ T5032] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 [ 73.764162][ T5032] Call Trace: [ 73.767447][ T5032] [ 73.770390][ T5032] dump_stack_lvl+0x1e7/0x2d0 [ 73.775080][ T5032] ? nf_tcp_handle_invalid+0x650/0x650 [ 73.780540][ T5032] ? panic+0x770/0x770 [ 73.784623][ T5032] ? vscnprintf+0x5d/0x80 [ 73.788962][ T5032] panic+0x30f/0x770 [ 73.792868][ T5032] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 73.799031][ T5032] ? check_panic_on_warn+0x21/0xa0 [ 73.804145][ T5032] ? __memcpy_flushcache+0x2b0/0x2b0 [ 73.809449][ T5032] ? _raw_spin_unlock_irqrestore+0x12c/0x140 [ 73.815455][ T5032] ? _raw_spin_unlock+0x40/0x40 [ 73.820333][ T5032] check_panic_on_warn+0x82/0xa0 [ 73.825296][ T5032] ? hfsplus_uni2asc+0x57a/0x11f0 [ 73.830338][ T5032] end_report+0x6e/0x130 [ 73.834595][ T5032] kasan_report+0x186/0x1b0 [ 73.839110][ T5032] ? hfsplus_uni2asc+0x57a/0x11f0 [ 73.844162][ T5032] hfsplus_uni2asc+0x57a/0x11f0 [ 73.849045][ T5032] ? __asan_memcpy+0x40/0x70 [ 73.853656][ T5032] hfsplus_listxattr+0x70e/0xf00 [ 73.858601][ T5032] ? hfsplus_getxattr+0xd0/0xd0 [ 73.863454][ T5032] ? __kasan_kmalloc+0x98/0xb0 [ 73.868228][ T5032] ? __kmalloc_node+0xb8/0x230 [ 73.872998][ T5032] ? kvmalloc_node+0x72/0x180 [ 73.877678][ T5032] ? listxattr+0x4c/0x280 [ 73.882007][ T5032] ? __x64_sys_llistxattr+0x173/0x230 [ 73.887405][ T5032] ? kvmalloc_node+0x72/0x180 [ 73.892088][ T5032] ? rcu_is_watching+0x15/0xb0 [ 73.896872][ T5032] ? kvmalloc_node+0x72/0x180 [ 73.901558][ T5032] ? __kmalloc_node+0xe8/0x230 [ 73.906341][ T5032] ? bpf_lsm_inode_listxattr+0x9/0x10 [ 73.911720][ T5032] ? hfsplus_getxattr+0xd0/0xd0 [ 73.916571][ T5032] listxattr+0x103/0x280 [ 73.920821][ T5032] __x64_sys_llistxattr+0x173/0x230 [ 73.926029][ T5032] ? __ia32_sys_listxattr+0x230/0x230 [ 73.931415][ T5032] ? syscall_enter_from_user_mode+0x32/0x230 [ 73.937403][ T5032] ? syscall_enter_from_user_mode+0x8c/0x230 [ 73.943395][ T5032] do_syscall_64+0x41/0xc0 [ 73.947815][ T5032] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 73.953714][ T5032] RIP: 0033:0x7f72b42765b9 [ 73.958223][ T5032] 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 [ 73.977831][ T5032] RSP: 002b:00007fff934c1808 EFLAGS: 00000246 ORIG_RAX: 00000000000000c3 [ 73.986250][ T5032] RAX: ffffffffffffffda RBX: 00007fff934c19e8 RCX: 00007f72b42765b9 [ 73.994227][ T5032] RDX: 0000000000000019 RSI: 0000000000000000 RDI: 0000000020000000 [ 74.002200][ T5032] RBP: 00007f72b42e9610 R08: 0000000000000603 R09: 0000000000000000 [ 74.010171][ T5032] R10: 00007fff934c16d0 R11: 0000000000000246 R12: 0000000000000001 [ 74.018149][ T5032] R13: 00007fff934c19d8 R14: 0000000000000001 R15: 0000000000000001 [ 74.026237][ T5032] [ 74.029583][ T5032] Kernel Offset: disabled [ 74.033901][ T5032] Rebooting in 86400 seconds..