Warning: Permanently added '10.128.1.30' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 534.444523] audit: type=1400 audit(1596880796.048:8): avc: denied { execmem } for pid=6450 comm="syz-executor726" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 534.458119] netlink: 24 bytes leftover after parsing attributes in process `syz-executor726'. [ 534.495193] netlink: 24 bytes leftover after parsing attributes in process `syz-executor726'. [ 534.518240] netlink: 24 bytes leftover after parsing attributes in process `syz-executor726'. [ 534.542187] netlink: 24 bytes leftover after parsing attributes in process `syz-executor726'. [ 534.560382] netlink: 24 bytes leftover after parsing attributes in process `syz-executor726'. [ 534.583119] netlink: 24 bytes leftover after parsing attributes in process `syz-executor726'. executing program executing program executing program executing program executing program executing program [ 534.844463] netlink: 24 bytes leftover after parsing attributes in process `syz-executor726'. [ 534.980504] netlink: 24 bytes leftover after parsing attributes in process `syz-executor726'. [ 535.055007] netlink: 24 bytes leftover after parsing attributes in process `syz-executor726'. [ 535.145444] netlink: 24 bytes leftover after parsing attributes in process `syz-executor726'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 536.130905] ================================================================== [ 536.138531] BUG: KASAN: use-after-free in vlan_dev_get_iflink+0x5f/0x70 [ 536.145299] Read of size 4 at addr ffff88808728e808 by task syz-executor726/6974 [ 536.152933] [ 536.154565] CPU: 0 PID: 6974 Comm: syz-executor726 Not tainted 4.19.138-syzkaller #0 [ 536.162438] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 536.171799] Call Trace: [ 536.174460] dump_stack+0x1fc/0x2fe [ 536.178080] print_address_description.cold+0x54/0x219 [ 536.183345] kasan_report_error.cold+0x8a/0x1c7 [ 536.188001] ? vlan_dev_get_iflink+0x5f/0x70 [ 536.192392] __asan_report_load4_noabort+0x88/0x90 [ 536.197320] ? vlan_dev_get_iflink+0x5f/0x70 [ 536.201840] vlan_dev_get_iflink+0x5f/0x70 [ 536.206076] ? vlan_dev_poll_controller+0x10/0x10 [ 536.210977] dev_get_iflink+0x73/0xe0 [ 536.214823] rfc2863_policy+0x1af/0x200 [ 536.218786] linkwatch_do_dev+0x1d/0x110 [ 536.222837] linkwatch_forget_dev+0x16a/0x200 [ 536.227315] netdev_run_todo+0x258/0xab0 [ 536.231364] ? default_device_exit_batch+0x3c0/0x3c0 [ 536.236459] ? rtnl_getlink+0x620/0x620 [ 536.240417] rtnetlink_rcv_msg+0x460/0xb80 [ 536.244643] ? rtnl_calcit.isra.0+0x430/0x430 [ 536.249162] ? __netlink_lookup+0x3fc/0x730 [ 536.253472] ? lock_downgrade+0x720/0x720 [ 536.257645] ? check_preemption_disabled+0x41/0x280 [ 536.262664] netlink_rcv_skb+0x160/0x440 [ 536.266710] ? rtnl_calcit.isra.0+0x430/0x430 [ 536.271188] ? netlink_ack+0xae0/0xae0 [ 536.275065] netlink_unicast+0x4d5/0x690 [ 536.279112] ? netlink_sendskb+0x110/0x110 [ 536.283335] netlink_sendmsg+0x6bb/0xc40 [ 536.287379] ? nlmsg_notify+0x1a0/0x1a0 [ 536.291386] ? kernel_recvmsg+0x220/0x220 [ 536.295524] ? nlmsg_notify+0x1a0/0x1a0 [ 536.299482] sock_sendmsg+0xc3/0x120 [ 536.303179] ___sys_sendmsg+0x7bb/0x8e0 [ 536.307141] ? copy_msghdr_from_user+0x440/0x440 [ 536.311884] ? __fget+0x32f/0x510 [ 536.315335] ? lock_downgrade+0x720/0x720 [ 536.319465] ? check_preemption_disabled+0x41/0x280 [ 536.324467] ? check_preemption_disabled+0x41/0x280 [ 536.329472] ? __fget+0x356/0x510 [ 536.332909] ? do_dup2+0x450/0x450 [ 536.336435] ? __fdget+0x1d0/0x230 [ 536.339960] __x64_sys_sendmsg+0x132/0x220 [ 536.344176] ? __sys_sendmsg+0x1b0/0x1b0 [ 536.348230] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 536.352968] ? trace_hardirqs_off_caller+0x69/0x210 [ 536.357986] ? do_syscall_64+0x21/0x620 [ 536.361946] do_syscall_64+0xf9/0x620 [ 536.365792] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 536.370967] RIP: 0033:0x446d79 [ 536.374146] Code: e8 0c e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 db 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 536.393032] RSP: 002b:00007efe67e13d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 536.400724] RAX: ffffffffffffffda RBX: 00000000006dbc78 RCX: 0000000000446d79 [ 536.407982] RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000003 [ 536.415235] RBP: 00000000006dbc70 R08: 0000000000000018 R09: 0000000000000000 [ 536.422493] R10: 0000000000000001 R11: 0000000000000246 R12: 00000000006dbc7c [ 536.429744] R13: 0000000000040000 R14: 0000000000000000 R15: 0705001000000048 [ 536.437012] [ 536.438625] Allocated by task 6961: [ 536.442249] __kmalloc_node+0x4c/0x70 [ 536.446034] kvmalloc_node+0x61/0xf0 [ 536.449730] alloc_netdev_mqs+0x97/0xd50 [ 536.453773] rtnl_create_link+0x1d4/0xa40 [ 536.457901] rtnl_newlink+0xf3c/0x15b0 [ 536.461768] rtnetlink_rcv_msg+0x453/0xb80 [ 536.465984] netlink_rcv_skb+0x160/0x440 [ 536.470045] netlink_unicast+0x4d5/0x690 [ 536.474095] netlink_sendmsg+0x6bb/0xc40 [ 536.478142] sock_sendmsg+0xc3/0x120 [ 536.481837] ___sys_sendmsg+0x7bb/0x8e0 [ 536.485790] __x64_sys_sendmsg+0x132/0x220 [ 536.490005] do_syscall_64+0xf9/0x620 [ 536.493790] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 536.498956] [ 536.500562] Freed by task 6996: [ 536.503825] kfree+0xcc/0x210 [ 536.506913] kvfree+0x59/0x60 [ 536.510076] device_release+0x76/0x210 [ 536.513948] kobject_put+0x22d/0x350 [ 536.517646] netdev_run_todo+0x77f/0xab0 [ 536.521689] rtnetlink_rcv_msg+0x460/0xb80 [ 536.525906] netlink_rcv_skb+0x160/0x440 [ 536.529965] netlink_unicast+0x4d5/0x690 [ 536.534007] netlink_sendmsg+0x6bb/0xc40 [ 536.538092] sock_sendmsg+0xc3/0x120 [ 536.541799] ___sys_sendmsg+0x7bb/0x8e0 [ 536.545755] __x64_sys_sendmsg+0x132/0x220 [ 536.549995] do_syscall_64+0xf9/0x620 [ 536.553780] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 536.558952] [ 536.560567] The buggy address belongs to the object at ffff88808728e700 [ 536.560567] which belongs to the cache kmalloc-4096 of size 4096 [ 536.573385] The buggy address is located 264 bytes inside of [ 536.573385] 4096-byte region [ffff88808728e700, ffff88808728f700) [ 536.585325] The buggy address belongs to the page: [ 536.590235] page:ffffea00021ca380 count:1 mapcount:0 mapping:ffff88812c39cdc0 index:0x0 compound_mapcount: 0 [ 536.600182] flags: 0xfffe0000008100(slab|head) [ 536.604762] raw: 00fffe0000008100 ffffea00021ca308 ffffea0002231d08 ffff88812c39cdc0 [ 536.612631] raw: 0000000000000000 ffff88808728e700 0000000100000001 0000000000000000 [ 536.620504] page dumped because: kasan: bad access detected [ 536.626203] [ 536.627811] Memory state around the buggy address: [ 536.632723] ffff88808728e700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 536.640064] ffff88808728e780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 536.647404] >ffff88808728e800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 536.654740] ^ [ 536.658346] ffff88808728e880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 536.665685] ffff88808728e900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 536.673032] ================================================================== executing program executing program [ 536.680470] Disabling lock debugging due to kernel taint executing program executing program [ 538.942763] Kernel panic - not syncing: panic_on_warn set ... [ 538.942763] [ 538.950179] CPU: 1 PID: 6974 Comm: syz-executor726 Tainted: G B 4.19.138-syzkaller #0 [ 538.959440] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 538.968795] Call Trace: [ 538.971395] dump_stack+0x1fc/0x2fe [ 538.975034] panic+0x26a/0x50e [ 538.978235] ? __warn_printk+0xf3/0xf3 [ 538.982132] ? preempt_schedule_common+0x45/0xc0 [ 538.986983] ? ___preempt_schedule+0x16/0x18 [ 538.991402] ? trace_hardirqs_on+0x55/0x210 [ 538.995734] kasan_end_report+0x43/0x49 [ 538.999993] kasan_report_error.cold+0xa7/0x1c7 [ 539.004671] ? vlan_dev_get_iflink+0x5f/0x70 [ 539.009088] __asan_report_load4_noabort+0x88/0x90 [ 539.014026] ? vlan_dev_get_iflink+0x5f/0x70 [ 539.018446] vlan_dev_get_iflink+0x5f/0x70 [ 539.022688] ? vlan_dev_poll_controller+0x10/0x10 [ 539.027540] dev_get_iflink+0x73/0xe0 [ 539.031352] rfc2863_policy+0x1af/0x200 [ 539.035338] linkwatch_do_dev+0x1d/0x110 [ 539.039410] linkwatch_forget_dev+0x16a/0x200 [ 539.043936] netdev_run_todo+0x258/0xab0 [ 539.048017] ? default_device_exit_batch+0x3c0/0x3c0 [ 539.053130] ? rtnl_getlink+0x620/0x620 [ 539.057113] rtnetlink_rcv_msg+0x460/0xb80 [ 539.061357] ? rtnl_calcit.isra.0+0x430/0x430 [ 539.065858] ? __netlink_lookup+0x3fc/0x730 [ 539.070190] ? lock_downgrade+0x720/0x720 [ 539.074342] ? check_preemption_disabled+0x41/0x280 [ 539.080331] netlink_rcv_skb+0x160/0x440 [ 539.084402] ? rtnl_calcit.isra.0+0x430/0x430 [ 539.088908] ? netlink_ack+0xae0/0xae0 [ 539.092812] netlink_unicast+0x4d5/0x690 [ 539.096885] ? netlink_sendskb+0x110/0x110 [ 539.101221] netlink_sendmsg+0x6bb/0xc40 [ 539.105299] ? nlmsg_notify+0x1a0/0x1a0 [ 539.109286] ? kernel_recvmsg+0x220/0x220 [ 539.113451] ? nlmsg_notify+0x1a0/0x1a0 [ 539.117451] sock_sendmsg+0xc3/0x120 [ 539.121181] ___sys_sendmsg+0x7bb/0x8e0 [ 539.125173] ? copy_msghdr_from_user+0x440/0x440 [ 539.129938] ? __fget+0x32f/0x510 [ 539.133401] ? lock_downgrade+0x720/0x720 [ 539.137570] ? check_preemption_disabled+0x41/0x280 [ 539.142614] ? check_preemption_disabled+0x41/0x280 [ 539.147753] ? __fget+0x356/0x510 [ 539.151215] ? do_dup2+0x450/0x450 [ 539.154772] ? __fdget+0x1d0/0x230 [ 539.158327] __x64_sys_sendmsg+0x132/0x220 [ 539.162571] ? __sys_sendmsg+0x1b0/0x1b0 [ 539.166648] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 539.171416] ? trace_hardirqs_off_caller+0x69/0x210 [ 539.176456] ? do_syscall_64+0x21/0x620 [ 539.180448] do_syscall_64+0xf9/0x620 [ 539.184262] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 539.189457] RIP: 0033:0x446d79 [ 539.192652] Code: e8 0c e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 db 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 539.213118] RSP: 002b:00007efe67e13d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 539.220834] RAX: ffffffffffffffda RBX: 00000000006dbc78 RCX: 0000000000446d79 [ 539.228109] RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000003 [ 539.235384] RBP: 00000000006dbc70 R08: 0000000000000018 R09: 0000000000000000 [ 539.242659] R10: 0000000000000001 R11: 0000000000000246 R12: 00000000006dbc7c [ 539.249934] R13: 0000000000040000 R14: 0000000000000000 R15: 0705001000000048 [ 539.258597] Kernel Offset: disabled [ 539.262222] Rebooting in 86400 seconds..