[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 94.142443] audit: type=1800 audit(1547397612.195:25): pid=10587 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 94.161608] audit: type=1800 audit(1547397612.195:26): pid=10587 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 94.181038] audit: type=1800 audit(1547397612.215:27): pid=10587 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.100' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 104.787058] ================================================================== [ 104.794466] BUG: KMSAN: kernel-infoleak in _copy_to_user+0x16b/0x1f0 [ 104.800944] CPU: 1 PID: 10740 Comm: syz-executor064 Not tainted 5.0.0-rc1+ #7 [ 104.808201] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 104.817537] Call Trace: [ 104.820125] dump_stack+0x173/0x1d0 [ 104.823768] kmsan_report+0x12e/0x2a0 [ 104.827568] kmsan_internal_check_memory+0x465/0xb10 [ 104.832681] ? __msan_metadata_ptr_for_load_4+0x10/0x20 [ 104.838062] kmsan_copy_to_user+0xab/0xc0 [ 104.842203] _copy_to_user+0x16b/0x1f0 [ 104.846091] sctp_getsockopt+0x1309a/0x17f70 [ 104.850533] ? aa_sk_perm+0x605/0x950 [ 104.854361] ? sctp_setsockopt+0x13560/0x13560 [ 104.858975] ? kmsan_get_shadow_origin_ptr+0x60/0x440 [ 104.864166] ? sctp_setsockopt+0x13560/0x13560 [ 104.868773] sock_common_getsockopt+0x13f/0x180 [ 104.873469] ? sock_recv_errqueue+0x8f0/0x8f0 [ 104.877953] __sys_getsockopt+0x489/0x550 [ 104.882107] __se_sys_getsockopt+0xe1/0x100 [ 104.886447] __x64_sys_getsockopt+0x62/0x80 [ 104.890772] do_syscall_64+0xbc/0xf0 [ 104.894525] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 104.899706] RIP: 0033:0x445679 [ 104.902886] Code: e8 6c b6 02 00 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 2b 12 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 104.921776] RSP: 002b:00007fa7633b9db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 [ 104.929471] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000445679 [ 104.936727] RDX: 000000000000006d RSI: 0000000000000084 RDI: 0000000000000004 [ 104.943986] RBP: 00000000006dac30 R08: 00000000200000c0 R09: 0000000000000000 [ 104.951252] R10: 0000000020000200 R11: 0000000000000246 R12: 00000000006dac3c [ 104.958506] R13: 00007ffc3e29873f R14: 00007fa7633ba9c0 R15: 00000000006dad2c [ 104.965807] [ 104.967417] Uninit was stored to memory at: [ 104.971739] kmsan_internal_chain_origin+0x134/0x230 [ 104.976832] kmsan_memcpy_memmove_metadata+0xcf2/0xf10 [ 104.982093] kmsan_memcpy_metadata+0xb/0x10 [ 104.986408] __msan_memcpy+0x58/0x70 [ 104.990107] sctp_getsockopt+0x13887/0x17f70 [ 104.994511] sock_common_getsockopt+0x13f/0x180 [ 104.999167] __sys_getsockopt+0x489/0x550 [ 105.003302] __se_sys_getsockopt+0xe1/0x100 [ 105.007607] __x64_sys_getsockopt+0x62/0x80 [ 105.011932] do_syscall_64+0xbc/0xf0 [ 105.015634] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 105.020800] [ 105.022411] Uninit was stored to memory at: [ 105.026718] kmsan_internal_chain_origin+0x134/0x230 [ 105.031805] kmsan_memcpy_memmove_metadata+0xcf2/0xf10 [ 105.037079] kmsan_memcpy_metadata+0xb/0x10 [ 105.041385] __msan_memcpy+0x58/0x70 [ 105.045084] sctp_getsockopt+0x13733/0x17f70 [ 105.049489] sock_common_getsockopt+0x13f/0x180 [ 105.054141] __sys_getsockopt+0x489/0x550 [ 105.058300] __se_sys_getsockopt+0xe1/0x100 [ 105.062628] __x64_sys_getsockopt+0x62/0x80 [ 105.066935] do_syscall_64+0xbc/0xf0 [ 105.070635] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 105.075800] [ 105.077408] Uninit was created at: [ 105.080931] kmsan_internal_poison_shadow+0x92/0x150 [ 105.086017] kmsan_kmalloc+0xa6/0x130 [ 105.089805] kmem_cache_alloc_trace+0x55d/0xb40 [ 105.094465] sctp_inetaddr_event+0x47b/0xa90 [ 105.098857] blocking_notifier_call_chain+0x1a5/0x2f0 [ 105.104031] __inet_insert_ifa+0xfaa/0x1200 [ 105.108347] inetdev_event+0x1ced/0x1d80 [ 105.112400] raw_notifier_call_chain+0x13d/0x240 [ 105.117147] __dev_notify_flags+0x3d3/0x830 [ 105.121450] dev_change_flags+0x1d6/0x260 [ 105.125599] do_setlink+0x16a4/0x5df0 [ 105.129391] rtnl_newlink+0x2d68/0x37a0 [ 105.133349] rtnetlink_rcv_msg+0x115b/0x1550 [ 105.137742] netlink_rcv_skb+0x431/0x620 [ 105.141788] rtnetlink_rcv+0x50/0x60 [ 105.145506] netlink_unicast+0xf3e/0x1020 [ 105.149653] netlink_sendmsg+0x127f/0x1300 [ 105.153872] ___sys_sendmsg+0xdb9/0x11b0 [ 105.157916] __se_sys_sendmsg+0x305/0x460 [ 105.162050] __x64_sys_sendmsg+0x4a/0x70 [ 105.166094] do_syscall_64+0xbc/0xf0 [ 105.169802] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 105.174987] [ 105.176599] Bytes 8-15 of 32 are uninitialized [ 105.181176] Memory access of size 32 starts at ffff88810b2dac00 [ 105.187213] Data copied to user address 0000000020000208 [ 105.192641] ================================================================== [ 105.199996] Disabling lock debugging due to kernel taint [ 105.205429] Kernel panic - not syncing: panic_on_warn set ... [ 105.211298] CPU: 1 PID: 10740 Comm: syz-executor064 Tainted: G B 5.0.0-rc1+ #7 [ 105.219938] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 105.229276] Call Trace: [ 105.231886] dump_stack+0x173/0x1d0 [ 105.235512] panic+0x3d1/0xb01 [ 105.238722] kmsan_report+0x293/0x2a0 [ 105.242525] kmsan_internal_check_memory+0x465/0xb10 [ 105.247638] ? __msan_metadata_ptr_for_load_4+0x10/0x20 [ 105.253004] kmsan_copy_to_user+0xab/0xc0 [ 105.257144] _copy_to_user+0x16b/0x1f0 [ 105.261026] sctp_getsockopt+0x1309a/0x17f70 [ 105.265459] ? aa_sk_perm+0x605/0x950 [ 105.269263] ? sctp_setsockopt+0x13560/0x13560 [ 105.273848] ? kmsan_get_shadow_origin_ptr+0x60/0x440 [ 105.279041] ? sctp_setsockopt+0x13560/0x13560 [ 105.283634] sock_common_getsockopt+0x13f/0x180 [ 105.288315] ? sock_recv_errqueue+0x8f0/0x8f0 [ 105.292795] __sys_getsockopt+0x489/0x550 [ 105.296944] __se_sys_getsockopt+0xe1/0x100 [ 105.301263] __x64_sys_getsockopt+0x62/0x80 [ 105.305572] do_syscall_64+0xbc/0xf0 [ 105.309293] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 105.314466] RIP: 0033:0x445679 [ 105.317801] Code: e8 6c b6 02 00 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 2b 12 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 105.336688] RSP: 002b:00007fa7633b9db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 [ 105.344382] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000445679 [ 105.351640] RDX: 000000000000006d RSI: 0000000000000084 RDI: 0000000000000004 [ 105.358895] RBP: 00000000006dac30 R08: 00000000200000c0 R09: 0000000000000000 [ 105.366151] R10: 0000000020000200 R11: 0000000000000246 R12: 00000000006dac3c [ 105.373454] R13: 00007ffc3e29873f R14: 00007fa7633ba9c0 R15: 00000000006dad2c [ 105.381764] Kernel Offset: disabled [ 105.385393] Rebooting in 86400 seconds..