./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3587776715
<...>
DUID 00:04:02:40:b4:1b:63:80:2c:d1:41:b7:a3:cb:95:3e:6a:64
forked to background, child pid 4667
[ 22.104045][ T4668] 8021q: adding VLAN 0 to HW filter on device bond0
[ 22.117440][ T4668] eql: remember to turn off Van-Jacobson compression on your slave devices
Starting sshd: OK
syzkaller
Warning: Permanently added '10.128.1.8' (ECDSA) to the list of known hosts.
execve("./syz-executor3587776715", ["./syz-executor3587776715"], 0x7ffeb0e0ad40 /* 10 vars */) = 0
brk(NULL) = 0x555556ac7000
brk(0x555556ac7c40) = 0x555556ac7c40
arch_prctl(ARCH_SET_FS, 0x555556ac7300) = 0
uname({sysname="Linux", nodename="syzkaller", ...}) = 0
readlink("/proc/self/exe", "/root/syz-executor3587776715", 4096) = 28
brk(0x555556ae8c40) = 0x555556ae8c40
brk(0x555556ae9000) = 0x555556ae9000
mprotect(0x7f0626951000, 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) = 0x7f061e498000
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(0x7f061e498000, 524288) = 0
openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4
ioctl(4, LOOP_SET_FD, 3) = 0
close(3) = 0
mkdir("./bus", 0777) = 0
mount("/dev/loop0", "./bus", "hfsplus", MS_SYNCHRONOUS|MS_NOATIME|MS_POSIXACL, "") = 0
openat(AT_FDCWD, "./bus", O_RDONLY|O_DIRECTORY) = 3
chdir("./bus") = 0
ioctl(4, LOOP_CLR_FD) = 0
close(4) = 0
syzkaller login: [ 45.124280][ T4999] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=4999 'syz-executor358'
[ 45.141456][ T4999] loop0: detected capacity change from 0 to 1024
[ 45.164609][ T4999] hfsplus: request for non-existent node 32768 in B*Tree
[ 45.171916][ T4999] hfsplus: request for non-existent node 32768 in B*Tree
[ 45.179703][ T4999] ==================================================================
[ 45.187757][ T4999] BUG: KASAN: slab-out-of-bounds in hfsplus_bnode_read+0x144/0x150
[ 45.195651][ T4999] Read of size 8 at addr ffff88814bec30c0 by task syz-executor358/4999
[ 45.203869][ T4999]
[ 45.206176][ T4999] CPU: 1 PID: 4999 Comm: syz-executor358 Not tainted 6.4.0-syzkaller-00082-gc0a572d9d32f #0
[ 45.216222][ T4999] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
[ 45.226258][ T4999] Call Trace:
[ 45.229517][ T4999]
[ 45.232434][ T4999] dump_stack_lvl+0xd9/0x150
[ 45.237023][ T4999] print_address_description.constprop.0+0x2c/0x3c0
[ 45.243605][ T4999] ? hfsplus_bnode_read+0x144/0x150
[ 45.248799][ T4999] kasan_report+0x11c/0x130
[ 45.253301][ T4999] ? hfsplus_bnode_read+0x144/0x150
[ 45.258514][ T4999] hfsplus_bnode_read+0x144/0x150
[ 45.263529][ T4999] hfsplus_bnode_dump+0x2c6/0x3a0
[ 45.268627][ T4999] ? hfsplus_bnode_read+0xb8/0x150
[ 45.273724][ T4999] ? hfsplus_bnode_move+0x8f0/0x8f0
[ 45.278912][ T4999] ? hfsplus_bnode_write_u16+0x84/0xb0
[ 45.284376][ T4999] ? hfsplus_bnode_move+0x2b/0x8f0
[ 45.289477][ T4999] ? __mark_inode_dirty+0x297/0xd60
[ 45.294664][ T4999] hfsplus_brec_remove+0x3db/0x4f0
[ 45.299785][ T4999] __hfsplus_delete_attr+0x28a/0x3a0
[ 45.305060][ T4999] ? hfsplus_find_exit+0xc0/0xc0
[ 45.310076][ T4999] ? hfsplus_part_find+0xb80/0xb80
[ 45.315177][ T4999] ? rcu_is_watching+0x12/0xb0
[ 45.319933][ T4999] hfsplus_delete_all_attrs+0x25d/0x320
[ 45.325467][ T4999] ? do_raw_spin_lock+0x124/0x2b0
[ 45.330478][ T4999] ? hfsplus_delete_attr+0x300/0x300
[ 45.335751][ T4999] ? spin_bug+0x1c0/0x1c0
[ 45.340070][ T4999] ? rcu_is_watching+0x12/0xb0
[ 45.344827][ T4999] ? __mark_inode_dirty+0x5a7/0xd60
[ 45.350012][ T4999] hfsplus_delete_cat+0x86a/0xe40
[ 45.355026][ T4999] ? hfsplus_create_cat+0x10d0/0x10d0
[ 45.360385][ T4999] ? mutex_lock_io_nested+0x11a0/0x11a0
[ 45.365921][ T4999] ? lock_sync+0x190/0x190
[ 45.370330][ T4999] hfsplus_unlink+0x1e3/0x830
[ 45.375004][ T4999] ? hfsplus_symlink+0x2e0/0x2e0
[ 45.379925][ T4999] ? down_write+0x14f/0x200
[ 45.384414][ T4999] ? rwsem_down_write_slowpath+0x1220/0x1220
[ 45.390379][ T4999] ? may_delete+0x388/0x900
[ 45.394869][ T4999] vfs_unlink+0x355/0x930
[ 45.399178][ T4999] ? bpf_lsm_path_unlink+0x9/0x10
[ 45.404189][ T4999] do_unlinkat+0x3e3/0x680
[ 45.408593][ T4999] ? __ia32_sys_rmdir+0x110/0x110
[ 45.413601][ T4999] ? __check_object_size+0x323/0x730
[ 45.418873][ T4999] ? getname_flags.part.0+0x1dd/0x4f0
[ 45.424235][ T4999] __x64_sys_unlink+0xca/0x110
[ 45.428986][ T4999] do_syscall_64+0x39/0xb0
[ 45.433385][ T4999] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 45.439268][ T4999] RIP: 0033:0x7f06268e4789
[ 45.443664][ T4999] 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
[ 45.463254][ T4999] RSP: 002b:00007fffc8df90e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
[ 45.471649][ T4999] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f06268e4789
[ 45.479618][ T4999] RDX: 00007f06268a2e03 RSI: 0000000000000000 RDI: 0000000020000140
[ 45.487613][ T4999] RBP: 00007f06268a4020 R08: 0000000000000640 R09: 0000000000000000
[ 45.495570][ T4999] R10: 00007fffc8df8fb0 R11: 0000000000000246 R12: 00007f06268a40b0
[ 45.503528][ T4999] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 45.511486][ T4999]
[ 45.514480][ T4999]
[ 45.516777][ T4999] Allocated by task 4999:
[ 45.521074][ T4999] kasan_save_stack+0x22/0x40
[ 45.525739][ T4999] kasan_set_track+0x25/0x30
[ 45.530310][ T4999] __kasan_kmalloc+0xa2/0xb0
[ 45.534898][ T4999] __kmalloc+0x5e/0x190
[ 45.539033][ T4999] __hfs_bnode_create+0x107/0x840
[ 45.544042][ T4999] hfsplus_bnode_find+0x41c/0xc60
[ 45.549137][ T4999] hfsplus_brec_find+0x2b3/0x520
[ 45.554058][ T4999] hfsplus_delete_all_attrs+0x236/0x320
[ 45.559591][ T4999] hfsplus_delete_cat+0x86a/0xe40
[ 45.564600][ T4999] hfsplus_unlink+0x1e3/0x830
[ 45.569259][ T4999] vfs_unlink+0x355/0x930
[ 45.573565][ T4999] do_unlinkat+0x3e3/0x680
[ 45.577967][ T4999] __x64_sys_unlink+0xca/0x110
[ 45.582714][ T4999] do_syscall_64+0x39/0xb0
[ 45.587125][ T4999] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 45.593003][ T4999]
[ 45.595326][ T4999] Last potentially related work creation:
[ 45.601013][ T4999] kasan_save_stack+0x22/0x40
[ 45.605679][ T4999] __kasan_record_aux_stack+0xbc/0xd0
[ 45.611033][ T4999] insert_work+0x48/0x360
[ 45.615350][ T4999] __queue_work+0x625/0x1120
[ 45.619929][ T4999] queue_work_on+0xf2/0x110
[ 45.624420][ T4999] call_usermodehelper_exec+0x1d2/0x4c0
[ 45.629949][ T4999] kobject_uevent_env+0xefc/0x16c0
[ 45.635042][ T4999] param_sysfs_builtin_init+0x21d/0x460
[ 45.640569][ T4999] do_one_initcall+0x102/0x540
[ 45.645315][ T4999] kernel_init_freeable+0x64e/0xba0
[ 45.650492][ T4999] kernel_init+0x1e/0x2c0
[ 45.654805][ T4999] ret_from_fork+0x1f/0x30
[ 45.659206][ T4999]
[ 45.661522][ T4999] The buggy address belongs to the object at ffff88814bec3000
[ 45.661522][ T4999] which belongs to the cache kmalloc-192 of size 192
[ 45.675552][ T4999] The buggy address is located 40 bytes to the right of
[ 45.675552][ T4999] allocated 152-byte region [ffff88814bec3000, ffff88814bec3098)
[ 45.690112][ T4999]
[ 45.692418][ T4999] The buggy address belongs to the physical page:
[ 45.698802][ T4999] page:ffffea00052fb0c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x14bec3
[ 45.709020][ T4999] anon flags: 0x57ff00000000200(slab|node=1|zone=2|lastcpupid=0x7ff)
[ 45.717065][ T4999] page_type: 0xffffffff()
[ 45.721375][ T4999] raw: 057ff00000000200 ffff888012441a00 0000000000000000 0000000000000001
[ 45.729936][ T4999] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000
[ 45.738497][ T4999] page dumped because: kasan: bad access detected
[ 45.744906][ T4999] page_owner tracks the page as allocated
[ 45.750613][ T4999] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, tgid 1 (swapper/0), ts 9293238004, free_ts 0
[ 45.767196][ T4999] post_alloc_hook+0x2db/0x350
[ 45.771963][ T4999] get_page_from_freelist+0xf41/0x2c00
[ 45.777419][ T4999] __alloc_pages+0x1cb/0x4a0
[ 45.781999][ T4999] alloc_page_interleave+0x1e/0x200
[ 45.787192][ T4999] alloc_pages+0x233/0x270
[ 45.791599][ T4999] allocate_slab+0x25f/0x390
[ 45.796169][ T4999] ___slab_alloc+0xa91/0x1400
[ 45.800829][ T4999] __slab_alloc.constprop.0+0x56/0xa0
[ 45.806208][ T4999] __kmem_cache_alloc_node+0x136/0x320
[ 45.811659][ T4999] kmalloc_trace+0x26/0xe0
[ 45.816067][ T4999] call_usermodehelper_setup+0x9c/0x340
[ 45.821623][ T4999] kobject_uevent_env+0xedd/0x16c0
[ 45.826725][ T4999] param_sysfs_builtin_init+0x21d/0x460
[ 45.832264][ T4999] do_one_initcall+0x102/0x540
[ 45.837012][ T4999] kernel_init_freeable+0x64e/0xba0
[ 45.842192][ T4999] kernel_init+0x1e/0x2c0
[ 45.846505][ T4999] page_owner free stack trace missing
[ 45.851851][ T4999]
[ 45.854157][ T4999] Memory state around the buggy address:
[ 45.859786][ T4999] ffff88814bec2f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 45.867843][ T4999] ffff88814bec3000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 45.875886][ T4999] >ffff88814bec3080: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 45.883928][ T4999] ^
[ 45.890056][ T4999] ffff88814bec3100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 45.898098][ T4999] ffff88814bec3180: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
[ 45.906143][ T4999] ==================================================================
[ 45.914396][ T4999] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 45.921602][ T4999] CPU: 1 PID: 4999 Comm: syz-executor358 Not tainted 6.4.0-syzkaller-00082-gc0a572d9d32f #0
[ 45.931661][ T4999] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
[ 45.941705][ T4999] Call Trace:
[ 45.944973][ T4999]
[ 45.947896][ T4999] dump_stack_lvl+0xd9/0x150
[ 45.952485][ T4999] panic+0x686/0x730
[ 45.956383][ T4999] ? panic_smp_self_stop+0xa0/0xa0
[ 45.961498][ T4999] ? preempt_schedule_thunk+0x1a/0x20
[ 45.966880][ T4999] ? preempt_schedule_common+0x45/0xb0
[ 45.972342][ T4999] check_panic_on_warn+0xb1/0xc0
[ 45.977284][ T4999] end_report+0xe9/0x120
[ 45.981529][ T4999] ? hfsplus_bnode_read+0x144/0x150
[ 45.986729][ T4999] kasan_report+0xf9/0x130
[ 45.991150][ T4999] ? hfsplus_bnode_read+0x144/0x150
[ 45.996359][ T4999] hfsplus_bnode_read+0x144/0x150
[ 46.001385][ T4999] hfsplus_bnode_dump+0x2c6/0x3a0
[ 46.006411][ T4999] ? hfsplus_bnode_read+0xb8/0x150
[ 46.011522][ T4999] ? hfsplus_bnode_move+0x8f0/0x8f0
[ 46.016726][ T4999] ? hfsplus_bnode_write_u16+0x84/0xb0
[ 46.022211][ T4999] ? hfsplus_bnode_move+0x2b/0x8f0
[ 46.027344][ T4999] ? __mark_inode_dirty+0x297/0xd60
[ 46.032567][ T4999] hfsplus_brec_remove+0x3db/0x4f0
[ 46.037686][ T4999] __hfsplus_delete_attr+0x28a/0x3a0
[ 46.042975][ T4999] ? hfsplus_find_exit+0xc0/0xc0
[ 46.047918][ T4999] ? hfsplus_part_find+0xb80/0xb80
[ 46.053035][ T4999] ? rcu_is_watching+0x12/0xb0
[ 46.057809][ T4999] hfsplus_delete_all_attrs+0x25d/0x320
[ 46.063360][ T4999] ? do_raw_spin_lock+0x124/0x2b0
[ 46.068386][ T4999] ? hfsplus_delete_attr+0x300/0x300
[ 46.073677][ T4999] ? spin_bug+0x1c0/0x1c0
[ 46.078011][ T4999] ? rcu_is_watching+0x12/0xb0
[ 46.082780][ T4999] ? __mark_inode_dirty+0x5a7/0xd60
[ 46.087983][ T4999] hfsplus_delete_cat+0x86a/0xe40
[ 46.093011][ T4999] ? hfsplus_create_cat+0x10d0/0x10d0
[ 46.098384][ T4999] ? mutex_lock_io_nested+0x11a0/0x11a0
[ 46.103933][ T4999] ? lock_sync+0x190/0x190
[ 46.108349][ T4999] hfsplus_unlink+0x1e3/0x830
[ 46.113028][ T4999] ? hfsplus_symlink+0x2e0/0x2e0
[ 46.117961][ T4999] ? down_write+0x14f/0x200
[ 46.122463][ T4999] ? rwsem_down_write_slowpath+0x1220/0x1220
[ 46.128453][ T4999] ? may_delete+0x388/0x900
[ 46.132971][ T4999] vfs_unlink+0x355/0x930
[ 46.137305][ T4999] ? bpf_lsm_path_unlink+0x9/0x10
[ 46.142335][ T4999] do_unlinkat+0x3e3/0x680
[ 46.146751][ T4999] ? __ia32_sys_rmdir+0x110/0x110
[ 46.151778][ T4999] ? __check_object_size+0x323/0x730
[ 46.157061][ T4999] ? getname_flags.part.0+0x1dd/0x4f0
[ 46.162431][ T4999] __x64_sys_unlink+0xca/0x110
[ 46.167194][ T4999] do_syscall_64+0x39/0xb0
[ 46.171608][ T4999] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 46.177508][ T4999] RIP: 0033:0x7f06268e4789
[ 46.181919][ T4999] 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
[ 46.201521][ T4999] RSP: 002b:00007fffc8df90e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
[ 46.209927][ T4999] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f06268e4789
[ 46.217884][ T4999] RDX: 00007f06268a2e03 RSI: 0000000000000000 RDI: 0000000020000140
[ 46.225841][ T4999] RBP: 00007f06268a4020 R08: 0000000000000640 R09: 0000000000000000
[ 46.233801][ T4999] R10: 00007fffc8df8fb0 R11: 0000000000000246 R12: 00007f06268a40b0
[ 46.241762][ T4999] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 46.249813][ T4999]
[ 46.253319][ T4999] Kernel Offset: disabled
[ 46.257650][ T4999] Rebooting in 86400 seconds..