[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[ 41.865712] audit: type=1800 audit(1583515804.479:32): pid=7748 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2450 res=0 [?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 42.306175] audit: type=1800 audit(1583515804.919:33): pid=7748 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2465 res=0 [ 42.332655] audit: type=1800 audit(1583515804.919:34): pid=7748 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2456 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 46.192443] audit: type=1400 audit(1583515808.809:35): avc: denied { map } for pid=7920 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added '10.128.10.36' (ECDSA) to the list of known hosts. [ 53.033238] audit: type=1400 audit(1583515815.649:36): avc: denied { map } for pid=7932 comm="syz-executor653" path="/root/syz-executor653535301" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 53.068743] IPVS: ftp: loaded support on port[0] = 21 [ 53.071202] IPVS: ftp: loaded support on port[0] = 21 [ 53.079200] IPVS: ftp: loaded support on port[0] = 21 [ 53.084838] IPVS: ftp: loaded support on port[0] = 21 [ 53.087140] IPVS: ftp: loaded support on port[0] = 21 [ 53.094263] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 53.273756] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. [ 53.286934] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. [ 53.300289] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. [ 53.310292] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. executing program executing program [ 53.338379] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. [ 53.347146] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 53.383876] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. [ 53.392860] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. [ 53.414023] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. [ 53.423248] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. 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 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 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 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 58.290430] nla_parse: 231 callbacks suppressed [ 58.290479] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. [ 58.311177] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. [ 58.323030] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. executing program executing program executing program executing program executing program [ 58.335892] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. [ 58.348575] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. executing program [ 58.422628] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. [ 58.439293] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. [ 58.456306] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. executing program executing program executing program [ 58.467951] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. [ 58.483862] netlink: 4 bytes leftover after parsing attributes in process `syz-executor653'. 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 executing program [ 59.821992] ================================================================== [ 59.829482] BUG: KASAN: use-after-free in macvlan_dev_get_iflink+0x5f/0x70 [ 59.836476] Read of size 4 at addr ffff8880a42e6d48 by task syz-executor653/8833 [ 59.843988] [ 59.845611] CPU: 0 PID: 8833 Comm: syz-executor653 Not tainted 4.19.108-syzkaller #0 [ 59.853468] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.862805] Call Trace: [ 59.865379] dump_stack+0x188/0x20d [ 59.869003] ? macvlan_dev_get_iflink+0x5f/0x70 [ 59.873681] print_address_description.cold+0x7c/0x212 [ 59.878954] ? macvlan_dev_get_iflink+0x5f/0x70 [ 59.883616] kasan_report.cold+0x88/0x2b9 [ 59.887749] macvlan_dev_get_iflink+0x5f/0x70 [ 59.892265] ? macvlan_dev_poll_controller+0x10/0x10 [ 59.897365] dev_get_iflink+0x73/0xe0 [ 59.901153] rfc2863_policy+0x1ca/0x230 [ 59.905122] linkwatch_do_dev+0x17/0x110 [ 59.909176] linkwatch_forget_dev+0x16a/0x200 [ 59.913665] netdev_run_todo+0x242/0x740 [ 59.917721] ? rtnetlink_rcv_msg+0x3c3/0xaf0 [ 59.922113] ? register_netdev+0x50/0x50 [ 59.926174] ? rtnl_link_unregister+0x230/0x230 [ 59.930839] rtnetlink_rcv_msg+0x460/0xaf0 [ 59.935075] ? rtnetlink_put_metrics+0x520/0x520 [ 59.939950] ? find_held_lock+0x2d/0x110 [ 59.943999] netlink_rcv_skb+0x160/0x410 [ 59.948047] ? rtnetlink_put_metrics+0x520/0x520 [ 59.952796] ? netlink_ack+0xa60/0xa60 [ 59.956687] netlink_unicast+0x4d7/0x6a0 [ 59.960733] ? netlink_attachskb+0x710/0x710 [ 59.965127] netlink_sendmsg+0x80b/0xcd0 [ 59.969182] ? netlink_unicast+0x6a0/0x6a0 [ 59.973402] ? move_addr_to_kernel.part.0+0x110/0x110 [ 59.978589] ? netlink_unicast+0x6a0/0x6a0 [ 59.982811] sock_sendmsg+0xcf/0x120 [ 59.986515] ___sys_sendmsg+0x803/0x920 [ 59.990489] ? copy_msghdr_from_user+0x410/0x410 [ 59.995231] ? __fget+0x319/0x510 [ 59.998679] ? lock_downgrade+0x740/0x740 [ 60.002825] ? check_preemption_disabled+0x41/0x280 [ 60.007874] ? __fget+0x340/0x510 [ 60.011313] ? iterate_fd+0x350/0x350 [ 60.015098] ? __might_fault+0x192/0x1d0 [ 60.019142] ? _copy_to_user+0xb8/0x100 [ 60.023113] ? __fget_light+0x1d1/0x230 [ 60.027083] __sys_sendmsg+0xec/0x1b0 [ 60.030872] ? __ia32_sys_shutdown+0x70/0x70 [ 60.035283] ? __x64_sys_futex+0x386/0x4f0 [ 60.039520] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 60.044267] ? trace_hardirqs_off_caller+0x55/0x210 [ 60.049308] ? do_syscall_64+0x21/0x620 [ 60.053305] do_syscall_64+0xf9/0x620 [ 60.057091] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 60.062262] RIP: 0033:0x446f79 [ 60.065437] Code: e8 8c e7 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 fb 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 60.084344] RSP: 002b:00007fcdf28d9d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 60.092033] RAX: ffffffffffffffda RBX: 00000000006dbc88 RCX: 0000000000446f79 [ 60.099301] RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000006 [ 60.106555] RBP: 00000000006dbc80 R08: 0000000000000000 R09: 0000000000000000 [ 60.113806] R10: 000000000000000a R11: 0000000000000246 R12: 00000000006dbc8c [ 60.121055] R13: 0000000000000000 R14: 0000000000000000 R15: 0705001000000048 [ 60.128321] [ 60.129939] Allocated by task 8833: [ 60.133582] kasan_kmalloc+0xbf/0xe0 [ 60.137278] __kmalloc_node+0x4c/0x70 [ 60.141058] kvmalloc_node+0x61/0xf0 [ 60.144753] alloc_netdev_mqs+0x97/0xd50 [ 60.148798] rtnl_create_link+0x1d4/0xa30 [ 60.152923] rtnl_newlink+0xe1a/0x1440 [ 60.156791] rtnetlink_rcv_msg+0x453/0xaf0 [ 60.161010] netlink_rcv_skb+0x160/0x410 [ 60.165061] netlink_unicast+0x4d7/0x6a0 [ 60.169104] netlink_sendmsg+0x80b/0xcd0 [ 60.173149] sock_sendmsg+0xcf/0x120 [ 60.176849] ___sys_sendmsg+0x803/0x920 [ 60.180812] __sys_sendmsg+0xec/0x1b0 [ 60.184604] do_syscall_64+0xf9/0x620 [ 60.188390] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 60.193556] [ 60.195169] Freed by task 8840: [ 60.198433] __kasan_slab_free+0xf7/0x140 [ 60.202565] kfree+0xce/0x220 [ 60.205769] kvfree+0x59/0x60 [ 60.208945] device_release+0x76/0x210 [ 60.212815] kobject_put+0x17c/0x270 [ 60.216518] netdev_run_todo+0x4f1/0x740 [ 60.220581] rtnetlink_rcv_msg+0x460/0xaf0 [ 60.224799] netlink_rcv_skb+0x160/0x410 [ 60.228842] netlink_unicast+0x4d7/0x6a0 [ 60.232883] netlink_sendmsg+0x80b/0xcd0 [ 60.236932] sock_sendmsg+0xcf/0x120 [ 60.240637] ___sys_sendmsg+0x803/0x920 [ 60.244624] __sys_sendmsg+0xec/0x1b0 [ 60.248415] do_syscall_64+0xf9/0x620 [ 60.252211] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 60.257375] [ 60.258987] The buggy address belongs to the object at ffff8880a42e6c40 [ 60.258987] which belongs to the cache kmalloc-4096 of size 4096 [ 60.271802] The buggy address is located 264 bytes inside of [ 60.271802] 4096-byte region [ffff8880a42e6c40, ffff8880a42e7c40) [ 60.283744] The buggy address belongs to the page: [ 60.288663] page:ffffea000290b980 count:1 mapcount:0 mapping:ffff88812c3dcdc0 index:0x0 compound_mapcount: 0 [ 60.298608] flags: 0xfffe0000008100(slab|head) [ 60.303175] raw: 00fffe0000008100 ffffea00020a6508 ffffea00021abb08 ffff88812c3dcdc0 [ 60.311038] raw: 0000000000000000 ffff8880a42e6c40 0000000100000001 0000000000000000 [ 60.318898] page dumped because: kasan: bad access detected [ 60.324593] [ 60.326205] Memory state around the buggy address: [ 60.331115] ffff8880a42e6c00: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 60.338454] ffff8880a42e6c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.345793] >ffff8880a42e6d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.353147] ^ [ 60.358881] ffff8880a42e6d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.366220] ffff8880a42e6e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb executing program executing program [ 60.373610] ================================================================== [ 60.380945] Disabling lock debugging due to kernel taint [ 60.391923] Kernel panic - not syncing: panic_on_warn set ... [ 60.391923] [ 60.399310] CPU: 1 PID: 8833 Comm: syz-executor653 Tainted: G B 4.19.108-syzkaller #0 [ 60.408570] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.417908] Call Trace: [ 60.420484] dump_stack+0x188/0x20d [ 60.424096] panic+0x26a/0x50e [ 60.427275] ? __warn_printk+0xf3/0xf3 [ 60.431152] ? preempt_schedule_common+0x4a/0xc0 [ 60.435903] ? macvlan_dev_get_iflink+0x5f/0x70 [ 60.440557] ? ___preempt_schedule+0x16/0x18 [ 60.444958] ? trace_hardirqs_on+0x55/0x210 [ 60.449273] ? macvlan_dev_get_iflink+0x5f/0x70 [ 60.453977] kasan_end_report+0x43/0x49 [ 60.457938] kasan_report.cold+0xa4/0x2b9 [ 60.462072] macvlan_dev_get_iflink+0x5f/0x70 [ 60.466548] ? macvlan_dev_poll_controller+0x10/0x10 [ 60.471678] dev_get_iflink+0x73/0xe0 [ 60.475460] rfc2863_policy+0x1ca/0x230 [ 60.479414] linkwatch_do_dev+0x17/0x110 [ 60.483455] linkwatch_forget_dev+0x16a/0x200 [ 60.487933] netdev_run_todo+0x242/0x740 [ 60.491983] ? rtnetlink_rcv_msg+0x3c3/0xaf0 [ 60.496380] ? register_netdev+0x50/0x50 [ 60.500432] ? rtnl_link_unregister+0x230/0x230 [ 60.505138] rtnetlink_rcv_msg+0x460/0xaf0 [ 60.509376] ? rtnetlink_put_metrics+0x520/0x520 [ 60.514122] ? find_held_lock+0x2d/0x110 [ 60.518169] netlink_rcv_skb+0x160/0x410 [ 60.522214] ? rtnetlink_put_metrics+0x520/0x520 [ 60.526950] ? netlink_ack+0xa60/0xa60 [ 60.530831] netlink_unicast+0x4d7/0x6a0 [ 60.534874] ? netlink_attachskb+0x710/0x710 [ 60.539267] netlink_sendmsg+0x80b/0xcd0 [ 60.543323] ? netlink_unicast+0x6a0/0x6a0 [ 60.547542] ? move_addr_to_kernel.part.0+0x110/0x110 [ 60.552717] ? netlink_unicast+0x6a0/0x6a0 [ 60.556935] sock_sendmsg+0xcf/0x120 [ 60.560631] ___sys_sendmsg+0x803/0x920 [ 60.564593] ? copy_msghdr_from_user+0x410/0x410 [ 60.569330] ? __fget+0x319/0x510 [ 60.572788] ? lock_downgrade+0x740/0x740 [ 60.576919] ? check_preemption_disabled+0x41/0x280 [ 60.581916] ? __fget+0x340/0x510 [ 60.585375] ? iterate_fd+0x350/0x350 [ 60.589157] ? __might_fault+0x192/0x1d0 [ 60.593197] ? _copy_to_user+0xb8/0x100 [ 60.597155] ? __fget_light+0x1d1/0x230 [ 60.601110] __sys_sendmsg+0xec/0x1b0 [ 60.604894] ? __ia32_sys_shutdown+0x70/0x70 [ 60.609283] ? __x64_sys_futex+0x386/0x4f0 [ 60.613511] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 60.618254] ? trace_hardirqs_off_caller+0x55/0x210 [ 60.623258] ? do_syscall_64+0x21/0x620 [ 60.627215] do_syscall_64+0xf9/0x620 [ 60.631000] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 60.636197] RIP: 0033:0x446f79 [ 60.639384] Code: e8 8c e7 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 fb 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 60.658267] RSP: 002b:00007fcdf28d9d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 60.665975] RAX: ffffffffffffffda RBX: 00000000006dbc88 RCX: 0000000000446f79 [ 60.673226] RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000006 [ 60.680476] RBP: 00000000006dbc80 R08: 0000000000000000 R09: 0000000000000000 [ 60.687729] R10: 000000000000000a R11: 0000000000000246 R12: 00000000006dbc8c [ 60.694979] R13: 0000000000000000 R14: 0000000000000000 R15: 0705001000000048 [ 60.703416] Kernel Offset: disabled [ 60.707040] Rebooting in 86400 seconds..