[ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.52' (ECDSA) to the list of known hosts. syzkaller login: [ 68.129052][ T6797] IPVS: ftp: loaded support on port[0] = 21 [ 68.222856][ T6797] chnl_net:caif_netlink_parms(): no params data found [ 68.275019][ T6797] bridge0: port 1(bridge_slave_0) entered blocking state [ 68.283644][ T6797] bridge0: port 1(bridge_slave_0) entered disabled state [ 68.293843][ T6797] device bridge_slave_0 entered promiscuous mode [ 68.303137][ T6797] bridge0: port 2(bridge_slave_1) entered blocking state [ 68.310305][ T6797] bridge0: port 2(bridge_slave_1) entered disabled state [ 68.318983][ T6797] device bridge_slave_1 entered promiscuous mode [ 68.339784][ T6797] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 68.352398][ T6797] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 68.375305][ T6797] team0: Port device team_slave_0 added [ 68.384623][ T6797] team0: Port device team_slave_1 added [ 68.402877][ T6797] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 68.410183][ T6797] 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. [ 68.438176][ T6797] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 68.452366][ T6797] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 68.459331][ T6797] 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. [ 68.486413][ T6797] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 68.554609][ T6797] device hsr_slave_0 entered promiscuous mode [ 68.622451][ T6797] device hsr_slave_1 entered promiscuous mode [ 68.750265][ T6797] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 68.804179][ T6797] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 68.863494][ T6797] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 68.913695][ T6797] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 68.969047][ T6797] bridge0: port 2(bridge_slave_1) entered blocking state [ 68.976377][ T6797] bridge0: port 2(bridge_slave_1) entered forwarding state [ 68.984501][ T6797] bridge0: port 1(bridge_slave_0) entered blocking state [ 68.991702][ T6797] bridge0: port 1(bridge_slave_0) entered forwarding state [ 69.036892][ T6797] 8021q: adding VLAN 0 to HW filter on device bond0 [ 69.053859][ T5] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 69.064842][ T5] bridge0: port 1(bridge_slave_0) entered disabled state [ 69.074788][ T5] bridge0: port 2(bridge_slave_1) entered disabled state [ 69.083473][ T5] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 69.097416][ T6797] 8021q: adding VLAN 0 to HW filter on device team0 [ 69.108803][ T2502] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 69.118532][ T2502] bridge0: port 1(bridge_slave_0) entered blocking state [ 69.125788][ T2502] bridge0: port 1(bridge_slave_0) entered forwarding state [ 69.142632][ T5] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 69.152661][ T5] bridge0: port 2(bridge_slave_1) entered blocking state [ 69.159732][ T5] bridge0: port 2(bridge_slave_1) entered forwarding state [ 69.184919][ T2481] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 69.194097][ T2481] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 69.203810][ T2481] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 69.214226][ T2481] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 69.224542][ T2502] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_hsr: link becomes ready [ 69.233700][ T2502] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 69.245427][ T6797] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 69.265257][ T2502] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 69.274259][ T2502] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 69.287265][ T6797] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 69.313838][ T2481] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_virt_wifi: link becomes ready [ 69.324547][ T2481] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 69.346811][ T6797] device veth0_vlan entered promiscuous mode [ 69.353877][ T2481] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready [ 69.364812][ T2481] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 69.375302][ T2481] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 69.384148][ T2481] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 69.396472][ T6797] device veth1_vlan entered promiscuous mode [ 69.418452][ T2502] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 69.427900][ T2502] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 69.436307][ T2502] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 69.445056][ T2502] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 69.455918][ T6797] device veth0_macvtap entered promiscuous mode [ 69.467391][ T6797] device veth1_macvtap entered promiscuous mode [ 69.486072][ T6797] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 69.495259][ T2502] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 69.504624][ T2502] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 69.513094][ T2502] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 69.522911][ T2502] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 69.538591][ T6797] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 69.546531][ T17] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 69.555842][ T17] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready executing program [ 72.891863][ C1] ================================================================== [ 72.900308][ C1] BUG: KASAN: use-after-free in ip_icmp_error+0x52a/0x5a0 [ 72.907541][ C1] Read of size 1 at addr ffff88809f932fff by task ksoftirqd/1/16 [ 72.916368][ C1] [ 72.918678][ C1] CPU: 1 PID: 16 Comm: ksoftirqd/1 Not tainted 5.7.0-rc7-next-20200526-syzkaller #0 [ 72.928012][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 72.938054][ C1] Call Trace: [ 72.941604][ C1] dump_stack+0x18f/0x20d [ 72.945925][ C1] ? ip_icmp_error+0x52a/0x5a0 [ 72.950665][ C1] ? ip_icmp_error+0x52a/0x5a0 [ 72.955409][ C1] print_address_description.constprop.0.cold+0xd3/0x413 [ 72.962581][ C1] ? memcpy+0x39/0x60 [ 72.966561][ C1] ? vprintk_func+0x97/0x1a6 [ 72.971145][ C1] ? ip_icmp_error+0x52a/0x5a0 [ 72.975891][ C1] kasan_report.cold+0x1f/0x37 [ 72.980639][ C1] ? skb_clone+0x190/0x3c0 [ 72.985047][ C1] ? ip_icmp_error+0x52a/0x5a0 [ 72.989790][ C1] ip_icmp_error+0x52a/0x5a0 [ 72.994375][ C1] tcp_v4_err+0x99e/0x1ce0 [ 72.998772][ C1] ? tcp_v4_do_rcv+0x8b0/0x8b0 [ 73.003524][ C1] icmp_socket_deliver+0x1e1/0x360 [ 73.008613][ C1] icmp_unreach+0x33b/0xab0 [ 73.013107][ C1] icmp_rcv+0xee6/0x15f0 [ 73.017430][ C1] ip_protocol_deliver_rcu+0x57/0x880 [ 73.023163][ C1] ? check_preemption_disabled+0x38/0x220 [ 73.028865][ C1] ip_local_deliver_finish+0x220/0x360 [ 73.034399][ C1] ip_local_deliver+0x1c8/0x4e0 [ 73.039288][ C1] ? ip_local_deliver_finish+0x360/0x360 [ 73.045157][ C1] ? ip_rcv+0x244/0x3c0 [ 73.049297][ C1] ? ip_protocol_deliver_rcu+0x880/0x880 [ 73.054909][ C1] ? lock_downgrade+0x840/0x840 [ 73.059734][ C1] ? ip_rcv_finish_core.isra.0+0x606/0x1ea0 [ 73.065609][ C1] ip_rcv_finish+0x1da/0x2f0 [ 73.070190][ C1] ip_rcv+0xd0/0x3c0 [ 73.074065][ C1] ? ip_local_deliver+0x4e0/0x4e0 [ 73.079188][ C1] ? ip_rcv_finish_core.isra.0+0x1ea0/0x1ea0 [ 73.085183][ C1] ? ip_local_deliver+0x4e0/0x4e0 [ 73.090279][ C1] __netif_receive_skb_one_core+0x114/0x180 [ 73.096169][ C1] ? __netif_receive_skb_core+0x33f0/0x33f0 [ 73.102065][ C1] ? do_raw_spin_lock+0x120/0x2d0 [ 73.107096][ C1] ? rwlock_bug.part.0+0x90/0x90 [ 73.112394][ C1] __netif_receive_skb+0x27/0x1c0 [ 73.118420][ C1] process_backlog+0x21e/0x7a0 [ 73.123183][ C1] ? lockdep_hardirqs_on_prepare+0x1bc/0x590 [ 73.129187][ C1] net_rx_action+0x4e1/0x10d0 [ 73.133897][ C1] ? napi_busy_loop+0x9e0/0x9e0 [ 73.138734][ C1] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 73.144693][ C1] ? lockdep_hardirqs_on_prepare+0x1bc/0x590 [ 73.150673][ C1] __do_softirq+0x268/0x9ee [ 73.155158][ C1] ? takeover_tasklets+0x810/0x810 [ 73.160320][ C1] run_ksoftirqd+0x89/0x100 [ 73.164913][ C1] smpboot_thread_fn+0x653/0x9e0 [ 73.170087][ C1] ? smpboot_register_percpu_thread+0x370/0x370 [ 73.176320][ C1] ? __kthread_parkme+0x13f/0x1e0 [ 73.181336][ C1] ? smpboot_register_percpu_thread+0x370/0x370 [ 73.187647][ C1] kthread+0x3b5/0x4a0 [ 73.191708][ C1] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 73.197400][ C1] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 73.203193][ C1] ret_from_fork+0x1f/0x30 [ 73.207610][ C1] [ 73.209936][ C1] Allocated by task 1: [ 73.214006][ C1] save_stack+0x1b/0x40 [ 73.218149][ C1] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 73.223764][ C1] __kmalloc+0x161/0x7a0 [ 73.227995][ C1] tomoyo_realpath_from_path+0xc2/0x620 [ 73.233527][ C1] tomoyo_path_perm+0x214/0x400 [ 73.238351][ C1] security_inode_getattr+0xeb/0x150 [ 73.243609][ C1] vfs_getattr+0x22/0x60 [ 73.248882][ C1] vfs_statx+0x177/0x370 [ 73.253138][ C1] __do_sys_newlstat+0x91/0x110 [ 73.258066][ C1] do_syscall_64+0x60/0xe0 [ 73.262530][ C1] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 73.268404][ C1] [ 73.270716][ C1] Freed by task 1: [ 73.274418][ C1] save_stack+0x1b/0x40 [ 73.278552][ C1] __kasan_slab_free+0xf7/0x140 [ 73.283404][ C1] kfree+0x109/0x2b0 [ 73.287285][ C1] tomoyo_realpath_from_path+0x18f/0x620 [ 73.292890][ C1] tomoyo_path_perm+0x214/0x400 [ 73.297748][ C1] security_inode_getattr+0xeb/0x150 [ 73.303029][ C1] vfs_getattr+0x22/0x60 [ 73.307427][ C1] vfs_statx+0x177/0x370 [ 73.311645][ C1] __do_sys_newlstat+0x91/0x110 [ 73.316469][ C1] do_syscall_64+0x60/0xe0 [ 73.320859][ C1] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 73.326717][ C1] [ 73.329023][ C1] The buggy address belongs to the object at ffff88809f932000 [ 73.329023][ C1] which belongs to the cache kmalloc-4k of size 4096 [ 73.343096][ C1] The buggy address is located 4095 bytes inside of [ 73.343096][ C1] 4096-byte region [ffff88809f932000, ffff88809f933000) [ 73.356522][ C1] The buggy address belongs to the page: [ 73.362487][ C1] page:ffffea00027e4c80 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 head:ffffea00027e4c80 order:1 compound_mapcount:0 [ 73.375931][ C1] flags: 0xfffe0000010200(slab|head) [ 73.381349][ C1] raw: 00fffe0000010200 ffffea00024f3288 ffffea0002498508 ffff8880aa002000 [ 73.389934][ C1] raw: 0000000000000000 ffff88809f932000 0000000100000001 0000000000000000 [ 73.398489][ C1] page dumped because: kasan: bad access detected [ 73.404874][ C1] [ 73.407176][ C1] Memory state around the buggy address: [ 73.412783][ C1] ffff88809f932e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 73.420845][ C1] ffff88809f932f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 73.429498][ C1] >ffff88809f932f80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 73.437620][ C1] ^ [ 73.445569][ C1] ffff88809f933000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 73.453619][ C1] ffff88809f933080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 73.461732][ C1] ================================================================== [ 73.469823][ C1] Disabling lock debugging due to kernel taint [ 73.476070][ C1] Kernel panic - not syncing: panic_on_warn set ... [ 73.482665][ C1] CPU: 1 PID: 16 Comm: ksoftirqd/1 Tainted: G B 5.7.0-rc7-next-20200526-syzkaller #0 [ 73.493414][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 73.503469][ C1] Call Trace: [ 73.506785][ C1] dump_stack+0x18f/0x20d [ 73.511124][ C1] ? ip_icmp_error+0x4f0/0x5a0 [ 73.515880][ C1] panic+0x2e3/0x75c [ 73.519844][ C1] ? __warn_printk+0xf3/0xf3 [ 73.524494][ C1] ? ip_icmp_error+0x52a/0x5a0 [ 73.529237][ C1] ? trace_hardirqs_on+0x55/0x220 [ 73.534323][ C1] ? ip_icmp_error+0x52a/0x5a0 [ 73.539148][ C1] ? ip_icmp_error+0x52a/0x5a0 [ 73.543888][ C1] end_report+0x4d/0x53 [ 73.548031][ C1] kasan_report.cold+0xd/0x37 [ 73.553204][ C1] ? skb_clone+0x190/0x3c0 [ 73.557940][ C1] ? ip_icmp_error+0x52a/0x5a0 [ 73.562685][ C1] ip_icmp_error+0x52a/0x5a0 [ 73.567257][ C1] tcp_v4_err+0x99e/0x1ce0 [ 73.571676][ C1] ? tcp_v4_do_rcv+0x8b0/0x8b0 [ 73.577481][ C1] icmp_socket_deliver+0x1e1/0x360 [ 73.582608][ C1] icmp_unreach+0x33b/0xab0 [ 73.587274][ C1] icmp_rcv+0xee6/0x15f0 [ 73.591512][ C1] ip_protocol_deliver_rcu+0x57/0x880 [ 73.596942][ C1] ? check_preemption_disabled+0x38/0x220 [ 73.602730][ C1] ip_local_deliver_finish+0x220/0x360 [ 73.608231][ C1] ip_local_deliver+0x1c8/0x4e0 [ 73.613195][ C1] ? ip_local_deliver_finish+0x360/0x360 [ 73.618975][ C1] ? ip_rcv+0x244/0x3c0 [ 73.623132][ C1] ? ip_protocol_deliver_rcu+0x880/0x880 [ 73.629366][ C1] ? lock_downgrade+0x840/0x840 [ 73.634281][ C1] ? ip_rcv_finish_core.isra.0+0x606/0x1ea0 [ 73.640173][ C1] ip_rcv_finish+0x1da/0x2f0 [ 73.644757][ C1] ip_rcv+0xd0/0x3c0 [ 73.648654][ C1] ? ip_local_deliver+0x4e0/0x4e0 [ 73.653921][ C1] ? ip_rcv_finish_core.isra.0+0x1ea0/0x1ea0 [ 73.659888][ C1] ? ip_local_deliver+0x4e0/0x4e0 [ 73.665110][ C1] __netif_receive_skb_one_core+0x114/0x180 [ 73.671000][ C1] ? __netif_receive_skb_core+0x33f0/0x33f0 [ 73.676891][ C1] ? do_raw_spin_lock+0x120/0x2d0 [ 73.681915][ C1] ? rwlock_bug.part.0+0x90/0x90 [ 73.686833][ C1] __netif_receive_skb+0x27/0x1c0 [ 73.691848][ C1] process_backlog+0x21e/0x7a0 [ 73.696594][ C1] ? lockdep_hardirqs_on_prepare+0x1bc/0x590 [ 73.702565][ C1] net_rx_action+0x4e1/0x10d0 [ 73.707240][ C1] ? napi_busy_loop+0x9e0/0x9e0 [ 73.712158][ C1] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 73.718120][ C1] ? lockdep_hardirqs_on_prepare+0x1bc/0x590 [ 73.724519][ C1] __do_softirq+0x268/0x9ee [ 73.729288][ C1] ? takeover_tasklets+0x810/0x810 [ 73.734390][ C1] run_ksoftirqd+0x89/0x100 [ 73.738944][ C1] smpboot_thread_fn+0x653/0x9e0 [ 73.743959][ C1] ? smpboot_register_percpu_thread+0x370/0x370 [ 73.750192][ C1] ? __kthread_parkme+0x13f/0x1e0 [ 73.755463][ C1] ? smpboot_register_percpu_thread+0x370/0x370 [ 73.761681][ C1] kthread+0x3b5/0x4a0 [ 73.765833][ C1] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 73.771687][ C1] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 73.777409][ C1] ret_from_fork+0x1f/0x30 [ 73.783297][ C1] Kernel Offset: disabled [ 73.787632][ C1] Rebooting in 86400 seconds..