[ 93.401180][ T27] audit: type=1800 audit(1581322290.626:26): pid=9773 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 94.279305][ T27] kauditd_printk_skb: 2 callbacks suppressed [ 94.279317][ T27] audit: type=1800 audit(1581322291.526:29): pid=9773 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 94.305817][ T27] audit: type=1800 audit(1581322291.526:30): pid=9773 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.10.51' (ECDSA) to the list of known hosts. 2020/02/10 08:26:42 parsed 1 programs 2020/02/10 08:26:44 executed programs: 0 syzkaller login: [ 1007.357069][ T9949] IPVS: ftp: loaded support on port[0] = 21 [ 1007.415953][ T9949] chnl_net:caif_netlink_parms(): no params data found [ 1007.452942][ T9949] bridge0: port 1(bridge_slave_0) entered blocking state [ 1007.461168][ T9949] bridge0: port 1(bridge_slave_0) entered disabled state [ 1007.469322][ T9949] device bridge_slave_0 entered promiscuous mode [ 1007.478232][ T9949] bridge0: port 2(bridge_slave_1) entered blocking state [ 1007.485588][ T9949] bridge0: port 2(bridge_slave_1) entered disabled state [ 1007.493245][ T9949] device bridge_slave_1 entered promiscuous mode [ 1007.510790][ T9949] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 1007.522310][ T9949] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 1007.541779][ T9949] team0: Port device team_slave_0 added [ 1007.549955][ T9949] team0: Port device team_slave_1 added [ 1007.564707][ T9949] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 1007.572013][ T9949] 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. [ 1007.598112][ T9949] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 1007.610794][ T9949] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 1007.617965][ T9949] 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. [ 1007.645014][ T9949] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 1007.755969][ T9949] device hsr_slave_0 entered promiscuous mode [ 1007.793995][ T9949] device hsr_slave_1 entered promiscuous mode [ 1007.909383][ T9949] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 1007.967840][ T9949] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 1008.026577][ T9949] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 1008.065962][ T9949] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 1008.126568][ T9949] bridge0: port 2(bridge_slave_1) entered blocking state [ 1008.133959][ T9949] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1008.141768][ T9949] bridge0: port 1(bridge_slave_0) entered blocking state [ 1008.149058][ T9949] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1008.196022][ T9949] 8021q: adding VLAN 0 to HW filter on device bond0 [ 1008.210772][ T9953] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 1008.232738][ T9953] bridge0: port 1(bridge_slave_0) entered disabled state [ 1008.252445][ T9953] bridge0: port 2(bridge_slave_1) entered disabled state [ 1008.260747][ T9953] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 1008.273411][ T9949] 8021q: adding VLAN 0 to HW filter on device team0 [ 1008.285824][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 1008.294707][ T3153] bridge0: port 1(bridge_slave_0) entered blocking state [ 1008.301915][ T3153] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1008.314197][ T9953] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 1008.322971][ T9953] bridge0: port 2(bridge_slave_1) entered blocking state [ 1008.330116][ T9953] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1008.356670][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 1008.365812][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 1008.375042][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 1008.384168][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 1008.398281][ T9949] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 1008.410805][ T9949] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 1008.419800][ T9953] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 1008.440708][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 1008.448322][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 1008.461098][ T9949] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 1008.481456][ T9953] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_virt_wifi: link becomes ready [ 1008.490805][ T9953] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 1008.513932][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready [ 1008.522650][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 1008.532187][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 1008.540262][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 1008.550612][ T9949] device veth0_vlan entered promiscuous mode [ 1008.563253][ T9949] device veth1_vlan entered promiscuous mode [ 1008.586402][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 1008.595177][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 1008.603559][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 1008.612373][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 1008.624644][ T9949] device veth0_macvtap entered promiscuous mode [ 1008.635638][ T9949] device veth1_macvtap entered promiscuous mode [ 1008.654558][ T9949] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 1008.662359][ T9953] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 1008.671712][ T9953] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 1008.680128][ T9953] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 1008.689222][ T9953] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 1008.702327][ T9949] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 1008.710265][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 1008.719622][ T3153] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready 2020/02/10 08:26:49 executed programs: 131 [ 1014.692045][T10796] ================================================================== [ 1014.700659][T10796] BUG: KASAN: use-after-free in vgem_gem_dumb_create+0x238/0x250 [ 1014.708654][T10796] Read of size 8 at addr ffff8880a2549108 by task syz-executor.0/10796 [ 1014.717044][T10796] [ 1014.719402][T10796] CPU: 0 PID: 10796 Comm: syz-executor.0 Not tainted 5.5.0-syzkaller #0 [ 1014.727830][T10796] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1014.738029][T10796] Call Trace: [ 1014.741551][T10796] dump_stack+0x197/0x210 [ 1014.745899][T10796] ? vgem_gem_dumb_create+0x238/0x250 [ 1014.751721][T10796] print_address_description.constprop.0.cold+0xd4/0x30b [ 1014.759135][T10796] ? vgem_gem_dumb_create+0x238/0x250 [ 1014.764523][T10796] ? vgem_gem_dumb_create+0x238/0x250 [ 1014.770054][T10796] __kasan_report.cold+0x1b/0x32 [ 1014.775130][T10796] ? vgem_gem_dumb_create+0x238/0x250 [ 1014.780793][T10796] kasan_report+0x12/0x20 [ 1014.785255][T10796] __asan_report_load8_noabort+0x14/0x20 [ 1014.790910][T10796] vgem_gem_dumb_create+0x238/0x250 [ 1014.796430][T10796] drm_mode_create_dumb+0x282/0x310 [ 1014.801798][T10796] drm_mode_create_dumb_ioctl+0x26/0x30 [ 1014.807424][T10796] drm_ioctl_kernel+0x244/0x300 [ 1014.812270][T10796] ? drm_mode_create_dumb+0x310/0x310 [ 1014.817740][T10796] ? drm_setversion+0x8c0/0x8c0 [ 1014.822644][T10796] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 1014.828963][T10796] ? _copy_from_user+0x12c/0x1a0 [ 1014.834319][T10796] drm_ioctl+0x54e/0xa60 [ 1014.838656][T10796] ? drm_mode_create_dumb+0x310/0x310 [ 1014.844031][T10796] ? drm_ioctl_kernel+0x300/0x300 [ 1014.849265][T10796] ? ksys_dup3+0x3e0/0x3e0 [ 1014.853717][T10796] ? ns_to_kernel_old_timeval+0x100/0x100 [ 1014.859514][T10796] ? tomoyo_file_ioctl+0x23/0x30 [ 1014.864461][T10796] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 1014.870801][T10796] ? security_file_ioctl+0x8d/0xc0 [ 1014.876023][T10796] ? drm_ioctl_kernel+0x300/0x300 [ 1014.881231][T10796] ksys_ioctl+0x123/0x180 [ 1014.885892][T10796] __x64_sys_ioctl+0x73/0xb0 [ 1014.890530][T10796] do_syscall_64+0xfa/0x790 [ 1014.895138][T10796] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1014.901637][T10796] RIP: 0033:0x45b399 [ 1014.905609][T10796] Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 1014.925459][T10796] RSP: 002b:00007fead1228c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 1014.933865][T10796] RAX: ffffffffffffffda RBX: 00007fead12296d4 RCX: 000000000045b399 [ 1014.941952][T10796] RDX: 0000000020000280 RSI: 00000000c02064b2 RDI: 0000000000000003 [ 1014.949952][T10796] RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 [ 1014.957994][T10796] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 1014.966815][T10796] R13: 0000000000000285 R14: 00000000004d1598 R15: 000000000075bf2c [ 1014.974801][T10796] [ 1014.977121][T10796] Allocated by task 10796: [ 1014.981662][T10796] save_stack+0x23/0x90 [ 1014.985834][T10796] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 1014.991472][T10796] kasan_kmalloc+0x9/0x10 [ 1014.995812][T10796] kmem_cache_alloc_trace+0x158/0x790 [ 1015.001199][T10796] __vgem_gem_create+0x49/0x100 [ 1015.006197][T10796] vgem_gem_dumb_create+0xd7/0x250 [ 1015.011313][T10796] drm_mode_create_dumb+0x282/0x310 [ 1015.016685][T10796] drm_mode_create_dumb_ioctl+0x26/0x30 [ 1015.022408][T10796] drm_ioctl_kernel+0x244/0x300 [ 1015.027263][T10796] drm_ioctl+0x54e/0xa60 [ 1015.031517][T10796] ksys_ioctl+0x123/0x180 [ 1015.035856][T10796] __x64_sys_ioctl+0x73/0xb0 [ 1015.040459][T10796] do_syscall_64+0xfa/0x790 [ 1015.044967][T10796] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1015.050846][T10796] [ 1015.053169][T10796] Freed by task 10796: [ 1015.057777][T10796] save_stack+0x23/0x90 [ 1015.061941][T10796] __kasan_slab_free+0x102/0x150 [ 1015.066891][T10796] kasan_slab_free+0xe/0x10 [ 1015.071393][T10796] kfree+0x10a/0x2c0 [ 1015.075393][T10796] vgem_gem_free_object+0xbe/0xe0 [ 1015.080435][T10796] drm_gem_object_free+0x100/0x220 [ 1015.085539][T10796] drm_gem_object_put_unlocked+0x196/0x1c0 [ 1015.091353][T10796] vgem_gem_dumb_create+0x115/0x250 [ 1015.096547][T10796] drm_mode_create_dumb+0x282/0x310 [ 1015.101742][T10796] drm_mode_create_dumb_ioctl+0x26/0x30 [ 1015.107280][T10796] drm_ioctl_kernel+0x244/0x300 [ 1015.112145][T10796] drm_ioctl+0x54e/0xa60 [ 1015.116450][T10796] ksys_ioctl+0x123/0x180 [ 1015.120785][T10796] __x64_sys_ioctl+0x73/0xb0 [ 1015.125371][T10796] do_syscall_64+0xfa/0x790 [ 1015.129990][T10796] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1015.135900][T10796] [ 1015.138217][T10796] The buggy address belongs to the object at ffff8880a2549000 [ 1015.138217][T10796] which belongs to the cache kmalloc-1k of size 1024 [ 1015.153491][T10796] The buggy address is located 264 bytes inside of [ 1015.153491][T10796] 1024-byte region [ffff8880a2549000, ffff8880a2549400) [ 1015.166896][T10796] The buggy address belongs to the page: [ 1015.172678][T10796] page:ffffea0002895240 refcount:1 mapcount:0 mapping:ffff8880aa400c40 index:0x0 [ 1015.181893][T10796] flags: 0xfffe0000000200(slab) [ 1015.186750][T10796] raw: 00fffe0000000200 ffffea000289c088 ffffea000260cb88 ffff8880aa400c40 [ 1015.195330][T10796] raw: 0000000000000000 ffff8880a2549000 0000000100000002 0000000000000000 [ 1015.203905][T10796] page dumped because: kasan: bad access detected [ 1015.210973][T10796] [ 1015.213438][T10796] Memory state around the buggy address: [ 1015.219247][T10796] ffff8880a2549000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1015.227322][T10796] ffff8880a2549080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1015.235382][T10796] >ffff8880a2549100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1015.243799][T10796] ^ [ 1015.248250][T10796] ffff8880a2549180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1015.256307][T10796] ffff8880a2549200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1015.264653][T10796] ================================================================== [ 1015.273003][T10796] Disabling lock debugging due to kernel taint [ 1015.280877][T10796] Kernel panic - not syncing: panic_on_warn set ... [ 1015.287763][T10796] CPU: 0 PID: 10796 Comm: syz-executor.0 Tainted: G B 5.5.0-syzkaller #0 [ 1015.297465][T10796] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1015.309721][T10796] Call Trace: [ 1015.313254][T10796] dump_stack+0x197/0x210 [ 1015.318130][T10796] panic+0x2e3/0x75c [ 1015.322021][T10796] ? add_taint.cold+0x16/0x16 [ 1015.326705][T10796] ? vgem_gem_dumb_create+0x238/0x250 [ 1015.332398][T10796] ? preempt_schedule+0x4b/0x60 [ 1015.337273][T10796] ? ___preempt_schedule+0x16/0x18 [ 1015.342504][T10796] ? trace_hardirqs_on+0x5e/0x240 [ 1015.347740][T10796] ? vgem_gem_dumb_create+0x238/0x250 [ 1015.353433][T10796] end_report+0x47/0x4f [ 1015.357750][T10796] ? vgem_gem_dumb_create+0x238/0x250 [ 1015.363285][T10796] __kasan_report.cold+0xe/0x32 [ 1015.368289][T10796] ? vgem_gem_dumb_create+0x238/0x250 [ 1015.373843][T10796] kasan_report+0x12/0x20 [ 1015.378182][T10796] __asan_report_load8_noabort+0x14/0x20 [ 1015.383988][T10796] vgem_gem_dumb_create+0x238/0x250 [ 1015.389191][T10796] drm_mode_create_dumb+0x282/0x310 [ 1015.394482][T10796] drm_mode_create_dumb_ioctl+0x26/0x30 [ 1015.400021][T10796] drm_ioctl_kernel+0x244/0x300 [ 1015.404884][T10796] ? drm_mode_create_dumb+0x310/0x310 [ 1015.410386][T10796] ? drm_setversion+0x8c0/0x8c0 [ 1015.415539][T10796] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 1015.421772][T10796] ? _copy_from_user+0x12c/0x1a0 [ 1015.426707][T10796] drm_ioctl+0x54e/0xa60 [ 1015.430977][T10796] ? drm_mode_create_dumb+0x310/0x310 [ 1015.436374][T10796] ? drm_ioctl_kernel+0x300/0x300 [ 1015.441433][T10796] ? ksys_dup3+0x3e0/0x3e0 [ 1015.445846][T10796] ? ns_to_kernel_old_timeval+0x100/0x100 [ 1015.451571][T10796] ? tomoyo_file_ioctl+0x23/0x30 [ 1015.456713][T10796] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 1015.462959][T10796] ? security_file_ioctl+0x8d/0xc0 [ 1015.468179][T10796] ? drm_ioctl_kernel+0x300/0x300 [ 1015.473206][T10796] ksys_ioctl+0x123/0x180 [ 1015.477657][T10796] __x64_sys_ioctl+0x73/0xb0 [ 1015.482255][T10796] do_syscall_64+0xfa/0x790 [ 1015.486848][T10796] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1015.492826][T10796] RIP: 0033:0x45b399 [ 1015.496714][T10796] Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 1015.516790][T10796] RSP: 002b:00007fead1228c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 1015.525349][T10796] RAX: ffffffffffffffda RBX: 00007fead12296d4 RCX: 000000000045b399 [ 1015.533321][T10796] RDX: 0000000020000280 RSI: 00000000c02064b2 RDI: 0000000000000003 [ 1015.541443][T10796] RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 [ 1015.549408][T10796] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 1015.557544][T10796] R13: 0000000000000285 R14: 00000000004d1598 R15: 000000000075bf2c [ 1015.567373][T10796] Kernel Offset: disabled [ 1015.571921][T10796] Rebooting in 86400 seconds..