Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.90' (ECDSA) to the list of known hosts. syzkaller login: [ 33.388853] IPVS: ftp: loaded support on port[0] = 21 [ 33.459157] chnl_net:caif_netlink_parms(): no params data found [ 33.535468] bridge0: port 1(bridge_slave_0) entered blocking state [ 33.542307] bridge0: port 1(bridge_slave_0) entered disabled state [ 33.550232] device bridge_slave_0 entered promiscuous mode [ 33.557493] bridge0: port 2(bridge_slave_1) entered blocking state [ 33.564190] bridge0: port 2(bridge_slave_1) entered disabled state [ 33.572290] device bridge_slave_1 entered promiscuous mode [ 33.590562] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 33.599316] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 33.617444] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 33.625670] team0: Port device team_slave_0 added [ 33.631674] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 33.639692] team0: Port device team_slave_1 added [ 33.655273] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 33.661800] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 33.687097] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 33.699137] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 33.705393] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 33.731403] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 33.745206] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 33.753552] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 33.773314] device hsr_slave_0 entered promiscuous mode [ 33.779196] device hsr_slave_1 entered promiscuous mode [ 33.785163] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 33.793229] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 33.859002] bridge0: port 2(bridge_slave_1) entered blocking state [ 33.865429] bridge0: port 2(bridge_slave_1) entered forwarding state [ 33.872240] bridge0: port 1(bridge_slave_0) entered blocking state [ 33.878635] bridge0: port 1(bridge_slave_0) entered forwarding state [ 33.909661] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 33.915731] 8021q: adding VLAN 0 to HW filter on device bond0 [ 33.924565] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 33.933400] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 33.943073] bridge0: port 1(bridge_slave_0) entered disabled state [ 33.950268] bridge0: port 2(bridge_slave_1) entered disabled state [ 33.957176] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 33.969197] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 33.975261] 8021q: adding VLAN 0 to HW filter on device team0 [ 33.984514] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 33.992817] bridge0: port 1(bridge_slave_0) entered blocking state [ 33.999218] bridge0: port 1(bridge_slave_0) entered forwarding state [ 34.009675] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 34.017200] bridge0: port 2(bridge_slave_1) entered blocking state [ 34.023586] bridge0: port 2(bridge_slave_1) entered forwarding state [ 34.038963] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 34.046602] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 34.056569] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 34.064260] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 34.075763] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 34.085052] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 34.091599] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 34.104493] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 34.112418] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 34.119504] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 34.130407] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 34.163105] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 34.173073] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 34.206425] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 34.214951] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 34.222174] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 34.231488] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 34.239335] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 34.246171] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 34.255912] device veth0_vlan entered promiscuous mode [ 34.264541] device veth1_vlan entered promiscuous mode [ 34.271316] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 34.279963] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 34.291849] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 34.300704] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 34.309208] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 34.316348] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 34.325877] device veth0_macvtap entered promiscuous mode [ 34.332640] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 34.341014] device veth1_macvtap entered promiscuous mode [ 34.350461] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 34.359517] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 34.370179] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 34.376835] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 34.386664] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 34.396517] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 34.403430] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 35.179686] ================================================================== [ 35.187153] BUG: KASAN: slab-out-of-bounds in hfs_asc2mac+0x68f/0x710 [ 35.193726] Write of size 1 at addr ffff8880ab2a00ce by task syz-executor300/8391 [ 35.201321] [ 35.202940] CPU: 0 PID: 8391 Comm: syz-executor300 Not tainted 4.19.211-syzkaller #0 [ 35.210812] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 [ 35.220156] Call Trace: [ 35.222751] dump_stack+0x1fc/0x2ef [ 35.226361] print_address_description.cold+0x54/0x219 [ 35.231618] kasan_report_error.cold+0x8a/0x1b9 [ 35.236267] ? hfs_asc2mac+0x68f/0x710 [ 35.240136] __asan_report_store1_noabort+0x88/0x90 [ 35.245135] ? hfs_asc2mac+0x68f/0x710 [ 35.249005] hfs_asc2mac+0x68f/0x710 [ 35.252708] ? hfs_mac2asc+0x530/0x530 [ 35.256574] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 35.261570] ? __kmalloc+0x38e/0x3c0 [ 35.265261] ? hfs_find_init+0x91/0x230 [ 35.269219] hfs_cat_build_key+0xbe/0x1a0 [ 35.273346] hfs_lookup+0x1c2/0x300 [ 35.276980] ? hfs_rename+0x200/0x200 [ 35.280776] ? __d_lookup_rcu+0x6b0/0x6b0 [ 35.284904] ? __lockdep_init_map+0x100/0x5a0 [ 35.289407] ? __lockdep_init_map+0x100/0x5a0 [ 35.293886] __lookup_slow+0x246/0x4a0 [ 35.297765] ? follow_dotdot_rcu+0x1040/0x1040 [ 35.302341] ? lookup_fast+0x4e9/0x1080 [ 35.306299] ? walk_component+0x798/0xda0 [ 35.310444] walk_component+0x7ac/0xda0 [ 35.314401] ? lookup_fast+0x1080/0x1080 [ 35.318450] ? capable_wrt_inode_uidgid+0x1d2/0x220 [ 35.323446] ? generic_permission+0x116/0x4d0 [ 35.327923] ? security_inode_permission+0xc5/0xf0 [ 35.332830] ? inode_permission.part.0+0x10c/0x450 [ 35.337752] link_path_walk.part.0+0x901/0x1230 [ 35.342408] ? walk_component+0xda0/0xda0 [ 35.346537] path_openat+0x1db/0x2df0 [ 35.350328] ? path_lookupat+0x8d0/0x8d0 [ 35.354369] ? mark_held_locks+0xf0/0xf0 [ 35.358412] do_filp_open+0x18c/0x3f0 [ 35.362189] ? may_open_dev+0xf0/0xf0 [ 35.365981] ? lock_downgrade+0x720/0x720 [ 35.370106] ? lock_acquire+0x170/0x3c0 [ 35.374058] ? __alloc_fd+0x34/0x570 [ 35.377767] ? do_raw_spin_unlock+0x171/0x230 [ 35.382259] ? _raw_spin_unlock+0x29/0x40 [ 35.386386] ? __alloc_fd+0x28d/0x570 [ 35.390166] do_sys_open+0x3b3/0x520 [ 35.393870] ? filp_open+0x70/0x70 [ 35.397403] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 35.402752] ? trace_hardirqs_off_caller+0x6e/0x210 [ 35.407745] ? do_syscall_64+0x21/0x620 [ 35.411699] do_syscall_64+0xf9/0x620 [ 35.415481] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.420648] RIP: 0033:0x7f5dc88f1409 [ 35.424340] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 15 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 [ 35.443222] RSP: 002b:00007f5dc88992f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 35.450923] RAX: ffffffffffffffda RBX: 00007f5dc8976780 RCX: 00007f5dc88f1409 [ 35.458180] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 00000000ffffff9c [ 35.465456] RBP: 00007f5dc8942768 R08: 0000000000000000 R09: 0000000000000000 [ 35.472705] R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e [ 35.479958] R13: 616d755f656c6966 R14: 97c8398a0ee00f2b R15: 00007f5dc8976788 [ 35.487209] [ 35.488817] Allocated by task 8391: [ 35.492428] __kmalloc+0x15a/0x3c0 [ 35.495964] hfs_find_init+0x91/0x230 [ 35.499742] hfs_lookup+0xfe/0x300 [ 35.503260] __lookup_slow+0x246/0x4a0 [ 35.507135] walk_component+0x7ac/0xda0 [ 35.511088] link_path_walk.part.0+0x901/0x1230 [ 35.515735] path_openat+0x1db/0x2df0 [ 35.519527] do_filp_open+0x18c/0x3f0 [ 35.523304] do_sys_open+0x3b3/0x520 [ 35.526999] do_syscall_64+0xf9/0x620 [ 35.530791] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.535954] [ 35.537567] Freed by task 6334: [ 35.540846] kfree+0xcc/0x210 [ 35.543945] apparmor_file_free_security+0x9a/0xd0 [ 35.548853] security_file_free+0x3e/0x70 [ 35.552983] __fput+0x42a/0x890 [ 35.556246] task_work_run+0x148/0x1c0 [ 35.560122] exit_to_usermode_loop+0x251/0x2a0 [ 35.564701] do_syscall_64+0x538/0x620 [ 35.568573] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.573744] [ 35.575362] The buggy address belongs to the object at ffff8880ab2a0080 [ 35.575362] which belongs to the cache kmalloc-96 of size 96 [ 35.587840] The buggy address is located 78 bytes inside of [ 35.587840] 96-byte region [ffff8880ab2a0080, ffff8880ab2a00e0) [ 35.599539] The buggy address belongs to the page: [ 35.604453] page:ffffea0002aca800 count:1 mapcount:0 mapping:ffff88813bff04c0 index:0x0 [ 35.612590] flags: 0xfff00000000100(slab) [ 35.616741] raw: 00fff00000000100 ffffea0002ab1d88 ffffea0002aba9c8 ffff88813bff04c0 [ 35.624620] raw: 0000000000000000 ffff8880ab2a0000 0000000100000020 0000000000000000 [ 35.632477] page dumped because: kasan: bad access detected [ 35.638163] [ 35.639764] Memory state around the buggy address: [ 35.644672] ffff8880ab29ff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 35.652012] ffff8880ab2a0000: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 35.659349] >ffff8880ab2a0080: 00 00 00 00 00 00 00 00 00 06 fc fc fc fc fc fc [ 35.666687] ^ [ 35.672377] ffff8880ab2a0100: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 35.679713] ffff8880ab2a0180: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 35.687048] ================================================================== [ 35.694384] Disabling lock debugging due to kernel taint [ 35.706477] Kernel panic - not syncing: panic_on_warn set ... [ 35.706477] [ 35.713871] CPU: 1 PID: 8391 Comm: syz-executor300 Tainted: G B 4.19.211-syzkaller #0 [ 35.723132] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 [ 35.732475] Call Trace: [ 35.735052] dump_stack+0x1fc/0x2ef [ 35.738669] panic+0x26a/0x50e [ 35.741848] ? __warn_printk+0xf3/0xf3 [ 35.745715] ? preempt_schedule_common+0x45/0xc0 [ 35.750451] ? ___preempt_schedule+0x16/0x18 [ 35.754846] ? trace_hardirqs_on+0x55/0x210 [ 35.759175] kasan_end_report+0x43/0x49 [ 35.763132] kasan_report_error.cold+0xa7/0x1b9 [ 35.767778] ? hfs_asc2mac+0x68f/0x710 [ 35.771645] __asan_report_store1_noabort+0x88/0x90 [ 35.776640] ? hfs_asc2mac+0x68f/0x710 [ 35.780503] hfs_asc2mac+0x68f/0x710 [ 35.784207] ? hfs_mac2asc+0x530/0x530 [ 35.788082] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 35.793077] ? __kmalloc+0x38e/0x3c0 [ 35.796765] ? hfs_find_init+0x91/0x230 [ 35.800717] hfs_cat_build_key+0xbe/0x1a0 [ 35.804843] hfs_lookup+0x1c2/0x300 [ 35.808886] ? hfs_rename+0x200/0x200 [ 35.812679] ? __d_lookup_rcu+0x6b0/0x6b0 [ 35.816810] ? __lockdep_init_map+0x100/0x5a0 [ 35.821284] ? __lockdep_init_map+0x100/0x5a0 [ 35.826017] __lookup_slow+0x246/0x4a0 [ 35.829894] ? follow_dotdot_rcu+0x1040/0x1040 [ 35.834545] ? lookup_fast+0x4e9/0x1080 [ 35.838502] ? walk_component+0x798/0xda0 [ 35.842639] walk_component+0x7ac/0xda0 [ 35.846597] ? lookup_fast+0x1080/0x1080 [ 35.850639] ? capable_wrt_inode_uidgid+0x1d2/0x220 [ 35.855637] ? generic_permission+0x116/0x4d0 [ 35.860121] ? security_inode_permission+0xc5/0xf0 [ 35.865146] ? inode_permission.part.0+0x10c/0x450 [ 35.870056] link_path_walk.part.0+0x901/0x1230 [ 35.874706] ? walk_component+0xda0/0xda0 [ 35.878833] path_openat+0x1db/0x2df0 [ 35.882612] ? path_lookupat+0x8d0/0x8d0 [ 35.886653] ? mark_held_locks+0xf0/0xf0 [ 35.890713] do_filp_open+0x18c/0x3f0 [ 35.894502] ? may_open_dev+0xf0/0xf0 [ 35.898284] ? lock_downgrade+0x720/0x720 [ 35.902418] ? lock_acquire+0x170/0x3c0 [ 35.906369] ? __alloc_fd+0x34/0x570 [ 35.910072] ? do_raw_spin_unlock+0x171/0x230 [ 35.914546] ? _raw_spin_unlock+0x29/0x40 [ 35.918668] ? __alloc_fd+0x28d/0x570 [ 35.922445] do_sys_open+0x3b3/0x520 [ 35.926148] ? filp_open+0x70/0x70 [ 35.929714] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 35.935070] ? trace_hardirqs_off_caller+0x6e/0x210 [ 35.940083] ? do_syscall_64+0x21/0x620 [ 35.944042] do_syscall_64+0xf9/0x620 [ 35.947823] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.952990] RIP: 0033:0x7f5dc88f1409 [ 35.956681] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 15 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 [ 35.975571] RSP: 002b:00007f5dc88992f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 35.983285] RAX: ffffffffffffffda RBX: 00007f5dc8976780 RCX: 00007f5dc88f1409 [ 35.990535] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 00000000ffffff9c [ 35.997805] RBP: 00007f5dc8942768 R08: 0000000000000000 R09: 0000000000000000 [ 36.005060] R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e [ 36.012315] R13: 616d755f656c6966 R14: 97c8398a0ee00f2b R15: 00007f5dc8976788 [ 36.019752] Kernel Offset: disabled [ 36.023363] Rebooting in 86400 seconds..