Warning: Permanently added '10.128.0.211' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 110.262760] audit: type=1400 audit(1595294448.898:8): avc: denied { execmem } for pid=6461 comm="syz-executor036" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 110.272844] netlink: 24 bytes leftover after parsing attributes in process `syz-executor036'. [ 110.317755] netlink: 24 bytes leftover after parsing attributes in process `syz-executor036'. [ 110.341297] netlink: 24 bytes leftover after parsing attributes in process `syz-executor036'. [ 110.367193] netlink: 24 bytes leftover after parsing attributes in process `syz-executor036'. [ 110.384700] netlink: 24 bytes leftover after parsing attributes in process `syz-executor036'. [ 110.404780] netlink: 24 bytes leftover after parsing attributes in process `syz-executor036'. [ 110.558197] netlink: 4 bytes leftover after parsing attributes in process `syz-executor036'. [ 110.606182] netlink: 4 bytes leftover after parsing attributes in process `syz-executor036'. [ 110.651416] netlink: 4 bytes leftover after parsing attributes in process `syz-executor036'. [ 110.693408] netlink: 4 bytes leftover after parsing attributes in process `syz-executor036'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 112.279936] ================================================================== [ 112.287463] BUG: KASAN: use-after-free in vlan_dev_get_iflink+0x5f/0x70 [ 112.294221] Read of size 4 at addr ffff88809dd02248 by task syz-executor036/7145 [ 112.301751] [ 112.303384] CPU: 0 PID: 7145 Comm: syz-executor036 Not tainted 4.19.133-syzkaller #0 [ 112.311281] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 112.320644] Call Trace: [ 112.323256] dump_stack+0x1fc/0x2fe [ 112.326898] print_address_description.cold+0x54/0x219 [ 112.332191] kasan_report_error.cold+0x8a/0x1c7 [ 112.336879] ? vlan_dev_get_iflink+0x5f/0x70 [ 112.341386] __asan_report_load4_noabort+0x88/0x90 [ 112.346328] ? vlan_dev_get_iflink+0x5f/0x70 [ 112.350742] vlan_dev_get_iflink+0x5f/0x70 [ 112.354977] ? vlan_dev_poll_controller+0x10/0x10 [ 112.359821] dev_get_iflink+0x73/0xe0 [ 112.363631] rfc2863_policy+0x1af/0x200 [ 112.367612] linkwatch_do_dev+0x1d/0x110 [ 112.371677] linkwatch_forget_dev+0x16a/0x200 [ 112.376179] netdev_run_todo+0x258/0xab0 [ 112.380253] ? default_device_exit_batch+0x3c0/0x3c0 [ 112.385371] ? rtnl_getlink+0x620/0x620 [ 112.389358] rtnetlink_rcv_msg+0x460/0xb80 [ 112.393605] ? rtnl_calcit.isra.0+0x430/0x430 [ 112.398194] ? __netlink_lookup+0x3fc/0x730 [ 112.402525] ? lock_downgrade+0x720/0x720 [ 112.406678] ? check_preemption_disabled+0x41/0x280 [ 112.412494] netlink_rcv_skb+0x160/0x440 [ 112.416573] ? rtnl_calcit.isra.0+0x430/0x430 [ 112.421082] ? netlink_ack+0xae0/0xae0 [ 112.425776] netlink_unicast+0x4d5/0x690 executing program executing program [ 112.429844] ? netlink_sendskb+0x110/0x110 [ 112.434097] netlink_sendmsg+0x6bb/0xc40 [ 112.438169] ? nlmsg_notify+0x1a0/0x1a0 [ 112.442148] ? kernel_recvmsg+0x220/0x220 [ 112.446317] ? nlmsg_notify+0x1a0/0x1a0 [ 112.450301] sock_sendmsg+0xc3/0x120 [ 112.454026] ___sys_sendmsg+0x7bb/0x8e0 [ 112.458014] ? mark_held_locks+0xf0/0xf0 [ 112.462085] ? copy_msghdr_from_user+0x440/0x440 [ 112.466854] ? __fget+0x32f/0x510 [ 112.470322] ? lock_downgrade+0x720/0x720 [ 112.474474] ? check_preemption_disabled+0x41/0x280 executing program [ 112.479497] ? check_preemption_disabled+0x41/0x280 [ 112.484529] ? __fget+0x356/0x510 [ 112.487992] ? do_dup2+0x450/0x450 [ 112.491539] ? _copy_to_user+0xb8/0x100 [ 112.495524] ? __fdget+0x1d0/0x230 [ 112.499248] __x64_sys_sendmsg+0x132/0x220 [ 112.503487] ? __sys_sendmsg+0x1b0/0x1b0 [ 112.507551] ? __se_sys_futex+0x298/0x3b0 [ 112.511711] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 112.516561] ? trace_hardirqs_off_caller+0x69/0x210 [ 112.521580] ? do_syscall_64+0x21/0x620 [ 112.525563] do_syscall_64+0xf9/0x620 [ 112.529370] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 112.534563] RIP: 0033:0x446cf9 [ 112.537764] 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 [ 112.556674] RSP: 002b:00007f5301db3d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 112.564398] RAX: ffffffffffffffda RBX: 00000000006dbc78 RCX: 0000000000446cf9 [ 112.571675] RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000006 [ 112.578948] RBP: 00000000006dbc70 R08: 0000000000000000 R09: 0000000000000000 [ 112.586222] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc7c [ 112.593498] R13: 0000000040000000 R14: 0000001000000000 R15: 0705001000000048 [ 112.600782] [ 112.602410] Allocated by task 7108: [ 112.606044] __kmalloc_node+0x4c/0x70 [ 112.609850] kvmalloc_node+0x61/0xf0 [ 112.613567] alloc_netdev_mqs+0x97/0xd50 [ 112.617630] rtnl_create_link+0x1d4/0xa40 [ 112.622306] rtnl_newlink+0xf3c/0x15a0 [ 112.626198] rtnetlink_rcv_msg+0x453/0xb80 [ 112.630436] netlink_rcv_skb+0x160/0x440 [ 112.634498] netlink_unicast+0x4d5/0x690 [ 112.638606] netlink_sendmsg+0x6bb/0xc40 [ 112.642678] sock_sendmsg+0xc3/0x120 [ 112.646393] ___sys_sendmsg+0x7bb/0x8e0 [ 112.650369] __x64_sys_sendmsg+0x132/0x220 [ 112.654602] do_syscall_64+0xf9/0x620 [ 112.658407] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 112.663584] [ 112.665206] Freed by task 7108: [ 112.668485] kfree+0xcc/0x210 [ 112.671592] kvfree+0x59/0x60 [ 112.674699] device_release+0x76/0x210 [ 112.678589] kobject_put+0x22d/0x350 [ 112.682301] netdev_run_todo+0x77f/0xab0 [ 112.686366] rtnetlink_rcv_msg+0x460/0xb80 [ 112.690603] netlink_rcv_skb+0x160/0x440 [ 112.694662] netlink_unicast+0x4d5/0x690 [ 112.698725] netlink_sendmsg+0x6bb/0xc40 [ 112.702787] sock_sendmsg+0xc3/0x120 [ 112.706590] ___sys_sendmsg+0x7bb/0x8e0 [ 112.710820] __x64_sys_sendmsg+0x132/0x220 [ 112.715056] do_syscall_64+0xf9/0x620 [ 112.718859] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 112.724036] [ 112.725664] The buggy address belongs to the object at ffff88809dd02140 [ 112.725664] which belongs to the cache kmalloc-4096 of size 4096 [ 112.738497] The buggy address is located 264 bytes inside of [ 112.738497] 4096-byte region [ffff88809dd02140, ffff88809dd03140) [ 112.751069] The buggy address belongs to the page: [ 112.756094] page:ffffea0002774080 count:1 mapcount:0 mapping:ffff88812c39cdc0 index:0x0 compound_mapcount: 0 [ 112.766161] flags: 0xfffe0000008100(slab|head) [ 112.770757] raw: 00fffe0000008100 ffffea0002780808 ffffea000278e788 ffff88812c39cdc0 [ 112.778664] raw: 0000000000000000 ffff88809dd02140 0000000100000001 0000000000000000 [ 112.786849] page dumped because: kasan: bad access detected [ 112.792560] [ 112.794285] Memory state around the buggy address: [ 112.799521] ffff88809dd02100: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 112.807319] ffff88809dd02180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 112.815639] >ffff88809dd02200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 112.823169] ^ [ 112.828909] ffff88809dd02280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 112.836623] ffff88809dd02300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 112.845836] ================================================================== [ 112.855448] Disabling lock debugging due to kernel taint executing program [ 112.883223] Kernel panic - not syncing: panic_on_warn set ... [ 112.883223] [ 112.890667] CPU: 0 PID: 7145 Comm: syz-executor036 Tainted: G B 4.19.133-syzkaller #0 [ 112.899939] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 112.909395] Call Trace: [ 112.911993] dump_stack+0x1fc/0x2fe [ 112.915769] panic+0x26a/0x50e [ 112.920273] ? __warn_printk+0xf3/0xf3 [ 112.924337] ? preempt_schedule_common+0x45/0xc0 [ 112.930421] ? ___preempt_schedule+0x16/0x18 [ 112.934833] ? trace_hardirqs_on+0x55/0x210 [ 112.939158] kasan_end_report+0x43/0x49 [ 112.943137] kasan_report_error.cold+0xa7/0x1c7 [ 112.947814] ? vlan_dev_get_iflink+0x5f/0x70 [ 112.952225] __asan_report_load4_noabort+0x88/0x90 [ 112.957167] ? vlan_dev_get_iflink+0x5f/0x70 [ 112.961582] vlan_dev_get_iflink+0x5f/0x70 [ 112.965937] ? vlan_dev_poll_controller+0x10/0x10 [ 112.970782] dev_get_iflink+0x73/0xe0 [ 112.974589] rfc2863_policy+0x1af/0x200 [ 112.978597] linkwatch_do_dev+0x1d/0x110 [ 112.982923] linkwatch_forget_dev+0x16a/0x200 [ 112.987420] netdev_run_todo+0x258/0xab0 [ 112.991489] ? default_device_exit_batch+0x3c0/0x3c0 [ 112.996628] ? rtnl_getlink+0x620/0x620 [ 113.000705] rtnetlink_rcv_msg+0x460/0xb80 [ 113.005064] ? rtnl_calcit.isra.0+0x430/0x430 [ 113.009561] ? __netlink_lookup+0x3fc/0x730 [ 113.013890] ? lock_downgrade+0x720/0x720 [ 113.018039] ? check_preemption_disabled+0x41/0x280 [ 113.023066] netlink_rcv_skb+0x160/0x440 [ 113.027125] ? rtnl_calcit.isra.0+0x430/0x430 [ 113.031622] ? netlink_ack+0xae0/0xae0 [ 113.035859] netlink_unicast+0x4d5/0x690 [ 113.039949] ? netlink_sendskb+0x110/0x110 [ 113.044200] netlink_sendmsg+0x6bb/0xc40 [ 113.048699] ? nlmsg_notify+0x1a0/0x1a0 [ 113.052703] ? kernel_recvmsg+0x220/0x220 [ 113.056855] ? nlmsg_notify+0x1a0/0x1a0 [ 113.060833] sock_sendmsg+0xc3/0x120 [ 113.064780] ___sys_sendmsg+0x7bb/0x8e0 [ 113.068760] ? mark_held_locks+0xf0/0xf0 [ 113.072826] ? copy_msghdr_from_user+0x440/0x440 [ 113.077586] ? __fget+0x32f/0x510 [ 113.081032] ? lock_downgrade+0x720/0x720 [ 113.085391] ? check_preemption_disabled+0x41/0x280 [ 113.090691] ? check_preemption_disabled+0x41/0x280 [ 113.097516] ? __fget+0x356/0x510 [ 113.101073] ? do_dup2+0x450/0x450 [ 113.104719] ? _copy_to_user+0xb8/0x100 [ 113.108700] ? __fdget+0x1d0/0x230 [ 113.112251] __x64_sys_sendmsg+0x132/0x220 [ 113.116586] ? __sys_sendmsg+0x1b0/0x1b0 [ 113.120738] ? __se_sys_futex+0x298/0x3b0 [ 113.124893] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 113.129653] ? trace_hardirqs_off_caller+0x69/0x210 [ 113.134710] ? do_syscall_64+0x21/0x620 [ 113.138715] do_syscall_64+0xf9/0x620 [ 113.142519] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 113.147709] RIP: 0033:0x446cf9 [ 113.151430] 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 [ 113.176642] RSP: 002b:00007f5301db3d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 113.185054] RAX: ffffffffffffffda RBX: 00000000006dbc78 RCX: 0000000000446cf9 [ 113.194822] RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000006 [ 113.202081] RBP: 00000000006dbc70 R08: 0000000000000000 R09: 0000000000000000 [ 113.209446] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc7c [ 113.216740] R13: 0000000040000000 R14: 0000001000000000 R15: 0705001000000048 [ 113.226237] Kernel Offset: disabled [ 113.230380] Rebooting in 86400 seconds..