./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor166288451
<...>
Warning: Permanently added '10.128.1.104' (ED25519) to the list of known hosts.
execve("./syz-executor166288451", ["./syz-executor166288451"], 0x7ffd3acde5d0 /* 10 vars */) = 0
brk(NULL) = 0x5555759d9000
brk(0x5555759d9d00) = 0x5555759d9d00
arch_prctl(ARCH_SET_FS, 0x5555759d9380) = 0
set_tid_address(0x5555759d9650) = 5059
set_robust_list(0x5555759d9660, 24) = 0
rseq(0x5555759d9ca0, 0x20, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlink("/proc/self/exe", "/root/syz-executor166288451", 4096) = 27
getrandom("\xc3\x3d\x63\xcb\x89\x6f\xbf\x3a", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0x5555759d9d00
brk(0x5555759fad00) = 0x5555759fad00
brk(0x5555759fb000) = 0x5555759fb000
mprotect(0x7f56462d0000, 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) = 0x7f563de00000
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(0x7f563de00000, 138412032) = 0
openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4
ioctl(4, LOOP_SET_FD, 3) = 0
close(3) = 0
close(4) = 0
mkdir("./file1", 0777) = 0
syzkaller login: [ 72.947527][ T5059] loop0: detected capacity change from 0 to 1024
mount("/dev/loop0", "./file1", "hfsplus", MS_NODIRATIME|MS_SILENT|MS_RELATIME|MS_I_VERSION, "") = 0
openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3
chdir("./file1") = 0
openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy)
openat(AT_FDCWD, ".", O_RDONLY) = 4
[ 73.057487][ T5059] ==================================================================
[ 73.065583][ T5059] BUG: KASAN: slab-out-of-bounds in hfsplus_uni2asc+0x57f/0x1200
[ 73.073329][ T5059] Read of size 2 at addr ffff88807e01c40c by task syz-executor166/5059
[ 73.081574][ T5059]
[ 73.083904][ T5059] CPU: 0 PID: 5059 Comm: syz-executor166 Not tainted 6.8.0-syzkaller-05562-g61387b8dcf1d #0
[ 73.093979][ T5059] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
[ 73.104038][ T5059] Call Trace:
[ 73.107321][ T5059]
[ 73.110346][ T5059] dump_stack_lvl+0x241/0x360
[ 73.115054][ T5059] ? __pfx_dump_stack_lvl+0x10/0x10
[ 73.120270][ T5059] ? __pfx__printk+0x10/0x10
[ 73.124873][ T5059] ? _printk+0xd5/0x120
[ 73.129040][ T5059] ? __virt_addr_valid+0x183/0x520
[ 73.134163][ T5059] ? __virt_addr_valid+0x183/0x520
[ 73.139294][ T5059] print_report+0x169/0x550
[ 73.143805][ T5059] ? __virt_addr_valid+0x183/0x520
[ 73.148931][ T5059] ? __virt_addr_valid+0x183/0x520
[ 73.154054][ T5059] ? __virt_addr_valid+0x44e/0x520
[ 73.159181][ T5059] ? __phys_addr+0xba/0x170
[ 73.163698][ T5059] ? hfsplus_uni2asc+0x57f/0x1200
[ 73.168727][ T5059] kasan_report+0x143/0x180
[ 73.173260][ T5059] ? hfsplus_uni2asc+0x57f/0x1200
[ 73.178313][ T5059] hfsplus_uni2asc+0x57f/0x1200
[ 73.183194][ T5059] ? __asan_memcpy+0x40/0x70
[ 73.187807][ T5059] hfsplus_readdir+0x93b/0x1320
[ 73.192682][ T5059] ? __pfx_hfsplus_readdir+0x10/0x10
[ 73.198018][ T5059] ? __mutex_lock+0x2ef/0xd70
[ 73.202714][ T5059] ? iterate_dir+0x436/0x6f0
[ 73.207331][ T5059] ? __pfx_down_read_killable+0x10/0x10
[ 73.212895][ T5059] ? __fdget_pos+0x259/0x320
[ 73.217499][ T5059] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 73.223484][ T5059] ? bpf_lsm_file_permission+0x9/0x10
[ 73.228886][ T5059] iterate_dir+0x539/0x6f0
[ 73.233326][ T5059] __se_sys_getdents64+0x20d/0x4f0
[ 73.238447][ T5059] ? _raw_spin_unlock_irq+0x2e/0x50
[ 73.243678][ T5059] ? __pfx___se_sys_getdents64+0x10/0x10
[ 73.249329][ T5059] ? __pfx_filldir64+0x10/0x10
[ 73.254112][ T5059] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10
[ 73.260450][ T5059] ? do_syscall_64+0x10a/0x240
[ 73.265232][ T5059] ? syscall_trace_enter+0x5f/0x150
[ 73.270441][ T5059] do_syscall_64+0xfb/0x240
[ 73.274967][ T5059] entry_SYSCALL_64_after_hwframe+0x6d/0x75
[ 73.280867][ T5059] RIP: 0033:0x7f564625d639
[ 73.285322][ T5059] 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.308159][ T5059] RSP: 002b:00007ffc60fea228 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
[ 73.316609][ T5059] RAX: ffffffffffffffda RBX: 00007ffc60fea3f8 RCX: 00007f564625d639
[ 73.324590][ T5059] RDX: 00000000000000cb RSI: 0000000020000540 RDI: 0000000000000004
[ 73.332658][ T5059] RBP: 00007f56462d0610 R08: 0000000000000000 R09: 00007ffc60fea3f8
[ 73.340654][ T5059] R10: 0000000000000673 R11: 0000000000000246 R12: 0000000000000001
[ 73.348635][ T5059] R13: 00007ffc60fea3e8 R14: 0000000000000001 R15: 0000000000000001
[ 73.356623][ T5059]
[ 73.359647][ T5059]
[ 73.361970][ T5059] Allocated by task 5059:
[ 73.366330][ T5059] kasan_save_track+0x3f/0x80
[ 73.371041][ T5059] __kasan_kmalloc+0x98/0xb0
[ 73.375636][ T5059] __kmalloc+0x233/0x4a0
[ 73.379886][ T5059] hfsplus_find_init+0x85/0x1c0
[ 73.384741][ T5059] hfsplus_readdir+0x20e/0x1320
[ 73.389604][ T5059] iterate_dir+0x539/0x6f0
[ 73.394120][ T5059] __se_sys_getdents64+0x20d/0x4f0
[ 73.399238][ T5059] do_syscall_64+0xfb/0x240
[ 73.403756][ T5059] entry_SYSCALL_64_after_hwframe+0x6d/0x75
[ 73.409660][ T5059]
[ 73.411983][ T5059] The buggy address belongs to the object at ffff88807e01c000
[ 73.411983][ T5059] which belongs to the cache kmalloc-2k of size 2048
[ 73.426047][ T5059] The buggy address is located 0 bytes to the right of
[ 73.426047][ T5059] allocated 1036-byte region [ffff88807e01c000, ffff88807e01c40c)
[ 73.440650][ T5059]
[ 73.442976][ T5059] The buggy address belongs to the physical page:
[ 73.449400][ T5059] page:ffffea0001f80600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7e018
[ 73.459551][ T5059] head:ffffea0001f80600 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[ 73.468486][ T5059] flags: 0xfff00000000840(slab|head|node=0|zone=1|lastcpupid=0x7ff)
[ 73.476483][ T5059] page_type: 0xffffffff()
[ 73.480819][ T5059] raw: 00fff00000000840 ffff888014c42000 dead000000000122 0000000000000000
[ 73.489409][ T5059] raw: 0000000000000000 0000000080080008 00000001ffffffff 0000000000000000
[ 73.498006][ T5059] page dumped because: kasan: bad access detected
[ 73.504433][ T5059] page_owner tracks the page as allocated
[ 73.510146][ T5059] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4725, tgid 4725 (dhcpcd), ts 61495072307, free_ts 61494686903
[ 73.531007][ T5059] post_alloc_hook+0x1ea/0x210
[ 73.535784][ T5059] get_page_from_freelist+0x33ea/0x3580
[ 73.541347][ T5059] __alloc_pages+0x256/0x680
[ 73.545945][ T5059] alloc_slab_page+0x5f/0x160
[ 73.550646][ T5059] new_slab+0x84/0x2f0
[ 73.554727][ T5059] ___slab_alloc+0xc73/0x1260
[ 73.559417][ T5059] __kmalloc+0x2e5/0x4a0
[ 73.563668][ T5059] sk_prot_alloc+0xe0/0x210
[ 73.568201][ T5059] sk_alloc+0x38/0x370
[ 73.572297][ T5059] __netlink_create+0x6c/0x280
[ 73.577076][ T5059] netlink_create+0x3d8/0x590
[ 73.581757][ T5059] __sock_create+0x490/0x920
[ 73.586355][ T5059] __sys_socket+0x150/0x3c0
[ 73.590865][ T5059] __x64_sys_socket+0x7a/0x90
[ 73.595549][ T5059] do_syscall_64+0xfb/0x240
[ 73.600106][ T5059] entry_SYSCALL_64_after_hwframe+0x6d/0x75
[ 73.606004][ T5059] page last free pid 4724 tgid 4724 stack trace:
[ 73.612335][ T5059] free_unref_page_prepare+0x95d/0xa80
[ 73.617805][ T5059] free_unref_page+0x37/0x3f0
[ 73.622483][ T5059] free_large_kmalloc+0x105/0x1c0
[ 73.627528][ T5059] kfree+0x1c1/0x380
[ 73.631444][ T5059] skb_release_data+0x585/0x870
[ 73.636315][ T5059] consume_skb+0xb3/0x160
[ 73.640675][ T5059] netlink_recvmsg+0x60a/0x11d0
[ 73.645597][ T5059] sock_recvmsg+0x22f/0x280
[ 73.650118][ T5059] ____sys_recvmsg+0x1db/0x470
[ 73.654889][ T5059] __sys_recvmsg+0x2f0/0x3e0
[ 73.659493][ T5059] do_syscall_64+0xfb/0x240
[ 73.664025][ T5059] entry_SYSCALL_64_after_hwframe+0x6d/0x75
[ 73.669931][ T5059]
[ 73.672257][ T5059] Memory state around the buggy address:
[ 73.677886][ T5059] ffff88807e01c300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 73.685945][ T5059] ffff88807e01c380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 73.694010][ T5059] >ffff88807e01c400: 00 04 fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 73.702073][ T5059] ^
[ 73.706414][ T5059] ffff88807e01c480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 73.714482][ T5059] ffff88807e01c500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 73.722580][ T5059] ==================================================================
[ 73.731159][ T5059] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 73.738385][ T5059] CPU: 0 PID: 5059 Comm: syz-executor166 Not tainted 6.8.0-syzkaller-05562-g61387b8dcf1d #0
[ 73.748460][ T5059] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
[ 73.758724][ T5059] Call Trace:
[ 73.762013][ T5059]
[ 73.764950][ T5059] dump_stack_lvl+0x241/0x360
[ 73.769669][ T5059] ? __pfx_dump_stack_lvl+0x10/0x10
[ 73.774888][ T5059] ? __pfx__printk+0x10/0x10
[ 73.779577][ T5059] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 73.785568][ T5059] ? vscnprintf+0x5d/0x90
[ 73.789920][ T5059] panic+0x349/0x860
[ 73.793843][ T5059] ? check_panic_on_warn+0x21/0xb0
[ 73.798976][ T5059] ? __pfx_panic+0x10/0x10
[ 73.803413][ T5059] ? _raw_spin_unlock_irqrestore+0x130/0x140
[ 73.809411][ T5059] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10
[ 73.815766][ T5059] check_panic_on_warn+0x86/0xb0
[ 73.820738][ T5059] ? hfsplus_uni2asc+0x57f/0x1200
[ 73.825791][ T5059] end_report+0x6e/0x140
[ 73.830078][ T5059] kasan_report+0x154/0x180
[ 73.834595][ T5059] ? hfsplus_uni2asc+0x57f/0x1200
[ 73.839665][ T5059] hfsplus_uni2asc+0x57f/0x1200
[ 73.844525][ T5059] ? __asan_memcpy+0x40/0x70
[ 73.849158][ T5059] hfsplus_readdir+0x93b/0x1320
[ 73.854035][ T5059] ? __pfx_hfsplus_readdir+0x10/0x10
[ 73.859360][ T5059] ? __mutex_lock+0x2ef/0xd70
[ 73.864045][ T5059] ? iterate_dir+0x436/0x6f0
[ 73.868667][ T5059] ? __pfx_down_read_killable+0x10/0x10
[ 73.874259][ T5059] ? __fdget_pos+0x259/0x320
[ 73.878874][ T5059] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 73.884910][ T5059] ? bpf_lsm_file_permission+0x9/0x10
[ 73.890314][ T5059] iterate_dir+0x539/0x6f0
[ 73.894867][ T5059] __se_sys_getdents64+0x20d/0x4f0
[ 73.900007][ T5059] ? _raw_spin_unlock_irq+0x2e/0x50
[ 73.905250][ T5059] ? __pfx___se_sys_getdents64+0x10/0x10
[ 73.910921][ T5059] ? __pfx_filldir64+0x10/0x10
[ 73.915695][ T5059] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10
[ 73.922032][ T5059] ? do_syscall_64+0x10a/0x240
[ 73.926816][ T5059] ? syscall_trace_enter+0x5f/0x150
[ 73.932024][ T5059] do_syscall_64+0xfb/0x240
[ 73.936562][ T5059] entry_SYSCALL_64_after_hwframe+0x6d/0x75
[ 73.942468][ T5059] RIP: 0033:0x7f564625d639
[ 73.946890][ T5059] 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.966509][ T5059] RSP: 002b:00007ffc60fea228 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
[ 73.974933][ T5059] RAX: ffffffffffffffda RBX: 00007ffc60fea3f8 RCX: 00007f564625d639
[ 73.982910][ T5059] RDX: 00000000000000cb RSI: 0000000020000540 RDI: 0000000000000004
[ 73.990887][ T5059] RBP: 00007f56462d0610 R08: 0000000000000000 R09: 00007ffc60fea3f8
[ 73.998885][ T5059] R10: 0000000000000673 R11: 0000000000000246 R12: 0000000000000001
[ 74.006868][ T5059] R13: 00007ffc60fea3e8 R14: 0000000000000001 R15: 0000000000000001
[ 74.014855][ T5059]
[ 74.018205][ T5059] Kernel Offset: disabled
[ 74.022530][ T5059] Rebooting in 86400 seconds..