Warning: Permanently added '10.128.0.144' (ECDSA) to the list of known hosts. syzkaller login: [ 50.774987][ T3600] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 50.783069][ T3600] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 50.783719][ T3603] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 50.784466][ T3603] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 50.785093][ T3603] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 50.785555][ T3603] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 50.878471][ T3599] chnl_net:caif_netlink_parms(): no params data found [ 50.915723][ T3599] bridge0: port 1(bridge_slave_0) entered blocking state [ 50.916119][ T3599] bridge0: port 1(bridge_slave_0) entered disabled state [ 50.916770][ T3599] device bridge_slave_0 entered promiscuous mode [ 50.918866][ T3599] bridge0: port 2(bridge_slave_1) entered blocking state [ 50.918934][ T3599] bridge0: port 2(bridge_slave_1) entered disabled state [ 50.919495][ T3599] device bridge_slave_1 entered promiscuous mode [ 50.943990][ T3599] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 50.949207][ T3599] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 50.988533][ T3599] team0: Port device team_slave_0 added [ 50.989781][ T3599] team0: Port device team_slave_1 added [ 51.010019][ T3599] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 51.010029][ T3599] 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. [ 51.010045][ T3599] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 51.011571][ T3599] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 51.011583][ T3599] 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. [ 51.011609][ T3599] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 51.097680][ T3599] device hsr_slave_0 entered promiscuous mode [ 51.104088][ T3599] device hsr_slave_1 entered promiscuous mode [ 51.187746][ T3599] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 51.191047][ T3599] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 51.193008][ T3599] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 51.195071][ T3599] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 51.215509][ T3599] bridge0: port 2(bridge_slave_1) entered blocking state [ 51.215579][ T3599] bridge0: port 2(bridge_slave_1) entered forwarding state [ 51.216053][ T3599] bridge0: port 1(bridge_slave_0) entered blocking state [ 51.216124][ T3599] bridge0: port 1(bridge_slave_0) entered forwarding state [ 51.265046][ T3599] 8021q: adding VLAN 0 to HW filter on device bond0 [ 51.273551][ T3609] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 51.281037][ T3609] bridge0: port 1(bridge_slave_0) entered disabled state [ 51.282230][ T3609] bridge0: port 2(bridge_slave_1) entered disabled state [ 51.282914][ T3609] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 51.291879][ T3599] 8021q: adding VLAN 0 to HW filter on device team0 [ 51.300157][ T6] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 51.300580][ T6] bridge0: port 1(bridge_slave_0) entered blocking state [ 51.300646][ T6] bridge0: port 1(bridge_slave_0) entered forwarding state [ 51.303812][ T6] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 51.304263][ T6] bridge0: port 2(bridge_slave_1) entered blocking state [ 51.304316][ T6] bridge0: port 2(bridge_slave_1) entered forwarding state [ 51.321321][ T3609] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 51.322659][ T3609] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 51.331098][ T3609] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 51.340740][ T6] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 51.346540][ T2928] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 51.350948][ T3599] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 51.373370][ T3609] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 51.373494][ T3609] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 51.382152][ T3599] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 51.516462][ T2928] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 51.524760][ T2928] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 51.525269][ T2928] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 51.526066][ T2928] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 51.530082][ T3599] device veth0_vlan entered promiscuous mode [ 51.536041][ T3599] device veth1_vlan entered promiscuous mode [ 51.553152][ T3609] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 51.553697][ T3609] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 51.554409][ T3609] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 51.561674][ T3599] device veth0_macvtap entered promiscuous mode [ 51.565442][ T3599] device veth1_macvtap entered promiscuous mode [ 51.582072][ T3599] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 51.582253][ T2928] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 51.586662][ T2928] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 51.592492][ T3599] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 51.592771][ T3609] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 51.597593][ T3599] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 51.597638][ T3599] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 51.597670][ T3599] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 51.597702][ T3599] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 51.688084][ T8] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 51.688104][ T8] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 51.690032][ T2928] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready executing program [ 51.720318][ T8] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 51.720318][ T8] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 51.720332][ T8] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 51.721285][ T3609] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 51.730269][ T3599] ================================================================== [ 51.730279][ T3599] BUG: KASAN: use-after-free in mas_next_nentry+0x997/0xaa0 [ 51.730320][ T3599] Read of size 8 at addr ffff888075439a18 by task syz-executor559/3599 [ 51.730339][ T3599] [ 51.730343][ T3599] CPU: 0 PID: 3599 Comm: syz-executor559 Not tainted 5.18.0-rc4-next-20220427-syzkaller #0 [ 51.730367][ T3599] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.730386][ T3599] Call Trace: [ 51.730392][ T3599] [ 51.730399][ T3599] dump_stack_lvl+0xcd/0x134 [ 51.730441][ T3599] print_address_description.constprop.0.cold+0xeb/0x495 [ 51.730478][ T3599] ? mas_next_nentry+0x997/0xaa0 [ 51.730499][ T3599] kasan_report.cold+0xf4/0x1c6 [ 51.730530][ T3599] ? mas_next_nentry+0x997/0xaa0 [ 51.730553][ T3599] mas_next_nentry+0x997/0xaa0 [ 51.730580][ T3599] mas_next+0x1eb/0xc40 [ 51.730605][ T3599] ? split_vma+0xa7/0xe0 [ 51.730629][ T3599] userfaultfd_ioctl+0x2527/0x40f0 [ 51.730667][ T3599] ? __sanitizer_cov_trace_const_cmp2+0x22/0x80 [ 51.730697][ T3599] ? userfaultfd_read+0x1900/0x1900 [ 51.730730][ T3599] ? vfs_fileattr_set+0xbe0/0xbe0 [ 51.730767][ T3599] ? __context_tracking_exit+0xb8/0xe0 [ 51.730791][ T3599] ? set_bios_reboot+0x2/0x85 [ 51.730821][ T3599] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 51.730850][ T3599] ? userfaultfd_read+0x1900/0x1900 [ 51.730883][ T3599] __x64_sys_ioctl+0x193/0x200 [ 51.730914][ T3599] do_syscall_64+0x35/0xb0 [ 51.730943][ T3599] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 51.730969][ T3599] RIP: 0033:0x7f1385405939 [ 51.730986][ T3599] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 91 18 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 [ 51.731007][ T3599] RSP: 002b:00007ffda4861998 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 51.731029][ T3599] RAX: ffffffffffffffda RBX: 0000000000000031 RCX: 00007f1385405939 [ 51.731044][ T3599] RDX: 0000000020000000 RSI: 00000000c020aa00 RDI: 0000000000000003 [ 51.731057][ T3599] RBP: 00007ffda4861a90 R08: 00007ffda48619f2 R09: 00007ffda48619f2 [ 51.731072][ T3599] R10: 00007ffda48619f2 R11: 0000000000000246 R12: 00007ffda4861a60 [ 51.731086][ T3599] R13: 00007f13854894e0 R14: 0000000000000003 R15: 00007ffda48619f2 [ 51.731107][ T3599] [ 51.731114][ T3599] [ 51.731117][ T3599] Allocated by task 3598: [ 51.731125][ T3599] kasan_save_stack+0x1e/0x40 [ 51.731158][ T3599] __kasan_slab_alloc+0x90/0xc0 [ 51.731176][ T3599] kmem_cache_alloc_bulk+0x39f/0x720 [ 51.731205][ T3599] mas_alloc_nodes+0x1df/0x6b0 [ 51.731223][ T3599] mas_node_count+0x101/0x130 [ 51.731240][ T3599] mas_wr_modify+0x2505/0x5ac0 [ 51.731264][ T3599] mas_wr_store_entry.isra.0+0x66e/0x10f0 [ 51.731287][ T3599] mas_store+0xac/0xf0 [ 51.731306][ T3599] dup_mmap+0x845/0x1030 [ 51.731327][ T3599] dup_mm+0x91/0x370 [ 51.731347][ T3599] copy_process+0x3b07/0x6fd0 [ 51.731369][ T3599] kernel_clone+0xe7/0xab0 [ 51.731391][ T3599] __do_sys_clone+0xc8/0x110 [ 51.731413][ T3599] do_syscall_64+0x35/0xb0 [ 51.731445][ T3599] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 51.731469][ T3599] [ 51.731473][ T3599] Freed by task 3599: [ 51.731481][ T3599] kasan_save_stack+0x1e/0x40 [ 51.731511][ T3599] kasan_set_track+0x21/0x30 [ 51.731542][ T3599] kasan_set_free_info+0x20/0x30 [ 51.731563][ T3599] ____kasan_slab_free+0x166/0x1a0 [ 51.731595][ T3599] slab_free_freelist_hook+0x8b/0x1c0 [ 51.731622][ T3599] kmem_cache_free_bulk+0x2c0/0xb60 [ 51.731653][ T3599] mas_destroy+0x394/0x5c0 [ 51.731673][ T3599] mas_store_prealloc+0xec/0x150 [ 51.731694][ T3599] __vma_adjust+0x6ba/0x18f0 [ 51.731711][ T3599] __split_vma+0x443/0x530 [ 51.731728][ T3599] split_vma+0x9f/0xe0 [ 51.731746][ T3599] userfaultfd_ioctl+0x39f4/0x40f0 [ 51.731775][ T3599] __x64_sys_ioctl+0x193/0x200 [ 51.731805][ T3599] do_syscall_64+0x35/0xb0 [ 51.731832][ T3599] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 51.731856][ T3599] [ 51.731858][ T3599] The buggy address belongs to the object at ffff888075439a00 [ 51.731858][ T3599] which belongs to the cache maple_node of size 256 [ 51.731874][ T3599] The buggy address is located 24 bytes inside of [ 51.731874][ T3599] 256-byte region [ffff888075439a00, ffff888075439b00) [ 51.731894][ T3599] [ 51.731897][ T3599] The buggy address belongs to the physical page: [ 51.731904][ T3599] page:ffffea0001d50e00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x75438 [ 51.731926][ T3599] head:ffffea0001d50e00 order:1 compound_mapcount:0 compound_pincount:0 [ 51.731942][ T3599] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 51.731971][ T3599] raw: 00fff00000010200 0000000000000000 dead000000000001 ffff888010c4fdc0 [ 51.731992][ T3599] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 51.732002][ T3599] page dumped because: kasan: bad access detected [ 51.732011][ T3599] page_owner tracks the page as allocated [ 51.732017][ T3599] page last allocated via order 1, migratetype Unmovable, gfp_mask 0x52800(GFP_NOWAIT|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 3292, tgid 3292 (dhcpcd-run-hook), ts 28800621646, free_ts 23718991984 [ 51.732054][ T3599] get_page_from_freelist+0xba2/0x3e00 [ 51.732077][ T3599] __alloc_pages+0x1b2/0x500 [ 51.732099][ T3599] alloc_pages+0x1aa/0x310 [ 51.732130][ T3599] allocate_slab+0x26c/0x3c0 [ 51.732158][ T3599] ___slab_alloc+0x985/0xd90 [ 51.732185][ T3599] __slab_alloc.constprop.0+0x4d/0xa0 [ 51.732215][ T3599] kmem_cache_alloc+0x360/0x3b0 [ 51.732245][ T3599] mas_alloc_nodes+0x377/0x6b0 [ 51.732262][ T3599] mas_node_count+0x101/0x130 [ 51.732280][ T3599] mas_root_expand.isra.0+0xe5/0xa60 [ 51.732300][ T3599] mas_wr_store_entry.isra.0+0x33c/0x10f0 [ 51.732323][ T3599] mas_store_gfp+0xca/0x1f0 [ 51.732344][ T3599] do_mas_align_munmap+0x612/0xe80 [ 51.732363][ T3599] do_mas_munmap+0x202/0x2c0 [ 51.732382][ T3599] mmap_region+0x219/0x1c70 [ 51.732400][ T3599] do_mmap+0x825/0xf60 [ 51.732427][ T3599] page last free stack trace: [ 51.732432][ T3599] free_pcp_prepare+0x549/0xd20 [ 51.732451][ T3599] free_unref_page+0x19/0x6a0 [ 51.732471][ T3599] __unfreeze_partials+0x17c/0x1a0 [ 51.732505][ T3599] qlist_free_all+0x6a/0x170 [ 51.732527][ T3599] kasan_quarantine_reduce+0x180/0x200 [ 51.732552][ T3599] __kasan_slab_alloc+0xa2/0xc0 [ 51.732570][ T3599] __kmalloc+0x200/0x350 [ 51.732598][ T3599] tomoyo_encode2.part.0+0xe9/0x3a0 [ 51.732624][ T3599] tomoyo_encode+0x28/0x50 [ 51.732648][ T3599] tomoyo_realpath_from_path+0x186/0x620 [ 51.732674][ T3599] tomoyo_path2_perm+0x316/0x6b0 [ 51.732696][ T3599] tomoyo_path_rename+0xd2/0x130 [ 51.732722][ T3599] security_path_rename+0x1b5/0x2e0 [ 51.732743][ T3599] do_renameat2+0x472/0xc80 [ 51.732767][ T3599] __x64_sys_rename+0x7d/0xa0 [ 51.732790][ T3599] do_syscall_64+0x35/0xb0 [ 51.732817][ T3599] [ 51.732820][ T3599] Memory state around the buggy address: [ 51.732829][ T3599] ffff888075439900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.732843][ T3599] ffff888075439980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.732857][ T3599] >ffff888075439a00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 51.732868][ T3599] ^ [ 51.732877][ T3599] ffff888075439a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 51.732891][ T3599] ffff888075439b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.732902][ T3599] ================================================================== [ 51.732910][ T3599] Kernel panic - not syncing: panic_on_warn set ... [ 51.732920][ T3599] CPU: 0 PID: 3599 Comm: syz-executor559 Not tainted 5.18.0-rc4-next-20220427-syzkaller #0 [ 51.732976][ T3599] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.732987][ T3599] Call Trace: [ 51.732995][ T3599] [ 51.733003][ T3599] dump_stack_lvl+0xcd/0x134 [ 51.733037][ T3599] panic+0x2d7/0x636 [ 51.733066][ T3599] ? panic_print_sys_info.part.0+0x10b/0x10b [ 51.733099][ T3599] ? mark_held_locks+0x9f/0xe0 [ 51.733134][ T3599] ? mas_next_nentry+0x997/0xaa0 [ 51.733158][ T3599] ? mas_next_nentry+0x997/0xaa0 [ 51.733180][ T3599] end_report.part.0+0x3f/0x7c [ 51.733210][ T3599] kasan_report.cold+0x93/0x1c6 [ 51.733242][ T3599] ? mas_next_nentry+0x997/0xaa0 [ 51.733265][ T3599] mas_next_nentry+0x997/0xaa0 [ 51.733293][ T3599] mas_next+0x1eb/0xc40 [ 51.733319][ T3599] ? split_vma+0xa7/0xe0 [ 51.733340][ T3599] userfaultfd_ioctl+0x2527/0x40f0 [ 51.733376][ T3599] ? __sanitizer_cov_trace_const_cmp2+0x22/0x80 [ 51.733406][ T3599] ? userfaultfd_read+0x1900/0x1900 [ 51.733443][ T3599] ? vfs_fileattr_set+0xbe0/0xbe0 [ 51.733478][ T3599] ? __context_tracking_exit+0xb8/0xe0 [ 51.733500][ T3599] ? set_bios_reboot+0x2/0x85 [ 51.733532][ T3599] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 51.733560][ T3599] ? userfaultfd_read+0x1900/0x1900 [ 51.733592][ T3599] __x64_sys_ioctl+0x193/0x200 [ 51.733621][ T3599] do_syscall_64+0x35/0xb0 [ 51.733648][ T3599] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 51.733675][ T3599] RIP: 0033:0x7f1385405939 [ 51.733692][ T3599] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 91 18 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 [ 51.733712][ T3599] RSP: 002b:00007ffda4861998 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 51.733734][ T3599] RAX: ffffffffffffffda RBX: 0000000000000031 RCX: 00007f1385405939 [ 51.733748][ T3599] RDX: 0000000020000000 RSI: 00000000c020aa00 RDI: 0000000000000003 [ 51.733762][ T3599] RBP: 00007ffda4861a90 R08: 00007ffda48619f2 R09: 00007ffda48619f2 [ 51.733776][ T3599] R10: 00007ffda48619f2 R11: 0000000000000246 R12: 00007ffda4861a60 [ 51.733790][ T3599] R13: 00007f13854894e0 R14: 0000000000000003 R15: 00007ffda48619f2 [ 51.733811][ T3599] [ 51.733871][ T3599] Kernel Offset: disabled