[ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.120' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 168.806774][ T8245] ===================================================== [ 168.813770][ T8245] BUG: KMSAN: kernel-infoleak in kmsan_copy_to_user+0x9c/0xb0 [ 168.821226][ T8245] CPU: 0 PID: 8245 Comm: syz-executor868 Not tainted 5.10.0-rc4-syzkaller #0 [ 168.829980][ T8245] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 168.840019][ T8245] Call Trace: [ 168.843302][ T8245] dump_stack+0x21c/0x280 [ 168.847637][ T8245] kmsan_report+0xf7/0x1e0 [ 168.852054][ T8245] kmsan_internal_check_memory+0x202/0x520 [ 168.857874][ T8245] ? __msan_metadata_ptr_for_load_8+0x10/0x20 [ 168.863969][ T8245] ? should_fail+0x72/0x9e0 [ 168.868477][ T8245] kmsan_copy_to_user+0x9c/0xb0 [ 168.873337][ T8245] _copy_to_user+0x1af/0x270 [ 168.877939][ T8245] move_addr_to_user+0x3a2/0x640 [ 168.882875][ T8245] __sys_getsockname+0x407/0x5d0 [ 168.887797][ T8245] ? kmsan_get_shadow_origin_ptr+0x84/0xb0 [ 168.893672][ T8245] ? __msan_metadata_ptr_for_store_4+0x13/0x20 [ 168.899812][ T8245] ? exit_to_user_mode_prepare+0x121/0x490 [ 168.905607][ T8245] __se_sys_getsockname+0x91/0xb0 [ 168.910656][ T8245] __x64_sys_getsockname+0x4a/0x70 [ 168.915770][ T8245] do_syscall_64+0x9f/0x140 [ 168.920312][ T8245] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 168.926233][ T8245] RIP: 0033:0x441219 [ 168.930124][ T8245] Code: e8 fc ab 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 1b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 168.949721][ T8245] RSP: 002b:00007ffe3c24eaf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000033 [ 168.958143][ T8245] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441219 [ 168.966195][ T8245] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 0000000000000003 [ 168.974193][ T8245] RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 [ 168.982161][ T8245] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000401fc0 [ 168.990115][ T8245] R13: 0000000000402050 R14: 0000000000000000 R15: 0000000000000000 [ 168.998073][ T8245] [ 169.000400][ T8245] Local variable ----address@__sys_getsockname created at: [ 169.007587][ T8245] __sys_getsockname+0x91/0x5d0 [ 169.012440][ T8245] __sys_getsockname+0x91/0x5d0 [ 169.017275][ T8245] [ 169.019582][ T8245] Bytes 2-3 of 20 are uninitialized [ 169.024842][ T8245] Memory access of size 20 starts at ffff888124bbbdf0 [ 169.031591][ T8245] Data copied to user address 0000000020000100 [ 169.037726][ T8245] ===================================================== [ 169.044647][ T8245] Disabling lock debugging due to kernel taint [ 169.050799][ T8245] Kernel panic - not syncing: panic_on_warn set ... [ 169.057370][ T8245] CPU: 0 PID: 8245 Comm: syz-executor868 Tainted: G B 5.10.0-rc4-syzkaller #0 [ 169.067503][ T8245] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 169.077550][ T8245] Call Trace: [ 169.080829][ T8245] dump_stack+0x21c/0x280 [ 169.085157][ T8245] panic+0x4c8/0xea7 [ 169.089041][ T8245] ? add_taint+0x17c/0x210 [ 169.093442][ T8245] kmsan_report+0x1da/0x1e0 [ 169.097944][ T8245] kmsan_internal_check_memory+0x202/0x520 [ 169.103756][ T8245] ? __msan_metadata_ptr_for_load_8+0x10/0x20 [ 169.109818][ T8245] ? should_fail+0x72/0x9e0 [ 169.114318][ T8245] kmsan_copy_to_user+0x9c/0xb0 [ 169.119166][ T8245] _copy_to_user+0x1af/0x270 [ 169.123755][ T8245] move_addr_to_user+0x3a2/0x640 [ 169.128701][ T8245] __sys_getsockname+0x407/0x5d0 [ 169.133640][ T8245] ? kmsan_get_shadow_origin_ptr+0x84/0xb0 [ 169.139430][ T8245] ? __msan_metadata_ptr_for_store_4+0x13/0x20 [ 169.145567][ T8245] ? exit_to_user_mode_prepare+0x121/0x490 [ 169.151358][ T8245] __se_sys_getsockname+0x91/0xb0 [ 169.156381][ T8245] __x64_sys_getsockname+0x4a/0x70 [ 169.161506][ T8245] do_syscall_64+0x9f/0x140 [ 169.166023][ T8245] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 169.171909][ T8245] RIP: 0033:0x441219 [ 169.175800][ T8245] Code: e8 fc ab 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 1b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 169.195422][ T8245] RSP: 002b:00007ffe3c24eaf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000033 [ 169.203836][ T8245] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441219 [ 169.211807][ T8245] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 0000000000000003 [ 169.219760][ T8245] RBP: 00000000006cb018 R08: 00000000004002c8 R09: 00000000004002c8 [ 169.227730][ T8245] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000401fc0 [ 169.235855][ T8245] R13: 0000000000402050 R14: 0000000000000000 R15: 0000000000000000 [ 169.244272][ T8245] Kernel Offset: disabled [ 169.248602][ T8245] Rebooting in 86400 seconds..