[ OK ] Started Getty on tty4. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.10' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 40.880532] netlink: 24 bytes leftover after parsing attributes in process `syz-executor428'. [ 40.899057] netlink: 24 bytes leftover after parsing attributes in process `syz-executor428'. [ 40.918717] netlink: 24 bytes leftover after parsing attributes in process `syz-executor428'. [ 40.944358] netlink: 24 bytes leftover after parsing attributes in process `syz-executor428'. [ 40.962848] netlink: 24 bytes leftover after parsing attributes in process `syz-executor428'. [ 40.980170] netlink: 24 bytes leftover after parsing attributes in process `syz-executor428'. [ 41.121761] netlink: 4 bytes leftover after parsing attributes in process `syz-executor428'. [ 41.198242] netlink: 4 bytes leftover after parsing attributes in process `syz-executor428'. [ 41.264674] netlink: 4 bytes leftover after parsing attributes in process `syz-executor428'. [ 41.324801] netlink: 4 bytes leftover after parsing attributes in process `syz-executor428'. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 41.809417] ================================================================== [ 41.816963] BUG: KASAN: use-after-free in macvlan_dev_get_iflink+0x5f/0x70 [ 41.823987] Read of size 4 at addr ffff8880abe4a508 by task syz-executor428/8386 [ 41.831518] [ 41.833157] CPU: 1 PID: 8386 Comm: syz-executor428 Not tainted 4.19.211-syzkaller #0 [ 41.841123] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 41.850485] Call Trace: [ 41.853086] dump_stack+0x1fc/0x2ef [ 41.856729] print_address_description.cold+0x54/0x219 [ 41.862020] kasan_report_error.cold+0x8a/0x1b9 [ 41.866714] ? macvlan_dev_get_iflink+0x5f/0x70 [ 41.871395] __asan_report_load4_noabort+0x88/0x90 [ 41.876339] ? macvlan_dev_get_iflink+0x5f/0x70 [ 41.881023] macvlan_dev_get_iflink+0x5f/0x70 [ 41.886135] ? macvlan_dev_poll_controller+0x10/0x10 [ 41.891244] dev_get_iflink+0x73/0xe0 [ 41.895049] rfc2863_policy+0x1af/0x200 [ 41.899149] linkwatch_do_dev+0x1d/0x110 [ 41.903225] linkwatch_forget_dev+0x16a/0x200 [ 41.907723] netdev_run_todo+0x258/0xab0 [ 41.911781] ? default_device_exit_batch+0x3c0/0x3c0 [ 41.916883] ? rtnl_getlink+0x620/0x620 [ 41.920899] rtnetlink_rcv_msg+0x460/0xb80 [ 41.925130] ? rtnl_calcit.isra.0+0x430/0x430 [ 41.929617] ? __netlink_lookup+0x3fc/0x730 [ 41.933929] ? lock_downgrade+0x720/0x720 [ 41.938064] ? check_preemption_disabled+0x41/0x280 [ 41.943086] netlink_rcv_skb+0x160/0x440 [ 41.947168] ? rtnl_calcit.isra.0+0x430/0x430 [ 41.951649] ? netlink_ack+0xae0/0xae0 [ 41.955531] netlink_unicast+0x4d5/0x690 [ 41.959579] ? netlink_sendskb+0x110/0x110 [ 41.963824] ? _copy_from_iter_full+0x229/0x7c0 [ 41.968481] ? __phys_addr_symbol+0x2c/0x70 [ 41.972795] ? __check_object_size+0x17b/0x3e0 [ 41.977367] netlink_sendmsg+0x6c3/0xc50 [ 41.981415] ? aa_af_perm+0x230/0x230 [ 41.985211] ? nlmsg_notify+0x1f0/0x1f0 [ 41.989172] ? kernel_recvmsg+0x220/0x220 [ 41.993322] ? nlmsg_notify+0x1f0/0x1f0 [ 41.997283] sock_sendmsg+0xc3/0x120 [ 42.000983] ___sys_sendmsg+0x7bb/0x8e0 [ 42.004946] ? copy_msghdr_from_user+0x440/0x440 [ 42.009687] ? __fget+0x32f/0x510 [ 42.013127] ? lock_downgrade+0x720/0x720 [ 42.017269] ? check_preemption_disabled+0x41/0x280 [ 42.022280] ? check_preemption_disabled+0x41/0x280 [ 42.027286] ? __fget+0x356/0x510 [ 42.030728] ? do_dup2+0x450/0x450 [ 42.034257] ? __fd_install+0x1b4/0x610 [ 42.038495] ? __fdget+0x1d0/0x230 [ 42.042022] __x64_sys_sendmsg+0x132/0x220 [ 42.046253] ? __sys_sendmsg+0x1b0/0x1b0 [ 42.050300] ? __se_sys_futex+0x298/0x3b0 [ 42.054440] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 42.059802] ? trace_hardirqs_off_caller+0x6e/0x210 [ 42.064806] ? do_syscall_64+0x21/0x620 [ 42.068775] do_syscall_64+0xf9/0x620 [ 42.073005] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.078183] RIP: 0033:0x7f0ca2088e39 [ 42.081882] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 42.100856] RSP: 002b:00007f0ca2019308 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 42.108552] RAX: ffffffffffffffda RBX: 00007f0ca2111458 RCX: 00007f0ca2088e39 [ 42.115908] RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000008 [ 42.123161] RBP: 00007f0ca2111450 R08: 0000000000000000 R09: 0000000000000000 [ 42.130937] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0ca211145c [ 42.138191] R13: 00007f0ca20df074 R14: 00f0ffffffffffff R15: 0000000000022000 [ 42.145454] [ 42.147069] Allocated by task 8358: [ 42.150685] __kmalloc_node+0x4c/0x70 [ 42.154475] kvmalloc_node+0x61/0xf0 [ 42.158174] alloc_netdev_mqs+0x97/0xd50 [ 42.162234] rtnl_create_link+0x1d4/0xa40 [ 42.166367] rtnl_newlink+0xf45/0x15c0 [ 42.170241] rtnetlink_rcv_msg+0x453/0xb80 [ 42.174460] netlink_rcv_skb+0x160/0x440 [ 42.178519] netlink_unicast+0x4d5/0x690 [ 42.182579] netlink_sendmsg+0x6c3/0xc50 [ 42.186627] sock_sendmsg+0xc3/0x120 [ 42.190325] ___sys_sendmsg+0x7bb/0x8e0 [ 42.194294] __x64_sys_sendmsg+0x132/0x220 [ 42.198513] do_syscall_64+0xf9/0x620 [ 42.202303] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.207473] [ 42.209103] Freed by task 8358: [ 42.212376] kfree+0xcc/0x210 [ 42.215467] kvfree+0x59/0x60 [ 42.218558] device_release+0x76/0x210 [ 42.222446] kobject_put+0x28b/0x5d0 [ 42.226146] netdev_run_todo+0x77f/0xab0 [ 42.230194] rtnetlink_rcv_msg+0x460/0xb80 [ 42.234414] netlink_rcv_skb+0x160/0x440 [ 42.238458] netlink_unicast+0x4d5/0x690 [ 42.242523] netlink_sendmsg+0x6c3/0xc50 [ 42.246586] sock_sendmsg+0xc3/0x120 [ 42.250287] ___sys_sendmsg+0x7bb/0x8e0 [ 42.254246] __x64_sys_sendmsg+0x132/0x220 [ 42.258483] do_syscall_64+0xf9/0x620 [ 42.262274] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.267440] [ 42.269053] The buggy address belongs to the object at ffff8880abe4a400 [ 42.269053] which belongs to the cache kmalloc-4096 of size 4096 [ 42.281866] The buggy address is located 264 bytes inside of [ 42.281866] 4096-byte region [ffff8880abe4a400, ffff8880abe4b400) [ 42.293811] The buggy address belongs to the page: [ 42.298729] page:ffffea0002af9280 count:1 mapcount:0 mapping:ffff88813bff0dc0 index:0x0 compound_mapcount: 0 [ 42.308788] flags: 0xfff00000008100(slab|head) [ 42.313359] raw: 00fff00000008100 ffffea0002ae7a88 ffffea0002526008 ffff88813bff0dc0 [ 42.321241] raw: 0000000000000000 ffff8880abe4a400 0000000100000001 0000000000000000 [ 42.329101] page dumped because: kasan: bad access detected [ 42.334790] [ 42.336415] Memory state around the buggy address: [ 42.341332] ffff8880abe4a400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.348696] ffff8880abe4a480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.356127] >ffff8880abe4a500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.363470] ^ [ 42.367081] ffff8880abe4a580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.374428] ffff8880abe4a600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.381771] ================================================================== [ 42.389107] Disabling lock debugging due to kernel taint 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 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 executing program executing program executing program executing program executing program executing program executing program executing program [ 45.886650] nla_parse: 124 callbacks suppressed [ 45.886657] netlink: 4 bytes leftover after parsing attributes in process `syz-executor428'. [ 45.944896] netlink: 24 bytes leftover after parsing attributes in process `syz-executor428'. [ 46.023982] netlink: 4 bytes leftover after parsing attributes in process `syz-executor428'. [ 46.043074] netlink: 4 bytes leftover after parsing attributes in process `syz-executor428'. [ 46.045963] Kernel panic - not syncing: panic_on_warn set ... [ 46.045963] [ 46.059037] CPU: 1 PID: 8386 Comm: syz-executor428 Tainted: G B 4.19.211-syzkaller #0 [ 46.068304] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 46.077654] Call Trace: [ 46.080245] dump_stack+0x1fc/0x2ef [ 46.083875] panic+0x26a/0x50e [ 46.087069] ? __warn_printk+0xf3/0xf3 [ 46.090959] ? preempt_schedule_common+0x45/0xc0 [ 46.095711] ? ___preempt_schedule+0x16/0x18 [ 46.100127] ? trace_hardirqs_on+0x55/0x210 [ 46.104484] kasan_end_report+0x43/0x49 [ 46.108467] kasan_report_error.cold+0xa7/0x1b9 [ 46.113148] ? macvlan_dev_get_iflink+0x5f/0x70 [ 46.117823] __asan_report_load4_noabort+0x88/0x90 [ 46.122754] ? macvlan_dev_get_iflink+0x5f/0x70 [ 46.127428] macvlan_dev_get_iflink+0x5f/0x70 [ 46.131931] ? macvlan_dev_poll_controller+0x10/0x10 [ 46.137041] dev_get_iflink+0x73/0xe0 [ 46.140849] rfc2863_policy+0x1af/0x200 [ 46.144826] linkwatch_do_dev+0x1d/0x110 [ 46.148888] linkwatch_forget_dev+0x16a/0x200 [ 46.153382] netdev_run_todo+0x258/0xab0 [ 46.157437] ? default_device_exit_batch+0x3c0/0x3c0 [ 46.162573] ? rtnl_getlink+0x620/0x620 [ 46.166554] rtnetlink_rcv_msg+0x460/0xb80 [ 46.170791] ? rtnl_calcit.isra.0+0x430/0x430 [ 46.175285] ? __netlink_lookup+0x3fc/0x730 [ 46.179612] ? lock_downgrade+0x720/0x720 [ 46.183763] ? check_preemption_disabled+0x41/0x280 [ 46.189047] netlink_rcv_skb+0x160/0x440 [ 46.193105] ? rtnl_calcit.isra.0+0x430/0x430 [ 46.197722] ? netlink_ack+0xae0/0xae0 [ 46.201612] netlink_unicast+0x4d5/0x690 [ 46.205665] ? netlink_sendskb+0x110/0x110 [ 46.209901] ? _copy_from_iter_full+0x229/0x7c0 [ 46.214564] ? __phys_addr_symbol+0x2c/0x70 [ 46.218884] ? __check_object_size+0x17b/0x3e0 [ 46.223462] netlink_sendmsg+0x6c3/0xc50 [ 46.227522] ? aa_af_perm+0x230/0x230 [ 46.231327] ? nlmsg_notify+0x1f0/0x1f0 [ 46.235380] ? kernel_recvmsg+0x220/0x220 [ 46.239523] ? nlmsg_notify+0x1f0/0x1f0 [ 46.243496] sock_sendmsg+0xc3/0x120 [ 46.247213] ___sys_sendmsg+0x7bb/0x8e0 [ 46.251190] ? copy_msghdr_from_user+0x440/0x440 [ 46.255952] ? __fget+0x32f/0x510 [ 46.259404] ? lock_downgrade+0x720/0x720 [ 46.263553] ? check_preemption_disabled+0x41/0x280 [ 46.268572] ? check_preemption_disabled+0x41/0x280 [ 46.273591] ? __fget+0x356/0x510 [ 46.277051] ? do_dup2+0x450/0x450 [ 46.280589] ? __fd_install+0x1b4/0x610 [ 46.284564] ? __fdget+0x1d0/0x230 [ 46.288109] __x64_sys_sendmsg+0x132/0x220 [ 46.292348] ? __sys_sendmsg+0x1b0/0x1b0 [ 46.296413] ? __se_sys_futex+0x298/0x3b0 [ 46.300573] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 46.305944] ? trace_hardirqs_off_caller+0x6e/0x210 [ 46.310966] ? do_syscall_64+0x21/0x620 [ 46.314941] do_syscall_64+0xf9/0x620 [ 46.318743] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.323929] RIP: 0033:0x7f0ca2088e39 [ 46.327638] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 46.346641] RSP: 002b:00007f0ca2019308 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 46.354331] RAX: ffffffffffffffda RBX: 00007f0ca2111458 RCX: 00007f0ca2088e39 [ 46.361580] RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000008 [ 46.368837] RBP: 00007f0ca2111450 R08: 0000000000000000 R09: 0000000000000000 [ 46.376116] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0ca211145c [ 46.383374] R13: 00007f0ca20df074 R14: 00f0ffffffffffff R15: 0000000000022000 [ 46.390806] Kernel Offset: disabled [ 46.394472] Rebooting in 86400 seconds..