./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3196831504
<...>
DUID 00:04:e6:d8:3e:4c:c1:15:84:42:dc:00:60:8c:e3:5f:26:b4
no interfaces have a carrier
[ 35.756053][ T5500] 8021q: adding VLAN 0 to HW filter on device bond0
[ 35.766212][ T5500] eql: remember to turn off Van-Jacobson compression on your slave devices
Starting sshd: OK
syzkaller
Warning: Permanently added '10.128.0.226' (ED25519) to the list of known hosts.
execve("./syz-executor3196831504", ["./syz-executor3196831504"], 0x7fffe5754fa0 /* 10 vars */) = 0
brk(NULL) = 0x5555641ee000
brk(0x5555641eed00) = 0x5555641eed00
arch_prctl(ARCH_SET_FS, 0x5555641ee380) = 0
set_tid_address(0x5555641ee650) = 5830
set_robust_list(0x5555641ee660, 24) = 0
rseq(0x5555641eeca0, 0x20, 0, 0x53053053) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
readlink("/proc/self/exe", "/root/syz-executor3196831504", 4096) = 28
getrandom("\xb5\xb3\x73\xdb\x0e\xff\xc4\x53", 8, GRND_NONBLOCK) = 8
brk(NULL) = 0x5555641eed00
brk(0x55556420fd00) = 0x55556420fd00
brk(0x555564210000) = 0x555564210000
mprotect(0x7f77417df000, 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
mkdir("./syzkaller.OwNw9f", 0700) = 0
chmod("./syzkaller.OwNw9f", 0777) = 0
chdir("./syzkaller.OwNw9f") = 0
mkdir("./0", 0777) = 0
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./strace-static-x86_64: Process 5832 attached
, child_tidptr=0x5555641ee650) = 5832
[pid 5832] set_robust_list(0x5555641ee660, 24) = 0
[pid 5832] chdir("./0") = 0
[pid 5832] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0
[pid 5832] setpgid(0, 0) = 0
[pid 5832] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3
[pid 5832] write(3, "1000", 4) = 4
[pid 5832] close(3) = 0
[pid 5832] symlink("/dev/binderfs", "./binderfs") = 0
executing program
[pid 5832] write(1, "executing program\n", 18) = 18
[pid 5832] memfd_create("syzkaller", 0) = 3
[pid 5832] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7739200000
[pid 5832] 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
[pid 5832] munmap(0x7f7739200000, 138412032) = 0
[pid 5832] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4
[pid 5832] ioctl(4, LOOP_SET_FD, 3) = 0
[pid 5832] close(3) = 0
[pid 5832] close(4) = 0
[pid 5832] mkdir("./file0", 0777) = 0
[pid 5832] mount("/dev/loop0", "./file0", "hfsplus", MS_RDONLY|MS_NOSUID|MS_NODEV|MS_RELATIME, "nodecompose") = 0
[pid 5832] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3
syzkaller login: [ 62.004132][ T5832] loop0: detected capacity change from 0 to 1024
[pid 5832] chdir("./file0") = 0
[pid 5832] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy)
[pid 5832] mount(".", "./file0/../file0", NULL, MS_RDONLY|MS_SYNCHRONOUS|MS_DIRSYNC|MS_BIND|MS_SHARED, NULL) = 0
[pid 5832] exit_group(0) = ?
[pid 5832] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5832, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} ---
umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument)
openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0
getdents64(3, 0x5555641ef6f0 /* 4 entries */, 32768) = 112
umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument)
newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0
unlink("./0/binderfs") = 0
umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy)
newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0755, st_size=8, ...}, AT_SYMLINK_NOFOLLOW) = 0
umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy)
openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
newfstatat(4, "", {st_mode=S_IFDIR|0755, st_size=8, ...}, AT_EMPTY_PATH) = 0
[ 62.261743][ T5830] ==================================================================
[ 62.269847][ T5830] BUG: KASAN: slab-out-of-bounds in hfsplus_uni2asc+0x57f/0x1200
[ 62.277585][ T5830] Read of size 2 at addr ffff88814d35f40c by task syz-executor319/5830
[ 62.285800][ T5830]
[ 62.288124][ T5830] CPU: 0 UID: 0 PID: 5830 Comm: syz-executor319 Not tainted 6.12.0-rc7-syzkaller-00070-g0a9b9d17f3a7 #0
[ 62.299221][ T5830] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
[ 62.309263][ T5830] Call Trace:
[ 62.312527][ T5830]
[ 62.315442][ T5830] dump_stack_lvl+0x241/0x360
[ 62.320106][ T5830] ? __pfx_dump_stack_lvl+0x10/0x10
[ 62.325283][ T5830] ? __pfx__printk+0x10/0x10
[ 62.329872][ T5830] ? _printk+0xd5/0x120
[ 62.334029][ T5830] ? __virt_addr_valid+0x183/0x530
[ 62.339119][ T5830] ? __virt_addr_valid+0x183/0x530
[ 62.344221][ T5830] print_report+0x169/0x550
[ 62.348710][ T5830] ? __virt_addr_valid+0x183/0x530
[ 62.354031][ T5830] ? __virt_addr_valid+0x183/0x530
[ 62.359230][ T5830] ? __virt_addr_valid+0x45f/0x530
[ 62.364330][ T5830] ? __phys_addr+0xba/0x170
[ 62.368818][ T5830] ? hfsplus_uni2asc+0x57f/0x1200
[ 62.373834][ T5830] kasan_report+0x143/0x180
[ 62.378327][ T5830] ? hfsplus_uni2asc+0x57f/0x1200
[ 62.383339][ T5830] hfsplus_uni2asc+0x57f/0x1200
[ 62.388202][ T5830] ? __asan_memcpy+0x40/0x70
[ 62.392776][ T5830] hfsplus_readdir+0x938/0x1320
[ 62.397613][ T5830] ? __pfx_hfsplus_readdir+0x10/0x10
[ 62.402887][ T5830] ? __mutex_lock+0x2ef/0xd70
[ 62.407544][ T5830] ? iterate_dir+0x20c/0x800
[ 62.412123][ T5830] ? __pfx_down_read_killable+0x10/0x10
[ 62.417647][ T5830] ? fdget_pos+0x24e/0x320
[ 62.422047][ T5830] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 62.428013][ T5830] iterate_dir+0x571/0x800
[ 62.432411][ T5830] __se_sys_getdents64+0x1d3/0x4a0
[ 62.437504][ T5830] ? _raw_spin_unlock_irq+0x2e/0x50
[ 62.442695][ T5830] ? __pfx___se_sys_getdents64+0x10/0x10
[ 62.448308][ T5830] ? __pfx_filldir64+0x10/0x10
[ 62.453054][ T5830] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10
[ 62.459384][ T5830] ? exc_page_fault+0x590/0x8c0
[ 62.464235][ T5830] do_syscall_64+0xf3/0x230
[ 62.468722][ T5830] ? clear_bhb_loop+0x35/0x90
[ 62.473399][ T5830] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 62.479275][ T5830] RIP: 0033:0x7f7741792e63
[ 62.483697][ T5830] Code: c1 66 0f 1f 44 00 00 48 83 c4 08 48 89 ef 5b 5d e9 92 48 fb ff 66 90 b8 ff ff ff 7f 48 39 c2 48 0f 47 d0 b8 d9 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 c7 c2 b8 ff ff ff f7 d8
[ 62.503290][ T5830] RSP: 002b:00007ffce4ac00a8 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9
[ 62.511686][ T5830] RAX: ffffffffffffffda RBX: 00005555641f7730 RCX: 00007f7741792e63
[ 62.519636][ T5830] RDX: 0000000000008000 RSI: 00005555641f7730 RDI: 0000000000000004
[ 62.527604][ T5830] RBP: 00005555641f7704 R08: 0000000000000000 R09: 0000000000000000
[ 62.535569][ T5830] R10: 0000000000001000 R11: 0000000000000293 R12: ffffffffffffffb8
[ 62.543546][ T5830] R13: 0000000000000010 R14: 00005555641f7700 R15: 431bde82d7b634db
[ 62.551533][ T5830]
[ 62.554554][ T5830]
[ 62.556881][ T5830] Allocated by task 5830:
[ 62.561188][ T5830] kasan_save_track+0x3f/0x80
[ 62.565854][ T5830] __kasan_kmalloc+0x98/0xb0
[ 62.570435][ T5830] __kmalloc_noprof+0x1fc/0x400
[ 62.575271][ T5830] hfsplus_find_init+0x85/0x1c0
[ 62.580107][ T5830] hfsplus_readdir+0x20b/0x1320
[ 62.585013][ T5830] iterate_dir+0x571/0x800
[ 62.589434][ T5830] __se_sys_getdents64+0x1d3/0x4a0
[ 62.594542][ T5830] do_syscall_64+0xf3/0x230
[ 62.599048][ T5830] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 62.604947][ T5830]
[ 62.607258][ T5830] The buggy address belongs to the object at ffff88814d35f000
[ 62.607258][ T5830] which belongs to the cache kmalloc-2k of size 2048
[ 62.621301][ T5830] The buggy address is located 0 bytes to the right of
[ 62.621301][ T5830] allocated 1036-byte region [ffff88814d35f000, ffff88814d35f40c)
[ 62.635870][ T5830]
[ 62.638181][ T5830] The buggy address belongs to the physical page:
[ 62.644584][ T5830] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x14d358
[ 62.653422][ T5830] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[ 62.661902][ T5830] flags: 0x57ff00000000040(head|node=1|zone=2|lastcpupid=0x7ff)
[ 62.669529][ T5830] page_type: f5(slab)
[ 62.673500][ T5830] raw: 057ff00000000040 ffff88801ac42000 ffffea000534a000 dead000000000002
[ 62.682059][ T5830] raw: 0000000000000000 0000000000080008 00000001f5000000 0000000000000000
[ 62.690618][ T5830] head: 057ff00000000040 ffff88801ac42000 ffffea000534a000 dead000000000002
[ 62.699274][ T5830] head: 0000000000000000 0000000000080008 00000001f5000000 0000000000000000
[ 62.707925][ T5830] head: 057ff00000000003 ffffea000534d601 ffffffffffffffff 0000000000000000
[ 62.716588][ T5830] head: 0000000000000008 0000000000000000 00000000ffffffff 0000000000000000
[ 62.725231][ T5830] page dumped because: kasan: bad access detected
[ 62.731632][ T5830] page_owner tracks the page as allocated
[ 62.737327][ T5830] 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 11859617419, free_ts 0
[ 62.757010][ T5830] post_alloc_hook+0x1f3/0x230
[ 62.761774][ T5830] get_page_from_freelist+0x363e/0x3790
[ 62.767321][ T5830] __alloc_pages_noprof+0x292/0x710
[ 62.772500][ T5830] alloc_pages_mpol_noprof+0x3e8/0x680
[ 62.777943][ T5830] alloc_slab_page+0x6a/0x140
[ 62.782607][ T5830] allocate_slab+0x5a/0x2f0
[ 62.787141][ T5830] ___slab_alloc+0xcd1/0x14b0
[ 62.791797][ T5830] __slab_alloc+0x58/0xa0
[ 62.796120][ T5830] __kmalloc_cache_noprof+0x1d5/0x2c0
[ 62.801487][ T5830] snd_ctl_led_register+0x354/0x8c0
[ 62.806663][ T5830] snd_ctl_dev_register+0xcb/0x140
[ 62.811750][ T5830] snd_device_register_all+0xc9/0x1a0
[ 62.817118][ T5830] snd_card_register+0x1d9/0x6e0
[ 62.822050][ T5830] snd_virmidi_probe+0x4ee/0x7a0
[ 62.826982][ T5830] platform_probe+0x13a/0x1c0
[ 62.831638][ T5830] really_probe+0x2b8/0xad0
[ 62.836120][ T5830] page_owner free stack trace missing
[ 62.841468][ T5830]
[ 62.843774][ T5830] Memory state around the buggy address:
[ 62.849419][ T5830] ffff88814d35f300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 62.857468][ T5830] ffff88814d35f380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 62.865533][ T5830] >ffff88814d35f400: 00 04 fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 62.873576][ T5830] ^
[ 62.877905][ T5830] ffff88814d35f480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 62.885946][ T5830] ffff88814d35f500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 62.893994][ T5830] ==================================================================
[ 62.902303][ T5830] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 62.909510][ T5830] CPU: 0 UID: 0 PID: 5830 Comm: syz-executor319 Not tainted 6.12.0-rc7-syzkaller-00070-g0a9b9d17f3a7 #0
[ 62.920701][ T5830] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
[ 62.930752][ T5830] Call Trace:
[ 62.934041][ T5830]
[ 62.936972][ T5830] dump_stack_lvl+0x241/0x360
[ 62.941651][ T5830] ? __pfx_dump_stack_lvl+0x10/0x10
[ 62.946841][ T5830] ? __pfx__printk+0x10/0x10
[ 62.951423][ T5830] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 62.957403][ T5830] ? vscnprintf+0x5d/0x90
[ 62.961879][ T5830] panic+0x349/0x880
[ 62.965768][ T5830] ? check_panic_on_warn+0x21/0xb0
[ 62.970874][ T5830] ? __pfx_panic+0x10/0x10
[ 62.975401][ T5830] ? _raw_spin_unlock_irqrestore+0x130/0x140
[ 62.981376][ T5830] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10
[ 62.987694][ T5830] check_panic_on_warn+0x86/0xb0
[ 62.992623][ T5830] ? hfsplus_uni2asc+0x57f/0x1200
[ 62.997644][ T5830] end_report+0x77/0x160
[ 63.001904][ T5830] kasan_report+0x154/0x180
[ 63.006409][ T5830] ? hfsplus_uni2asc+0x57f/0x1200
[ 63.011429][ T5830] hfsplus_uni2asc+0x57f/0x1200
[ 63.016275][ T5830] ? __asan_memcpy+0x40/0x70
[ 63.021036][ T5830] hfsplus_readdir+0x938/0x1320
[ 63.025885][ T5830] ? __pfx_hfsplus_readdir+0x10/0x10
[ 63.031179][ T5830] ? __mutex_lock+0x2ef/0xd70
[ 63.035851][ T5830] ? iterate_dir+0x20c/0x800
[ 63.040437][ T5830] ? __pfx_down_read_killable+0x10/0x10
[ 63.045985][ T5830] ? fdget_pos+0x24e/0x320
[ 63.050423][ T5830] ? lockdep_hardirqs_on_prepare+0x43d/0x780
[ 63.056413][ T5830] iterate_dir+0x571/0x800
[ 63.060828][ T5830] __se_sys_getdents64+0x1d3/0x4a0
[ 63.066022][ T5830] ? _raw_spin_unlock_irq+0x2e/0x50
[ 63.071296][ T5830] ? __pfx___se_sys_getdents64+0x10/0x10
[ 63.076920][ T5830] ? __pfx_filldir64+0x10/0x10
[ 63.081788][ T5830] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10
[ 63.088112][ T5830] ? exc_page_fault+0x590/0x8c0
[ 63.092958][ T5830] do_syscall_64+0xf3/0x230
[ 63.097453][ T5830] ? clear_bhb_loop+0x35/0x90
[ 63.102212][ T5830] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 63.108094][ T5830] RIP: 0033:0x7f7741792e63
[ 63.112497][ T5830] Code: c1 66 0f 1f 44 00 00 48 83 c4 08 48 89 ef 5b 5d e9 92 48 fb ff 66 90 b8 ff ff ff 7f 48 39 c2 48 0f 47 d0 b8 d9 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 c7 c2 b8 ff ff ff f7 d8
[ 63.132090][ T5830] RSP: 002b:00007ffce4ac00a8 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9
[ 63.140498][ T5830] RAX: ffffffffffffffda RBX: 00005555641f7730 RCX: 00007f7741792e63
[ 63.148459][ T5830] RDX: 0000000000008000 RSI: 00005555641f7730 RDI: 0000000000000004
[ 63.156419][ T5830] RBP: 00005555641f7704 R08: 0000000000000000 R09: 0000000000000000
[ 63.164379][ T5830] R10: 0000000000001000 R11: 0000000000000293 R12: ffffffffffffffb8
[ 63.172337][ T5830] R13: 0000000000000010 R14: 00005555641f7700 R15: 431bde82d7b634db
[ 63.180308][ T5830]
[ 63.183462][ T5830] Kernel Offset: disabled
[ 63.187773][ T5830] Rebooting in 86400 seconds..