DUID 00:04:60:0b:d9:94:f1:4e:15:d4:cc:23:27:00:18:99:58:ba forked to background, child pid 3176 [ 31.726745][ T3177] 8021q: adding VLAN 0 to HW filter on device bond0 [ 31.736554][ T3177] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.54' (ECDSA) to the list of known hosts. syzkaller login: [ 48.658822][ T3592] chnl_net:caif_netlink_parms(): no params data found [ 48.701330][ T3592] bridge0: port 1(bridge_slave_0) entered blocking state [ 48.708922][ T3592] bridge0: port 1(bridge_slave_0) entered disabled state [ 48.717093][ T3592] device bridge_slave_0 entered promiscuous mode [ 48.726740][ T3592] bridge0: port 2(bridge_slave_1) entered blocking state [ 48.734104][ T3592] bridge0: port 2(bridge_slave_1) entered disabled state [ 48.742595][ T3592] device bridge_slave_1 entered promiscuous mode [ 48.762285][ T3592] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 48.774731][ T3592] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 48.797136][ T3592] team0: Port device team_slave_0 added [ 48.804547][ T3592] team0: Port device team_slave_1 added [ 48.822450][ T3592] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 48.829413][ T3592] 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. [ 48.855540][ T3592] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 48.867980][ T3592] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 48.875034][ T3592] 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. [ 48.901121][ T3592] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 48.926986][ T3592] device hsr_slave_0 entered promiscuous mode [ 48.934251][ T3592] device hsr_slave_1 entered promiscuous mode [ 49.018172][ T3592] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 49.028320][ T3592] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 49.037727][ T3592] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 49.046813][ T3592] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 49.067768][ T3592] bridge0: port 2(bridge_slave_1) entered blocking state [ 49.074970][ T3592] bridge0: port 2(bridge_slave_1) entered forwarding state [ 49.083000][ T3592] bridge0: port 1(bridge_slave_0) entered blocking state [ 49.090307][ T3592] bridge0: port 1(bridge_slave_0) entered forwarding state [ 49.135834][ T3592] 8021q: adding VLAN 0 to HW filter on device bond0 [ 49.148835][ T1780] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 49.159735][ T1780] bridge0: port 1(bridge_slave_0) entered disabled state [ 49.169021][ T1780] bridge0: port 2(bridge_slave_1) entered disabled state [ 49.178269][ T1780] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 49.191706][ T3592] 8021q: adding VLAN 0 to HW filter on device team0 [ 49.203282][ T3598] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 49.211778][ T3598] bridge0: port 1(bridge_slave_0) entered blocking state [ 49.218925][ T3598] bridge0: port 1(bridge_slave_0) entered forwarding state [ 49.244750][ T1132] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 49.253927][ T1132] bridge0: port 2(bridge_slave_1) entered blocking state [ 49.261368][ T1132] bridge0: port 2(bridge_slave_1) entered forwarding state [ 49.272080][ T1132] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 49.280662][ T1132] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 49.289500][ T1132] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 49.301636][ T3592] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 49.313555][ T3592] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 49.321421][ T1132] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 49.329494][ T1132] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 49.352439][ T3592] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 49.360546][ T140] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 49.368469][ T140] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 49.482422][ T3598] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 49.499056][ T140] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 49.508210][ T140] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 49.516078][ T140] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 49.526739][ T3592] device veth0_vlan entered promiscuous mode [ 49.537722][ T3592] device veth1_vlan entered promiscuous mode [ 49.558174][ T3598] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 49.566761][ T3598] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 49.575493][ T3598] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 49.585643][ T3592] device veth0_macvtap entered promiscuous mode [ 49.595499][ T3592] device veth1_macvtap entered promiscuous mode [ 49.610610][ T3592] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 49.618858][ T3599] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 49.629057][ T3599] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 49.640589][ T3592] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 49.649654][ T140] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 49.661520][ T3592] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 49.670732][ T3592] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 49.679841][ T3592] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 executing program [ 49.688975][ T3592] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 50.346386][ T44] ================================================================== [ 50.354608][ T44] BUG: KASAN: use-after-free in ip6mr_sk_done+0x11b/0x410 [ 50.361733][ T44] Read of size 4 at addr ffff88801ec4e088 by task kworker/u4:2/44 [ 50.369530][ T44] [ 50.371849][ T44] CPU: 1 PID: 44 Comm: kworker/u4:2 Not tainted 5.17.0-rc2-syzkaller-00650-g5a8fb33e5305 #0 [ 50.382006][ T44] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.392061][ T44] Workqueue: netns cleanup_net [ 50.396822][ T44] Call Trace: [ 50.400091][ T44] [ 50.403009][ T44] dump_stack_lvl+0xcd/0x134 [ 50.407605][ T44] print_address_description.constprop.0.cold+0x8d/0x336 [ 50.414715][ T44] ? ip6mr_sk_done+0x11b/0x410 [ 50.419468][ T44] ? ip6mr_sk_done+0x11b/0x410 [ 50.424228][ T44] kasan_report.cold+0x83/0xdf [ 50.429002][ T44] ? ip6mr_sk_done+0x11b/0x410 [ 50.433898][ T44] kasan_check_range+0x13d/0x180 [ 50.438855][ T44] ip6mr_sk_done+0x11b/0x410 [ 50.443464][ T44] ? pde_put+0x15d/0x1e0 [ 50.447711][ T44] rawv6_close+0x58/0x80 [ 50.451951][ T44] inet_release+0x12e/0x280 [ 50.456447][ T44] inet6_release+0x4c/0x70 [ 50.460857][ T44] sock_release+0x87/0x1b0 [ 50.465281][ T44] igmp6_net_exit+0x6b/0x170 [ 50.469861][ T44] ? dst_output+0x170/0x170 [ 50.474349][ T44] ops_exit_list+0xb0/0x170 [ 50.478843][ T44] cleanup_net+0x4ea/0xb00 [ 50.483245][ T44] ? unregister_pernet_device+0x70/0x70 [ 50.488786][ T44] process_one_work+0x9ac/0x1650 [ 50.493720][ T44] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 50.499081][ T44] ? rwlock_bug.part.0+0x90/0x90 [ 50.504009][ T44] ? _raw_spin_lock_irq+0x41/0x50 [ 50.509031][ T44] worker_thread+0x657/0x1110 [ 50.513768][ T44] ? process_one_work+0x1650/0x1650 [ 50.518983][ T44] kthread+0x2e9/0x3a0 [ 50.523059][ T44] ? kthread_complete_and_exit+0x40/0x40 [ 50.528688][ T44] ret_from_fork+0x1f/0x30 [ 50.533102][ T44] [ 50.536106][ T44] [ 50.538411][ T44] Allocated by task 44: [ 50.542546][ T44] kasan_save_stack+0x1e/0x40 [ 50.547208][ T44] __kasan_kmalloc+0xa9/0xd0 [ 50.551779][ T44] set_kthread_struct+0xc5/0x250 [ 50.556710][ T44] copy_process+0x3783/0x7300 [ 50.561378][ T44] kernel_clone+0xe7/0xab0 [ 50.565777][ T44] kernel_thread+0xb5/0xf0 [ 50.570261][ T44] call_usermodehelper_exec_work+0xcc/0x180 [ 50.576141][ T44] process_one_work+0x9ac/0x1650 [ 50.581087][ T44] worker_thread+0x657/0x1110 [ 50.585767][ T44] kthread+0x2e9/0x3a0 [ 50.589826][ T44] ret_from_fork+0x1f/0x30 [ 50.594231][ T44] [ 50.596539][ T44] Freed by task 44: [ 50.600327][ T44] kasan_save_stack+0x1e/0x40 [ 50.604989][ T44] kasan_set_track+0x21/0x30 [ 50.609565][ T44] kasan_set_free_info+0x20/0x30 [ 50.614488][ T44] ____kasan_slab_free+0x130/0x160 [ 50.619584][ T44] slab_free_freelist_hook+0x8b/0x1c0 [ 50.624944][ T44] kfree+0xcb/0x280 [ 50.628739][ T44] ops_exit_list+0xb0/0x170 [ 50.633224][ T44] cleanup_net+0x4ea/0xb00 [ 50.637625][ T44] process_one_work+0x9ac/0x1650 [ 50.642550][ T44] worker_thread+0x657/0x1110 [ 50.647213][ T44] kthread+0x2e9/0x3a0 [ 50.651271][ T44] ret_from_fork+0x1f/0x30 [ 50.655675][ T44] [ 50.657980][ T44] The buggy address belongs to the object at ffff88801ec4e000 [ 50.657980][ T44] which belongs to the cache kmalloc-256 of size 256 [ 50.672034][ T44] The buggy address is located 136 bytes inside of [ 50.672034][ T44] 256-byte region [ffff88801ec4e000, ffff88801ec4e100) [ 50.685295][ T44] The buggy address belongs to the page: [ 50.690908][ T44] page:ffffea00007b1380 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1ec4e [ 50.701044][ T44] head:ffffea00007b1380 order:1 compound_mapcount:0 [ 50.707635][ T44] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 50.715622][ T44] raw: 00fff00000010200 ffffea0000798300 dead000000000002 ffff888010c41b40 [ 50.724486][ T44] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 50.733062][ T44] page dumped because: kasan: bad access detected [ 50.739457][ T44] page_owner tracks the page as allocated [ 50.745240][ T44] page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 44, ts 11599343313, free_ts 0 [ 50.763296][ T44] get_page_from_freelist+0xa72/0x2f50 [ 50.768758][ T44] __alloc_pages+0x1b2/0x500 [ 50.773348][ T44] alloc_pages+0x1aa/0x310 [ 50.777766][ T44] new_slab+0x28a/0x3b0 [ 50.781927][ T44] ___slab_alloc+0x87c/0xe90 [ 50.786519][ T44] __slab_alloc.constprop.0+0x4d/0xa0 [ 50.791893][ T44] kmem_cache_alloc_trace+0x289/0x2c0 [ 50.797263][ T44] set_kthread_struct+0xc5/0x250 [ 50.802198][ T44] copy_process+0x3783/0x7300 [ 50.806860][ T44] kernel_clone+0xe7/0xab0 [ 50.811275][ T44] kernel_thread+0xb5/0xf0 [ 50.815674][ T44] call_usermodehelper_exec_work+0xcc/0x180 [ 50.821658][ T44] process_one_work+0x9ac/0x1650 [ 50.826583][ T44] worker_thread+0x657/0x1110 [ 50.831260][ T44] kthread+0x2e9/0x3a0 [ 50.835315][ T44] ret_from_fork+0x1f/0x30 [ 50.839805][ T44] page_owner free stack trace missing [ 50.845151][ T44] [ 50.847463][ T44] Memory state around the buggy address: [ 50.853069][ T44] ffff88801ec4df80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 50.861125][ T44] ffff88801ec4e000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.869172][ T44] >ffff88801ec4e080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.877211][ T44] ^ [ 50.881548][ T44] ffff88801ec4e100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 50.889592][ T44] ffff88801ec4e180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 50.897632][ T44] ================================================================== [ 50.905673][ T44] Disabling lock debugging due to kernel taint [ 50.912535][ T44] Kernel panic - not syncing: panic_on_warn set ... [ 50.919139][ T44] CPU: 0 PID: 44 Comm: kworker/u4:2 Tainted: G B 5.17.0-rc2-syzkaller-00650-g5a8fb33e5305 #0 [ 50.930602][ T44] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.940654][ T44] Workqueue: netns cleanup_net [ 50.945410][ T44] Call Trace: [ 50.948675][ T44] [ 50.951592][ T44] dump_stack_lvl+0xcd/0x134 [ 50.956179][ T44] panic+0x2b0/0x6dd [ 50.960075][ T44] ? __warn_printk+0xf3/0xf3 [ 50.964676][ T44] ? preempt_schedule_common+0x59/0xc0 [ 50.970127][ T44] ? ip6mr_sk_done+0x11b/0x410 [ 50.974882][ T44] ? preempt_schedule_thunk+0x16/0x18 [ 50.980248][ T44] ? trace_hardirqs_on+0x38/0x1c0 [ 50.985268][ T44] ? trace_hardirqs_on+0x51/0x1c0 [ 50.990281][ T44] ? ip6mr_sk_done+0x11b/0x410 [ 50.995035][ T44] ? ip6mr_sk_done+0x11b/0x410 [ 50.999791][ T44] end_report.cold+0x63/0x6f [ 51.004381][ T44] kasan_report.cold+0x71/0xdf [ 51.009135][ T44] ? ip6mr_sk_done+0x11b/0x410 [ 51.013892][ T44] kasan_check_range+0x13d/0x180 [ 51.018822][ T44] ip6mr_sk_done+0x11b/0x410 [ 51.023401][ T44] ? pde_put+0x15d/0x1e0 [ 51.027634][ T44] rawv6_close+0x58/0x80 [ 51.031865][ T44] inet_release+0x12e/0x280 [ 51.036357][ T44] inet6_release+0x4c/0x70 [ 51.040772][ T44] sock_release+0x87/0x1b0 [ 51.045179][ T44] igmp6_net_exit+0x6b/0x170 [ 51.049760][ T44] ? dst_output+0x170/0x170 [ 51.054250][ T44] ops_exit_list+0xb0/0x170 [ 51.058742][ T44] cleanup_net+0x4ea/0xb00 [ 51.063145][ T44] ? unregister_pernet_device+0x70/0x70 [ 51.068680][ T44] process_one_work+0x9ac/0x1650 [ 51.073607][ T44] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 51.078971][ T44] ? rwlock_bug.part.0+0x90/0x90 [ 51.083902][ T44] ? _raw_spin_lock_irq+0x41/0x50 [ 51.088922][ T44] worker_thread+0x657/0x1110 [ 51.093591][ T44] ? process_one_work+0x1650/0x1650 [ 51.098780][ T44] kthread+0x2e9/0x3a0 [ 51.102926][ T44] ? kthread_complete_and_exit+0x40/0x40 [ 51.108552][ T44] ret_from_fork+0x1f/0x30 [ 51.112964][ T44] [ 51.116043][ T44] Kernel Offset: disabled [ 51.120372][ T44] Rebooting in 86400 seconds..