DUID 00:04:b0:7e:30:9f:4d:11:81:da:bf:2d:3d:77:4c:17:c1:ba forked to background, child pid 3176 [ 29.026704][ T3177] 8021q: adding VLAN 0 to HW filter on device bond0 [ 29.040066][ T3177] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.73' (ECDSA) to the list of known hosts. syzkaller login: [ 50.889544][ T3593] chnl_net:caif_netlink_parms(): no params data found [ 50.931519][ T3593] bridge0: port 1(bridge_slave_0) entered blocking state [ 50.939083][ T3593] bridge0: port 1(bridge_slave_0) entered disabled state [ 50.947899][ T3593] device bridge_slave_0 entered promiscuous mode [ 50.956789][ T3593] bridge0: port 2(bridge_slave_1) entered blocking state [ 50.964032][ T3593] bridge0: port 2(bridge_slave_1) entered disabled state [ 50.971750][ T3593] device bridge_slave_1 entered promiscuous mode [ 50.992362][ T3593] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 51.003262][ T3593] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 51.025845][ T3593] team0: Port device team_slave_0 added [ 51.032880][ T3593] team0: Port device team_slave_1 added [ 51.049922][ T3593] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 51.057044][ T3593] 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.082959][ T3593] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 51.095435][ T3593] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 51.102380][ T3593] 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.128341][ T3593] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 51.154176][ T3593] device hsr_slave_0 entered promiscuous mode [ 51.160830][ T3593] device hsr_slave_1 entered promiscuous mode [ 51.241446][ T3593] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 51.251977][ T3593] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 51.261213][ T3593] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 51.270450][ T3593] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 51.290181][ T3593] bridge0: port 2(bridge_slave_1) entered blocking state [ 51.297352][ T3593] bridge0: port 2(bridge_slave_1) entered forwarding state [ 51.305205][ T3593] bridge0: port 1(bridge_slave_0) entered blocking state [ 51.312260][ T3593] bridge0: port 1(bridge_slave_0) entered forwarding state [ 51.356632][ T3593] 8021q: adding VLAN 0 to HW filter on device bond0 [ 51.368509][ T5] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 51.378857][ T5] bridge0: port 1(bridge_slave_0) entered disabled state [ 51.387568][ T5] bridge0: port 2(bridge_slave_1) entered disabled state [ 51.396877][ T5] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 51.410241][ T3593] 8021q: adding VLAN 0 to HW filter on device team0 [ 51.421991][ T1781] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 51.430982][ T1781] bridge0: port 1(bridge_slave_0) entered blocking state [ 51.438069][ T1781] bridge0: port 1(bridge_slave_0) entered forwarding state [ 51.456295][ T3601] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 51.464864][ T3601] bridge0: port 2(bridge_slave_1) entered blocking state [ 51.471899][ T3601] bridge0: port 2(bridge_slave_1) entered forwarding state [ 51.481542][ T3601] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 51.496389][ T20] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 51.504700][ T20] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 51.519156][ T3593] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 51.530159][ T3593] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 51.543677][ T1781] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 51.552345][ T1781] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 51.560876][ T1781] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 51.581328][ T3593] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 51.589753][ T1781] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 51.597486][ T1781] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 51.716539][ T141] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 51.730207][ T1781] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 51.739065][ T1781] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 51.747019][ T1781] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 51.757452][ T3593] device veth0_vlan entered promiscuous mode [ 51.768556][ T3593] device veth1_vlan entered promiscuous mode [ 51.786301][ T5] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 51.795611][ T5] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 51.803600][ T5] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 51.814228][ T3593] device veth0_macvtap entered promiscuous mode [ 51.823141][ T3593] device veth1_macvtap entered promiscuous mode [ 51.839219][ T3593] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 51.846700][ T1781] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 51.857192][ T1781] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 51.869104][ T3593] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 51.877648][ T5] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 51.888536][ T3593] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 51.897409][ T3593] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 51.906506][ T3593] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 executing program [ 51.916262][ T3593] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 52.570502][ T963] ================================================================== [ 52.578671][ T963] BUG: KASAN: use-after-free in ip6mr_sk_done+0x11b/0x410 [ 52.585790][ T963] Read of size 4 at addr ffff88801ff08688 by task kworker/u4:4/963 [ 52.593745][ T963] [ 52.596050][ T963] CPU: 0 PID: 963 Comm: kworker/u4:4 Not tainted 5.17.0-rc2-syzkaller-00650-g5a8fb33e5305 #0 [ 52.606179][ T963] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.616218][ T963] Workqueue: netns cleanup_net [ 52.620973][ T963] Call Trace: [ 52.624239][ T963] [ 52.627165][ T963] dump_stack_lvl+0xcd/0x134 [ 52.631754][ T963] print_address_description.constprop.0.cold+0x8d/0x336 [ 52.638778][ T963] ? ip6mr_sk_done+0x11b/0x410 [ 52.643540][ T963] ? ip6mr_sk_done+0x11b/0x410 [ 52.648297][ T963] kasan_report.cold+0x83/0xdf [ 52.653061][ T963] ? ip6mr_sk_done+0x11b/0x410 [ 52.657844][ T963] kasan_check_range+0x13d/0x180 [ 52.662783][ T963] ip6mr_sk_done+0x11b/0x410 [ 52.667371][ T963] ? pde_put+0x15d/0x1e0 [ 52.671611][ T963] rawv6_close+0x58/0x80 [ 52.675850][ T963] inet_release+0x12e/0x280 [ 52.680354][ T963] inet6_release+0x4c/0x70 [ 52.684766][ T963] sock_release+0x87/0x1b0 [ 52.689181][ T963] igmp6_net_exit+0x6b/0x170 [ 52.693768][ T963] ? dst_output+0x170/0x170 [ 52.698264][ T963] ops_exit_list+0xb0/0x170 [ 52.702770][ T963] cleanup_net+0x4ea/0xb00 [ 52.707186][ T963] ? unregister_pernet_device+0x70/0x70 [ 52.712734][ T963] process_one_work+0x9ac/0x1650 [ 52.717680][ T963] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 52.723052][ T963] ? rwlock_bug.part.0+0x90/0x90 [ 52.727986][ T963] ? _raw_spin_lock_irq+0x41/0x50 [ 52.733025][ T963] worker_thread+0x657/0x1110 [ 52.737705][ T963] ? process_one_work+0x1650/0x1650 [ 52.742902][ T963] kthread+0x2e9/0x3a0 [ 52.746970][ T963] ? kthread_complete_and_exit+0x40/0x40 [ 52.752608][ T963] ret_from_fork+0x1f/0x30 [ 52.757036][ T963] [ 52.760046][ T963] [ 52.762357][ T963] Allocated by task 54: [ 52.766502][ T963] kasan_save_stack+0x1e/0x40 [ 52.771172][ T963] __kasan_kmalloc+0xa9/0xd0 [ 52.775756][ T963] set_kthread_struct+0xc5/0x250 [ 52.780689][ T963] copy_process+0x3783/0x7300 [ 52.785355][ T963] kernel_clone+0xe7/0xab0 [ 52.789759][ T963] kernel_thread+0xb5/0xf0 [ 52.794165][ T963] call_usermodehelper_exec_work+0xcc/0x180 [ 52.800053][ T963] process_one_work+0x9ac/0x1650 [ 52.804979][ T963] worker_thread+0x657/0x1110 [ 52.809653][ T963] kthread+0x2e9/0x3a0 [ 52.813714][ T963] ret_from_fork+0x1f/0x30 [ 52.818122][ T963] [ 52.820431][ T963] Freed by task 963: [ 52.824309][ T963] kasan_save_stack+0x1e/0x40 [ 52.828974][ T963] kasan_set_track+0x21/0x30 [ 52.833559][ T963] kasan_set_free_info+0x20/0x30 [ 52.838594][ T963] ____kasan_slab_free+0x130/0x160 [ 52.843697][ T963] slab_free_freelist_hook+0x8b/0x1c0 [ 52.849063][ T963] kfree+0xcb/0x280 [ 52.852864][ T963] ops_exit_list+0xb0/0x170 [ 52.857357][ T963] cleanup_net+0x4ea/0xb00 [ 52.861764][ T963] process_one_work+0x9ac/0x1650 [ 52.866692][ T963] worker_thread+0x657/0x1110 [ 52.871359][ T963] kthread+0x2e9/0x3a0 [ 52.875421][ T963] ret_from_fork+0x1f/0x30 [ 52.879831][ T963] [ 52.882143][ T963] The buggy address belongs to the object at ffff88801ff08600 [ 52.882143][ T963] which belongs to the cache kmalloc-256 of size 256 [ 52.896186][ T963] The buggy address is located 136 bytes inside of [ 52.896186][ T963] 256-byte region [ffff88801ff08600, ffff88801ff08700) [ 52.909452][ T963] The buggy address belongs to the page: [ 52.915066][ T963] page:ffffea00007fc200 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1ff08 [ 52.925205][ T963] head:ffffea00007fc200 order:1 compound_mapcount:0 [ 52.931778][ T963] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 52.939756][ T963] raw: 00fff00000010200 0000000000000000 dead000000000001 ffff888010c41b40 [ 52.948330][ T963] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 52.956895][ T963] page dumped because: kasan: bad access detected [ 52.963290][ T963] page_owner tracks the page as allocated [ 52.968992][ T963] page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 54, ts 11103517642, free_ts 0 [ 52.987039][ T963] get_page_from_freelist+0xa72/0x2f50 [ 52.992499][ T963] __alloc_pages+0x1b2/0x500 [ 52.997081][ T963] alloc_pages+0x1aa/0x310 [ 53.001487][ T963] new_slab+0x28a/0x3b0 [ 53.005638][ T963] ___slab_alloc+0x87c/0xe90 [ 53.010221][ T963] __slab_alloc.constprop.0+0x4d/0xa0 [ 53.015590][ T963] kmem_cache_alloc_trace+0x289/0x2c0 [ 53.020956][ T963] set_kthread_struct+0xc5/0x250 [ 53.025894][ T963] copy_process+0x3783/0x7300 [ 53.030561][ T963] kernel_clone+0xe7/0xab0 [ 53.034972][ T963] kernel_thread+0xb5/0xf0 [ 53.039380][ T963] call_usermodehelper_exec_work+0xcc/0x180 [ 53.045269][ T963] process_one_work+0x9ac/0x1650 [ 53.050198][ T963] worker_thread+0x657/0x1110 [ 53.054866][ T963] kthread+0x2e9/0x3a0 [ 53.058926][ T963] ret_from_fork+0x1f/0x30 [ 53.063339][ T963] page_owner free stack trace missing [ 53.068703][ T963] [ 53.071015][ T963] Memory state around the buggy address: [ 53.076632][ T963] ffff88801ff08580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 53.084683][ T963] ffff88801ff08600: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.092731][ T963] >ffff88801ff08680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.100775][ T963] ^ [ 53.105087][ T963] ffff88801ff08700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 53.113137][ T963] ffff88801ff08780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 53.121183][ T963] ================================================================== [ 53.129230][ T963] Disabling lock debugging due to kernel taint [ 53.146633][ T963] Kernel panic - not syncing: panic_on_warn set ... [ 53.153230][ T963] CPU: 0 PID: 963 Comm: kworker/u4:4 Tainted: G B 5.17.0-rc2-syzkaller-00650-g5a8fb33e5305 #0 [ 53.164759][ T963] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.174804][ T963] Workqueue: netns cleanup_net [ 53.179562][ T963] Call Trace: [ 53.182827][ T963] [ 53.185744][ T963] dump_stack_lvl+0xcd/0x134 [ 53.190330][ T963] panic+0x2b0/0x6dd [ 53.194217][ T963] ? __warn_printk+0xf3/0xf3 [ 53.198800][ T963] ? preempt_schedule_common+0x59/0xc0 [ 53.204251][ T963] ? ip6mr_sk_done+0x11b/0x410 [ 53.209007][ T963] ? preempt_schedule_thunk+0x16/0x18 [ 53.214375][ T963] ? trace_hardirqs_on+0x38/0x1c0 [ 53.219388][ T963] ? trace_hardirqs_on+0x51/0x1c0 [ 53.224400][ T963] ? ip6mr_sk_done+0x11b/0x410 [ 53.229155][ T963] ? ip6mr_sk_done+0x11b/0x410 [ 53.233911][ T963] end_report.cold+0x63/0x6f [ 53.238497][ T963] kasan_report.cold+0x71/0xdf [ 53.243258][ T963] ? ip6mr_sk_done+0x11b/0x410 [ 53.248014][ T963] kasan_check_range+0x13d/0x180 [ 53.252945][ T963] ip6mr_sk_done+0x11b/0x410 [ 53.257531][ T963] ? pde_put+0x15d/0x1e0 [ 53.261764][ T963] rawv6_close+0x58/0x80 [ 53.265997][ T963] inet_release+0x12e/0x280 [ 53.270492][ T963] inet6_release+0x4c/0x70 [ 53.274900][ T963] sock_release+0x87/0x1b0 [ 53.279313][ T963] igmp6_net_exit+0x6b/0x170 [ 53.283899][ T963] ? dst_output+0x170/0x170 [ 53.288398][ T963] ops_exit_list+0xb0/0x170 [ 53.292890][ T963] cleanup_net+0x4ea/0xb00 [ 53.297295][ T963] ? unregister_pernet_device+0x70/0x70 [ 53.302832][ T963] process_one_work+0x9ac/0x1650 [ 53.307762][ T963] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 53.313130][ T963] ? rwlock_bug.part.0+0x90/0x90 [ 53.318061][ T963] ? _raw_spin_lock_irq+0x41/0x50 [ 53.323082][ T963] worker_thread+0x657/0x1110 [ 53.327750][ T963] ? process_one_work+0x1650/0x1650 [ 53.332937][ T963] kthread+0x2e9/0x3a0 [ 53.337005][ T963] ? kthread_complete_and_exit+0x40/0x40 [ 53.342634][ T963] ret_from_fork+0x1f/0x30 [ 53.347047][ T963] [ 53.350207][ T963] Kernel Offset: disabled [ 53.354518][ T963] Rebooting in 86400 seconds..