Warning: Permanently added '10.128.0.143' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 42.241977] ====================================================== [ 42.241977] WARNING: the mand mount option is being deprecated and [ 42.241977] will be removed in v5.15! [ 42.241977] ====================================================== [ 42.269885] ================================================================== [ 42.277391] BUG: KASAN: slab-out-of-bounds in hfs_asc2mac+0x68f/0x710 [ 42.283973] Write of size 1 at addr ffff8880b36e7c4e by task syz-executor406/8105 [ 42.291588] [ 42.293201] CPU: 1 PID: 8105 Comm: syz-executor406 Not tainted 4.19.211-syzkaller #0 [ 42.301068] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 42.310420] Call Trace: [ 42.313024] dump_stack+0x1fc/0x2ef [ 42.316658] print_address_description.cold+0x54/0x219 [ 42.322010] kasan_report_error.cold+0x8a/0x1b9 [ 42.326790] ? hfs_asc2mac+0x68f/0x710 [ 42.330663] __asan_report_store1_noabort+0x88/0x90 [ 42.335667] ? hfs_asc2mac+0x68f/0x710 [ 42.339537] hfs_asc2mac+0x68f/0x710 [ 42.343242] ? hfs_mac2asc+0x530/0x530 [ 42.347121] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 42.352127] ? __kmalloc+0x38e/0x3c0 [ 42.355822] ? hfs_find_init+0x91/0x230 [ 42.359776] hfs_cat_build_key+0xbe/0x1a0 [ 42.363906] hfs_lookup+0x1c2/0x300 [ 42.367513] ? lock_acquire+0x170/0x3c0 [ 42.371473] ? hfs_rename+0x200/0x200 [ 42.375259] ? d_alloc+0x1b7/0x230 [ 42.378783] ? lock_downgrade+0x720/0x720 [ 42.382909] ? lock_acquire+0x170/0x3c0 [ 42.386866] ? d_alloc+0x6a/0x230 [ 42.390302] ? do_raw_spin_unlock+0x171/0x230 [ 42.394779] ? _raw_spin_unlock+0x29/0x40 [ 42.398908] ? d_alloc+0x1bc/0x230 [ 42.402432] __lookup_hash+0x117/0x180 [ 42.406312] filename_create+0x186/0x490 [ 42.410355] ? kern_path_mountpoint+0x40/0x40 [ 42.414831] ? strncpy_from_user+0x2a2/0x350 [ 42.419221] ? getname_flags+0x25b/0x590 [ 42.423263] do_mknodat.part.0+0xcd/0x480 [ 42.427399] ? kern_path_create+0x40/0x40 [ 42.431530] ? task_work_run+0x126/0x1c0 [ 42.435580] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 42.440925] __x64_sys_mknod+0xf8/0x120 [ 42.444882] do_syscall_64+0xf9/0x620 [ 42.448667] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.453834] RIP: 0033:0x7f2684c74a99 [ 42.459176] 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 [ 42.478059] RSP: 002b:00007fff208d45d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 [ 42.485745] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2684c74a99 [ 42.492992] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200002c0 [ 42.500239] RBP: 00007f2684c340a0 R08: 0000000000000241 R09: 0000000000000000 [ 42.507487] R10: 00007fff208d44a0 R11: 0000000000000246 R12: 00007f2684c34130 [ 42.514733] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 42.521990] [ 42.523597] Allocated by task 8105: [ 42.527206] __kmalloc+0x15a/0x3c0 [ 42.530734] hfs_find_init+0x91/0x230 [ 42.534512] hfs_lookup+0xfe/0x300 [ 42.538034] __lookup_hash+0x117/0x180 [ 42.541899] filename_create+0x186/0x490 [ 42.545936] do_mknodat.part.0+0xcd/0x480 [ 42.550060] __x64_sys_mknod+0xf8/0x120 [ 42.554017] do_syscall_64+0xf9/0x620 [ 42.557806] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.562968] [ 42.564572] Freed by task 1: [ 42.567574] kfree+0xcc/0x210 [ 42.570664] apparmor_file_free_security+0x9a/0xd0 [ 42.575575] security_file_free+0x3e/0x70 [ 42.579731] __fput+0x42a/0x890 [ 42.582991] task_work_run+0x148/0x1c0 [ 42.586867] exit_to_usermode_loop+0x251/0x2a0 [ 42.591430] do_syscall_64+0x538/0x620 [ 42.595316] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.600484] [ 42.602195] The buggy address belongs to the object at ffff8880b36e7c00 [ 42.602195] which belongs to the cache kmalloc-96 of size 96 [ 42.614660] The buggy address is located 78 bytes inside of [ 42.614660] 96-byte region [ffff8880b36e7c00, ffff8880b36e7c60) [ 42.626338] The buggy address belongs to the page: [ 42.631277] page:ffffea0002cdb9c0 count:1 mapcount:0 mapping:ffff88813bff04c0 index:0x0 [ 42.639485] flags: 0xfff00000000100(slab) [ 42.643613] raw: 00fff00000000100 ffffea0002cd3d08 ffffea0002cd39c8 ffff88813bff04c0 [ 42.651473] raw: 0000000000000000 ffff8880b36e7000 0000000100000020 0000000000000000 [ 42.659331] page dumped because: kasan: bad access detected [ 42.665029] [ 42.666634] Memory state around the buggy address: [ 42.671540] ffff8880b36e7b00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 42.678880] ffff8880b36e7b80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 42.686222] >ffff8880b36e7c00: 00 00 00 00 00 00 00 00 00 06 fc fc fc fc fc fc [ 42.693560] ^ [ 42.699249] ffff8880b36e7c80: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 42.706674] ffff8880b36e7d00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 42.714015] ================================================================== [ 42.721360] Disabling lock debugging due to kernel taint [ 42.727983] Kernel panic - not syncing: panic_on_warn set ... [ 42.727983] [ 42.735373] CPU: 0 PID: 8105 Comm: syz-executor406 Tainted: G B 4.19.211-syzkaller #0 [ 42.744730] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 42.754780] Call Trace: [ 42.757358] dump_stack+0x1fc/0x2ef [ 42.760970] panic+0x26a/0x50e [ 42.764142] ? __warn_printk+0xf3/0xf3 [ 42.768027] ? preempt_schedule_common+0x45/0xc0 [ 42.772764] ? ___preempt_schedule+0x16/0x18 [ 42.777157] ? trace_hardirqs_on+0x55/0x210 [ 42.781621] kasan_end_report+0x43/0x49 [ 42.785590] kasan_report_error.cold+0xa7/0x1b9 [ 42.790247] ? hfs_asc2mac+0x68f/0x710 [ 42.794119] __asan_report_store1_noabort+0x88/0x90 [ 42.799117] ? hfs_asc2mac+0x68f/0x710 [ 42.802983] hfs_asc2mac+0x68f/0x710 [ 42.806676] ? hfs_mac2asc+0x530/0x530 [ 42.810545] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 42.815544] ? __kmalloc+0x38e/0x3c0 [ 42.819233] ? hfs_find_init+0x91/0x230 [ 42.823183] hfs_cat_build_key+0xbe/0x1a0 [ 42.827310] hfs_lookup+0x1c2/0x300 [ 42.830917] ? lock_acquire+0x170/0x3c0 [ 42.834878] ? hfs_rename+0x200/0x200 [ 42.838665] ? d_alloc+0x1b7/0x230 [ 42.842200] ? lock_downgrade+0x720/0x720 [ 42.846330] ? lock_acquire+0x170/0x3c0 [ 42.850287] ? d_alloc+0x6a/0x230 [ 42.853724] ? do_raw_spin_unlock+0x171/0x230 [ 42.858199] ? _raw_spin_unlock+0x29/0x40 [ 42.862334] ? d_alloc+0x1bc/0x230 [ 42.865860] __lookup_hash+0x117/0x180 [ 42.869726] filename_create+0x186/0x490 [ 42.873767] ? kern_path_mountpoint+0x40/0x40 [ 42.878291] ? strncpy_from_user+0x2a2/0x350 [ 42.882679] ? getname_flags+0x25b/0x590 [ 42.886715] do_mknodat.part.0+0xcd/0x480 [ 42.890844] ? kern_path_create+0x40/0x40 [ 42.894969] ? task_work_run+0x126/0x1c0 [ 42.899014] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 42.904371] __x64_sys_mknod+0xf8/0x120 [ 42.908321] do_syscall_64+0xf9/0x620 [ 42.912104] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.917277] RIP: 0033:0x7f2684c74a99 [ 42.920968] 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 [ 42.939871] RSP: 002b:00007fff208d45d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 [ 42.947552] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2684c74a99 [ 42.954815] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200002c0 [ 42.962060] RBP: 00007f2684c340a0 R08: 0000000000000241 R09: 0000000000000000 [ 42.970087] R10: 00007fff208d44a0 R11: 0000000000000246 R12: 00007f2684c34130 [ 42.977331] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 42.984646] Kernel Offset: disabled [ 42.988252] Rebooting in 86400 seconds..