[ OK ] Reached target Login Prompts. [ 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. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.228' (ECDSA) to the list of known hosts. 2021/09/13 08:47:57 parsed 1 programs 2021/09/13 08:47:57 executed programs: 0 syzkaller login: [ 1583.785558] IPVS: ftp: loaded support on port[0] = 21 [ 1583.889316] chnl_net:caif_netlink_parms(): no params data found [ 1583.997657] bridge0: port 1(bridge_slave_0) entered blocking state [ 1584.004654] bridge0: port 1(bridge_slave_0) entered disabled state [ 1584.012582] device bridge_slave_0 entered promiscuous mode [ 1584.020827] bridge0: port 2(bridge_slave_1) entered blocking state [ 1584.027208] bridge0: port 2(bridge_slave_1) entered disabled state [ 1584.035099] device bridge_slave_1 entered promiscuous mode [ 1584.053627] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 1584.062896] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 1584.081418] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 1584.088855] team0: Port device team_slave_0 added [ 1584.094446] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 1584.102109] team0: Port device team_slave_1 added [ 1584.117619] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 1584.124078] 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. [ 1584.149672] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 1584.161282] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 1584.167686] 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. [ 1584.193051] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 1584.203902] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 1584.211726] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 1584.231023] device hsr_slave_0 entered promiscuous mode [ 1584.236881] device hsr_slave_1 entered promiscuous mode [ 1584.243305] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 1584.250602] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 1584.316266] bridge0: port 2(bridge_slave_1) entered blocking state [ 1584.322724] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1584.329747] bridge0: port 1(bridge_slave_0) entered blocking state [ 1584.336112] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1584.367983] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 1584.375870] 8021q: adding VLAN 0 to HW filter on device bond0 [ 1584.385882] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 1584.395143] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 1584.403719] bridge0: port 1(bridge_slave_0) entered disabled state [ 1584.411001] bridge0: port 2(bridge_slave_1) entered disabled state [ 1584.417877] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 1584.429479] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 1584.435566] 8021q: adding VLAN 0 to HW filter on device team0 [ 1584.445408] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 1584.453479] bridge0: port 1(bridge_slave_0) entered blocking state [ 1584.459877] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1584.479508] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 1584.487345] bridge0: port 2(bridge_slave_1) entered blocking state [ 1584.493762] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1584.501832] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 1584.510060] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 1584.517594] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 1584.526239] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 1584.535603] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 1584.544850] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 1584.551797] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 1584.565817] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 1584.574439] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 1584.581394] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 1584.591998] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 1584.603698] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 1584.613901] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 1584.647239] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 1584.654868] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 1584.663114] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 1584.673355] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 1584.681259] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 1584.688648] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 1584.697048] device veth0_vlan entered promiscuous mode [ 1584.705607] device veth1_vlan entered promiscuous mode [ 1584.712436] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 1584.720937] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 1584.732940] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 1584.742276] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 1584.750592] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 1584.757966] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 1584.767712] device veth0_macvtap entered promiscuous mode [ 1584.774041] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 1584.783106] device veth1_macvtap entered promiscuous mode [ 1584.792223] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 1584.801551] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 1584.811998] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 1584.819157] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 1584.827309] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 1584.838393] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 1584.845256] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 1584.963285] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 1584.970161] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 1584.977303] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 1584.986088] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 1585.006881] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 1585.013445] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 1585.021074] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 1585.027844] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 1585.819500] Bluetooth: hci0: command 0x0409 tx timeout [ 1586.657222] ================================================================== [ 1586.664954] BUG: KASAN: use-after-free in vgem_gem_dumb_create+0x22c/0x240 [ 1586.672051] Read of size 8 at addr ffff88809e788180 by task syz-executor.0/8816 [ 1586.679561] [ 1586.681214] CPU: 1 PID: 8816 Comm: syz-executor.0 Not tainted 4.19.206-syzkaller #0 [ 1586.689098] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1586.698444] Call Trace: [ 1586.701033] dump_stack+0x1fc/0x2ef [ 1586.704661] print_address_description.cold+0x54/0x219 [ 1586.710033] kasan_report_error.cold+0x8a/0x1b9 [ 1586.714731] ? vgem_gem_dumb_create+0x22c/0x240 [ 1586.719389] __asan_report_load8_noabort+0x88/0x90 [ 1586.724307] ? drm_gem_object_put_unlocked+0x20/0x180 [ 1586.729482] ? vgem_gem_dumb_create+0x22c/0x240 [ 1586.734151] vgem_gem_dumb_create+0x22c/0x240 [ 1586.738640] drm_mode_create_dumb+0x27c/0x300 [ 1586.743121] drm_ioctl_kernel+0x208/0x2a0 [ 1586.747258] ? drm_mode_create_dumb+0x300/0x300 [ 1586.751916] ? drm_ioctl_permit+0x210/0x210 [ 1586.756310] ? __might_fault+0x192/0x1d0 [ 1586.760366] drm_ioctl+0x5a0/0x9e0 [ 1586.763890] ? drm_mode_create_dumb+0x300/0x300 [ 1586.768661] ? drm_getstats+0x20/0x20 [ 1586.772450] ? debug_check_no_obj_freed+0x201/0x490 [ 1586.777459] ? futex_exit_release+0x220/0x220 [ 1586.782125] ? lock_acquire+0x170/0x3c0 [ 1586.786087] ? debug_check_no_obj_freed+0xb5/0x490 [ 1586.791015] ? drm_getstats+0x20/0x20 [ 1586.794801] do_vfs_ioctl+0xcdb/0x12e0 [ 1586.798682] ? lock_downgrade+0x720/0x720 [ 1586.802906] ? check_preemption_disabled+0x41/0x280 [ 1586.807904] ? ioctl_preallocate+0x200/0x200 [ 1586.812313] ? __fget+0x356/0x510 [ 1586.815757] ? do_dup2+0x450/0x450 [ 1586.819279] ? __se_sys_futex+0x298/0x3b0 [ 1586.823410] ksys_ioctl+0x9b/0xc0 [ 1586.826862] __x64_sys_ioctl+0x6f/0xb0 [ 1586.830743] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 1586.835305] do_syscall_64+0xf9/0x620 [ 1586.839102] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1586.844284] RIP: 0033:0x4665f9 [ 1586.847469] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 1586.866963] RSP: 002b:00007fdd9e5a7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 1586.874653] RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 [ 1586.881908] RDX: 0000000020000080 RSI: 00000000c02064b2 RDI: 0000000000000003 [ 1586.889169] RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 [ 1586.896430] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 [ 1586.903696] R13: 00007ffd035ed68f R14: 00007fdd9e5a7300 R15: 0000000000022000 [ 1586.911068] [ 1586.912684] Allocated by task 8816: [ 1586.916296] kmem_cache_alloc_trace+0x12f/0x380 [ 1586.921088] __vgem_gem_create+0x44/0xf0 [ 1586.925170] vgem_gem_dumb_create+0xcf/0x240 [ 1586.929560] drm_mode_create_dumb+0x27c/0x300 [ 1586.934077] drm_ioctl_kernel+0x208/0x2a0 [ 1586.938301] drm_ioctl+0x5a0/0x9e0 [ 1586.941852] do_vfs_ioctl+0xcdb/0x12e0 [ 1586.945851] ksys_ioctl+0x9b/0xc0 [ 1586.949302] __x64_sys_ioctl+0x6f/0xb0 [ 1586.953189] do_syscall_64+0xf9/0x620 [ 1586.956988] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1586.962239] [ 1586.963849] Freed by task 8816: [ 1586.967216] kfree+0xcc/0x210 [ 1586.970308] drm_gem_object_free+0x91/0x1c0 [ 1586.974740] drm_gem_object_put_unlocked+0xd1/0x180 [ 1586.979833] vgem_gem_dumb_create+0x10c/0x240 [ 1586.984313] drm_mode_create_dumb+0x27c/0x300 [ 1586.988788] drm_ioctl_kernel+0x208/0x2a0 [ 1586.992915] drm_ioctl+0x5a0/0x9e0 [ 1586.996439] do_vfs_ioctl+0xcdb/0x12e0 [ 1587.000308] ksys_ioctl+0x9b/0xc0 [ 1587.003741] __x64_sys_ioctl+0x6f/0xb0 [ 1587.007609] do_syscall_64+0xf9/0x620 [ 1587.011391] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1587.016565] [ 1587.018196] The buggy address belongs to the object at ffff88809e788080 [ 1587.018196] which belongs to the cache kmalloc-512 of size 512 [ 1587.030864] The buggy address is located 256 bytes inside of [ 1587.030864] 512-byte region [ffff88809e788080, ffff88809e788280) [ 1587.042733] The buggy address belongs to the page: [ 1587.047712] page:ffffea000279e200 count:1 mapcount:0 mapping:ffff88813bff0940 index:0xffff88809e788300 [ 1587.057140] flags: 0xfff00000000100(slab) [ 1587.061274] raw: 00fff00000000100 ffffea00027a7fc8 ffffea000279e2c8 ffff88813bff0940 [ 1587.069170] raw: ffff88809e788300 ffff88809e788080 0000000100000004 0000000000000000 [ 1587.077044] page dumped because: kasan: bad access detected [ 1587.082761] [ 1587.084366] Memory state around the buggy address: [ 1587.089309] ffff88809e788080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1587.097512] ffff88809e788100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1587.104846] >ffff88809e788180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1587.112181] ^ [ 1587.115528] ffff88809e788200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1587.123016] ffff88809e788280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 1587.130392] ================================================================== [ 1587.137727] Disabling lock debugging due to kernel taint [ 1587.148304] Kernel panic - not syncing: panic_on_warn set ... [ 1587.148304] [ 1587.155696] CPU: 1 PID: 8816 Comm: syz-executor.0 Tainted: G B 4.19.206-syzkaller #0 [ 1587.165004] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1587.174354] Call Trace: [ 1587.176938] dump_stack+0x1fc/0x2ef [ 1587.180557] panic+0x26a/0x50e [ 1587.183732] ? __warn_printk+0xf3/0xf3 [ 1587.187600] ? preempt_schedule_common+0x45/0xc0 [ 1587.192338] ? ___preempt_schedule+0x16/0x18 [ 1587.196730] ? trace_hardirqs_on+0x55/0x210 [ 1587.201034] kasan_end_report+0x43/0x49 [ 1587.204993] kasan_report_error.cold+0xa7/0x1b9 [ 1587.209649] ? vgem_gem_dumb_create+0x22c/0x240 [ 1587.214387] __asan_report_load8_noabort+0x88/0x90 [ 1587.219299] ? drm_gem_object_put_unlocked+0x20/0x180 [ 1587.224470] ? vgem_gem_dumb_create+0x22c/0x240 [ 1587.229119] vgem_gem_dumb_create+0x22c/0x240 [ 1587.233595] drm_mode_create_dumb+0x27c/0x300 [ 1587.238088] drm_ioctl_kernel+0x208/0x2a0 [ 1587.242218] ? drm_mode_create_dumb+0x300/0x300 [ 1587.246885] ? drm_ioctl_permit+0x210/0x210 [ 1587.251187] ? __might_fault+0x192/0x1d0 [ 1587.255226] drm_ioctl+0x5a0/0x9e0 [ 1587.258757] ? drm_mode_create_dumb+0x300/0x300 [ 1587.263403] ? drm_getstats+0x20/0x20 [ 1587.267187] ? debug_check_no_obj_freed+0x201/0x490 [ 1587.272272] ? futex_exit_release+0x220/0x220 [ 1587.276749] ? lock_acquire+0x170/0x3c0 [ 1587.280704] ? debug_check_no_obj_freed+0xb5/0x490 [ 1587.285628] ? drm_getstats+0x20/0x20 [ 1587.289677] do_vfs_ioctl+0xcdb/0x12e0 [ 1587.293549] ? lock_downgrade+0x720/0x720 [ 1587.297684] ? check_preemption_disabled+0x41/0x280 [ 1587.302682] ? ioctl_preallocate+0x200/0x200 [ 1587.307071] ? __fget+0x356/0x510 [ 1587.310505] ? do_dup2+0x450/0x450 [ 1587.314030] ? __se_sys_futex+0x298/0x3b0 [ 1587.318159] ksys_ioctl+0x9b/0xc0 [ 1587.321593] __x64_sys_ioctl+0x6f/0xb0 [ 1587.325463] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 1587.330482] do_syscall_64+0xf9/0x620 [ 1587.334266] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1587.339441] RIP: 0033:0x4665f9 [ 1587.342613] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 [ 1587.361499] RSP: 002b:00007fdd9e5a7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 1587.369187] RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 [ 1587.376455] RDX: 0000000020000080 RSI: 00000000c02064b2 RDI: 0000000000000003 [ 1587.383720] RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 [ 1587.390969] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 [ 1587.398235] R13: 00007ffd035ed68f R14: 00007fdd9e5a7300 R15: 0000000000022000 [ 1587.405778] Kernel Offset: disabled [ 1587.409394] Rebooting in 86400 seconds..