DUID 00:04:f2:2d:62:da:c3:85:a0:c9:3a:ab:4f:1c:2c:dc:65:98 forked to background, child pid 3175 [ 29.794973][ T3176] 8021q: adding VLAN 0 to HW filter on device bond0 [ 29.807682][ T3176] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.198' (ECDSA) to the list of known hosts. syzkaller login: [ 50.988043][ T3598] chnl_net:caif_netlink_parms(): no params data found [ 51.030331][ T3598] bridge0: port 1(bridge_slave_0) entered blocking state [ 51.038686][ T3598] bridge0: port 1(bridge_slave_0) entered disabled state [ 51.047089][ T3598] device bridge_slave_0 entered promiscuous mode [ 51.056365][ T3598] bridge0: port 2(bridge_slave_1) entered blocking state [ 51.064524][ T3598] bridge0: port 2(bridge_slave_1) entered disabled state [ 51.072328][ T3598] device bridge_slave_1 entered promiscuous mode [ 51.091732][ T3598] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 51.103296][ T3598] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 51.126708][ T3598] team0: Port device team_slave_0 added [ 51.134476][ T3598] team0: Port device team_slave_1 added [ 51.152160][ T3598] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 51.159162][ T3598] 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.185271][ T3598] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 51.198397][ T3598] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 51.205403][ T3598] 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.231462][ T3598] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 51.257060][ T3598] device hsr_slave_0 entered promiscuous mode [ 51.264297][ T3598] device hsr_slave_1 entered promiscuous mode [ 51.349251][ T3598] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 51.359599][ T3598] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 51.369878][ T3598] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 51.378608][ T3598] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 51.399563][ T3598] bridge0: port 2(bridge_slave_1) entered blocking state [ 51.406750][ T3598] bridge0: port 2(bridge_slave_1) entered forwarding state [ 51.414729][ T3598] bridge0: port 1(bridge_slave_0) entered blocking state [ 51.421796][ T3598] bridge0: port 1(bridge_slave_0) entered forwarding state [ 51.466506][ T3598] 8021q: adding VLAN 0 to HW filter on device bond0 [ 51.477910][ T25] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 51.488397][ T25] bridge0: port 1(bridge_slave_0) entered disabled state [ 51.497053][ T25] bridge0: port 2(bridge_slave_1) entered disabled state [ 51.506358][ T25] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 51.519625][ T3598] 8021q: adding VLAN 0 to HW filter on device team0 [ 51.530685][ T141] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 51.539386][ T141] bridge0: port 1(bridge_slave_0) entered blocking state [ 51.546569][ T141] bridge0: port 1(bridge_slave_0) entered forwarding state [ 51.558284][ T25] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 51.567576][ T25] bridge0: port 2(bridge_slave_1) entered blocking state [ 51.574672][ T25] bridge0: port 2(bridge_slave_1) entered forwarding state [ 51.596183][ T141] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 51.605124][ T141] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 51.621327][ T3598] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 51.631831][ T3598] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 51.644874][ T141] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 51.652791][ T141] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 51.661845][ T141] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 51.670856][ T141] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 51.692127][ T3598] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 51.700444][ T3604] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 51.708289][ T3604] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 51.835420][ T3605] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 51.848590][ T3604] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 51.859426][ T3604] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 51.867338][ T3604] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 51.875955][ T3598] device veth0_vlan entered promiscuous mode [ 51.887760][ T3598] device veth1_vlan entered promiscuous mode [ 51.908264][ T3598] device veth0_macvtap entered promiscuous mode [ 51.915852][ T3604] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 51.924226][ T3604] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 51.932397][ T3604] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 51.941002][ T3604] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 51.951590][ T3598] device veth1_macvtap entered promiscuous mode [ 51.968130][ T3598] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 51.977082][ T3604] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 51.989202][ T3598] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 51.997234][ T3604] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 52.006259][ T3604] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 52.017976][ T3598] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 52.027758][ T3598] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 executing program [ 52.036552][ T3598] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 52.046022][ T3598] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 52.658687][ T1037] ================================================================== [ 52.666851][ T1037] BUG: KASAN: use-after-free in ip6mr_sk_done+0x11b/0x410 [ 52.673974][ T1037] Read of size 4 at addr ffff88802094d088 by task kworker/u4:5/1037 [ 52.681933][ T1037] [ 52.684244][ T1037] CPU: 0 PID: 1037 Comm: kworker/u4:5 Not tainted 5.17.0-rc2-syzkaller-00650-g5a8fb33e5305 #0 [ 52.694460][ T1037] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.704498][ T1037] Workqueue: netns cleanup_net [ 52.709251][ T1037] Call Trace: [ 52.712524][ T1037] [ 52.715441][ T1037] dump_stack_lvl+0xcd/0x134 [ 52.720041][ T1037] print_address_description.constprop.0.cold+0x8d/0x336 [ 52.727074][ T1037] ? ip6mr_sk_done+0x11b/0x410 [ 52.731834][ T1037] ? ip6mr_sk_done+0x11b/0x410 [ 52.736588][ T1037] kasan_report.cold+0x83/0xdf [ 52.741345][ T1037] ? ip6mr_sk_done+0x11b/0x410 [ 52.746097][ T1037] kasan_check_range+0x13d/0x180 [ 52.751022][ T1037] ip6mr_sk_done+0x11b/0x410 [ 52.755599][ T1037] ? pde_put+0x15d/0x1e0 [ 52.759829][ T1037] rawv6_close+0x58/0x80 [ 52.764063][ T1037] inet_release+0x12e/0x280 [ 52.768552][ T1037] inet6_release+0x4c/0x70 [ 52.772953][ T1037] sock_release+0x87/0x1b0 [ 52.777358][ T1037] igmp6_net_exit+0x6b/0x170 [ 52.781961][ T1037] ? dst_output+0x170/0x170 [ 52.786451][ T1037] ops_exit_list+0xb0/0x170 [ 52.790942][ T1037] cleanup_net+0x4ea/0xb00 [ 52.795345][ T1037] ? unregister_pernet_device+0x70/0x70 [ 52.800901][ T1037] process_one_work+0x9ac/0x1650 [ 52.805831][ T1037] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 52.811197][ T1037] ? rwlock_bug.part.0+0x90/0x90 [ 52.816121][ T1037] ? _raw_spin_lock_irq+0x41/0x50 [ 52.821140][ T1037] worker_thread+0x657/0x1110 [ 52.825813][ T1037] ? process_one_work+0x1650/0x1650 [ 52.831000][ T1037] kthread+0x2e9/0x3a0 [ 52.835070][ T1037] ? kthread_complete_and_exit+0x40/0x40 [ 52.840692][ T1037] ret_from_fork+0x1f/0x30 [ 52.845115][ T1037] [ 52.848117][ T1037] [ 52.850422][ T1037] Allocated by task 49: [ 52.854556][ T1037] kasan_save_stack+0x1e/0x40 [ 52.859216][ T1037] __kasan_kmalloc+0xa9/0xd0 [ 52.863787][ T1037] set_kthread_struct+0xc5/0x250 [ 52.868710][ T1037] copy_process+0x3783/0x7300 [ 52.873370][ T1037] kernel_clone+0xe7/0xab0 [ 52.877773][ T1037] kernel_thread+0xb5/0xf0 [ 52.882170][ T1037] call_usermodehelper_exec_work+0x69/0x180 [ 52.888062][ T1037] process_one_work+0x9ac/0x1650 [ 52.893008][ T1037] worker_thread+0x657/0x1110 [ 52.897673][ T1037] kthread+0x2e9/0x3a0 [ 52.901735][ T1037] ret_from_fork+0x1f/0x30 [ 52.906147][ T1037] [ 52.908457][ T1037] Freed by task 1037: [ 52.912415][ T1037] kasan_save_stack+0x1e/0x40 [ 52.917079][ T1037] kasan_set_track+0x21/0x30 [ 52.921649][ T1037] kasan_set_free_info+0x20/0x30 [ 52.926573][ T1037] ____kasan_slab_free+0x130/0x160 [ 52.931667][ T1037] slab_free_freelist_hook+0x8b/0x1c0 [ 52.937024][ T1037] kfree+0xcb/0x280 [ 52.940832][ T1037] ops_exit_list+0xb0/0x170 [ 52.945321][ T1037] cleanup_net+0x4ea/0xb00 [ 52.949721][ T1037] process_one_work+0x9ac/0x1650 [ 52.954641][ T1037] worker_thread+0x657/0x1110 [ 52.959297][ T1037] kthread+0x2e9/0x3a0 [ 52.963349][ T1037] ret_from_fork+0x1f/0x30 [ 52.967750][ T1037] [ 52.970066][ T1037] The buggy address belongs to the object at ffff88802094d000 [ 52.970066][ T1037] which belongs to the cache kmalloc-256 of size 256 [ 52.984112][ T1037] The buggy address is located 136 bytes inside of [ 52.984112][ T1037] 256-byte region [ffff88802094d000, ffff88802094d100) [ 52.997365][ T1037] The buggy address belongs to the page: [ 53.002974][ T1037] page:ffffea0000825300 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2094c [ 53.013102][ T1037] head:ffffea0000825300 order:1 compound_mapcount:0 [ 53.019666][ T1037] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 53.027632][ T1037] raw: 00fff00000010200 ffffea00007a0300 dead000000000002 ffff888010c41b40 [ 53.036195][ T1037] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 53.044755][ T1037] page dumped because: kasan: bad access detected [ 53.051148][ T1037] page_owner tracks the page as allocated [ 53.056840][ T1037] page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 10, ts 11742720330, free_ts 0 [ 53.074894][ T1037] get_page_from_freelist+0xa72/0x2f50 [ 53.080345][ T1037] __alloc_pages+0x1b2/0x500 [ 53.084919][ T1037] alloc_pages+0x1aa/0x310 [ 53.089334][ T1037] new_slab+0x28a/0x3b0 [ 53.093472][ T1037] ___slab_alloc+0x87c/0xe90 [ 53.098045][ T1037] __slab_alloc.constprop.0+0x4d/0xa0 [ 53.103403][ T1037] kmem_cache_alloc_trace+0x289/0x2c0 [ 53.108782][ T1037] set_kthread_struct+0xc5/0x250 [ 53.113704][ T1037] copy_process+0x3783/0x7300 [ 53.118362][ T1037] kernel_clone+0xe7/0xab0 [ 53.122763][ T1037] kernel_thread+0xb5/0xf0 [ 53.127165][ T1037] call_usermodehelper_exec_work+0xcc/0x180 [ 53.133042][ T1037] process_one_work+0x9ac/0x1650 [ 53.137965][ T1037] worker_thread+0x657/0x1110 [ 53.142623][ T1037] kthread+0x2e9/0x3a0 [ 53.146677][ T1037] ret_from_fork+0x1f/0x30 [ 53.151077][ T1037] page_owner free stack trace missing [ 53.156421][ T1037] [ 53.158741][ T1037] Memory state around the buggy address: [ 53.164356][ T1037] ffff88802094cf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 53.172397][ T1037] ffff88802094d000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.180437][ T1037] >ffff88802094d080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.188476][ T1037] ^ [ 53.192785][ T1037] ffff88802094d100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 53.200827][ T1037] ffff88802094d180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 53.208863][ T1037] ================================================================== [ 53.216902][ T1037] Disabling lock debugging due to kernel taint [ 53.228830][ T1037] Kernel panic - not syncing: panic_on_warn set ... [ 53.235439][ T1037] CPU: 1 PID: 1037 Comm: kworker/u4:5 Tainted: G B 5.17.0-rc2-syzkaller-00650-g5a8fb33e5305 #0 [ 53.247072][ T1037] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.257116][ T1037] Workqueue: netns cleanup_net [ 53.261878][ T1037] Call Trace: [ 53.265153][ T1037] [ 53.268071][ T1037] dump_stack_lvl+0xcd/0x134 [ 53.272662][ T1037] panic+0x2b0/0x6dd [ 53.276550][ T1037] ? __warn_printk+0xf3/0xf3 [ 53.281133][ T1037] ? preempt_schedule_common+0x59/0xc0 [ 53.286582][ T1037] ? ip6mr_sk_done+0x11b/0x410 [ 53.291337][ T1037] ? preempt_schedule_thunk+0x16/0x18 [ 53.296699][ T1037] ? trace_hardirqs_on+0x38/0x1c0 [ 53.301711][ T1037] ? trace_hardirqs_on+0x51/0x1c0 [ 53.306731][ T1037] ? ip6mr_sk_done+0x11b/0x410 [ 53.311503][ T1037] ? ip6mr_sk_done+0x11b/0x410 [ 53.316257][ T1037] end_report.cold+0x63/0x6f [ 53.320841][ T1037] kasan_report.cold+0x71/0xdf [ 53.325597][ T1037] ? ip6mr_sk_done+0x11b/0x410 [ 53.330369][ T1037] kasan_check_range+0x13d/0x180 [ 53.335298][ T1037] ip6mr_sk_done+0x11b/0x410 [ 53.339881][ T1037] ? pde_put+0x15d/0x1e0 [ 53.344111][ T1037] rawv6_close+0x58/0x80 [ 53.348346][ T1037] inet_release+0x12e/0x280 [ 53.352841][ T1037] inet6_release+0x4c/0x70 [ 53.357251][ T1037] sock_release+0x87/0x1b0 [ 53.361661][ T1037] igmp6_net_exit+0x6b/0x170 [ 53.366248][ T1037] ? dst_output+0x170/0x170 [ 53.370741][ T1037] ops_exit_list+0xb0/0x170 [ 53.375236][ T1037] cleanup_net+0x4ea/0xb00 [ 53.379643][ T1037] ? unregister_pernet_device+0x70/0x70 [ 53.385183][ T1037] process_one_work+0x9ac/0x1650 [ 53.390119][ T1037] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 53.395496][ T1037] ? rwlock_bug.part.0+0x90/0x90 [ 53.400425][ T1037] ? _raw_spin_lock_irq+0x41/0x50 [ 53.405446][ T1037] worker_thread+0x657/0x1110 [ 53.410121][ T1037] ? process_one_work+0x1650/0x1650 [ 53.415332][ T1037] kthread+0x2e9/0x3a0 [ 53.419394][ T1037] ? kthread_complete_and_exit+0x40/0x40 [ 53.425021][ T1037] ret_from_fork+0x1f/0x30 [ 53.429436][ T1037] [ 53.432613][ T1037] Kernel Offset: disabled [ 53.436923][ T1037] Rebooting in 86400 seconds..