[ 32.030414] audit: type=1800 audit(1581724828.580:33): pid=7086 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 [ 32.057527] audit: type=1800 audit(1581724828.580:34): pid=7086 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: [ 36.415162] random: sshd: uninitialized urandom read (32 bytes read) [ 36.671329] audit: type=1400 audit(1581724833.220:35): avc: denied { map } for pid=7259 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 [ 36.721438] random: sshd: uninitialized urandom read (32 bytes read) [ 37.414341] random: sshd: uninitialized urandom read (32 bytes read) [ 37.599909] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.250' (ECDSA) to the list of known hosts. [ 43.185272] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 43.303562] audit: type=1400 audit(1581724839.850:36): avc: denied { map } for pid=7271 comm="syz-executor966" path="/root/syz-executor966765308" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 43.388229] ================================================================== [ 43.388258] BUG: KASAN: null-ptr-deref in do_con_trol+0x3188/0x5b40 [ 43.388265] Read of size 4294967294 at addr 0000000000000012 by task syz-executor966/7271 [ 43.388268] [ 43.388276] CPU: 1 PID: 7271 Comm: syz-executor966 Not tainted 4.14.171-syzkaller #0 [ 43.388281] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.388283] Call Trace: [ 43.388295] dump_stack+0x142/0x197 [ 43.388305] ? do_con_trol+0x3188/0x5b40 [ 43.388314] kasan_report.cold+0x127/0x2af [ 43.388325] check_memory_region+0x123/0x190 [ 43.388333] memcpy+0x24/0x50 [ 43.388342] do_con_trol+0x3188/0x5b40 [ 43.388351] ? reset_palette+0x180/0x180 [ 43.388364] ? __atomic_notifier_call_chain+0xc2/0x150 [ 43.388377] do_con_write.part.0+0xcc7/0x1b50 [ 43.388388] ? add_wait_queue+0x112/0x170 [ 43.388407] ? do_con_trol+0x5b40/0x5b40 [ 43.388419] ? _raw_spin_unlock_irqrestore+0xa4/0xe0 [ 43.388429] con_write+0x38/0xc0 [ 43.388439] n_tty_write+0x38b/0xf20 [ 43.388458] ? process_echoes+0x150/0x150 [ 43.388467] ? do_wait_intr_irq+0x2a0/0x2a0 [ 43.388476] ? kasan_check_write+0x14/0x20 [ 43.388486] ? _copy_from_user+0x99/0x110 [ 43.388496] tty_write+0x3f6/0x700 [ 43.388508] ? process_echoes+0x150/0x150 [ 43.388518] __vfs_write+0x105/0x6b0 [ 43.388525] ? tty_read+0x270/0x270 [ 43.388532] ? kernel_read+0x120/0x120 [ 43.388553] ? __inode_security_revalidate+0xd6/0x130 [ 43.388561] ? avc_policy_seqno+0x9/0x20 [ 43.388570] ? selinux_file_permission+0x85/0x480 [ 43.388582] ? security_file_permission+0x89/0x1f0 [ 43.388590] ? rw_verify_area+0xea/0x2b0 [ 43.388597] ? putname+0xe0/0x120 [ 43.388606] vfs_write+0x198/0x500 [ 43.388616] SyS_write+0xfd/0x230 [ 43.388624] ? SyS_read+0x230/0x230 [ 43.388632] ? do_syscall_64+0x53/0x640 [ 43.388639] ? SyS_read+0x230/0x230 [ 43.388647] do_syscall_64+0x1e8/0x640 [ 43.388654] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.388667] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 43.388673] RIP: 0033:0x4404f9 [ 43.388678] RSP: 002b:00007ffd13d27c58 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 43.388687] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004404f9 [ 43.388691] RDX: 0000000000000078 RSI: 0000000020000140 RDI: 0000000000000004 [ 43.388695] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 43.388699] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401de0 [ 43.388703] R13: 0000000000401e70 R14: 0000000000000000 R15: 0000000000000000 [ 43.388717] ================================================================== [ 43.388720] Disabling lock debugging due to kernel taint [ 43.388724] Kernel panic - not syncing: panic_on_warn set ... [ 43.388724] [ 43.388731] CPU: 1 PID: 7271 Comm: syz-executor966 Tainted: G B 4.14.171-syzkaller #0 [ 43.388735] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.388737] Call Trace: [ 43.388745] dump_stack+0x142/0x197 [ 43.388753] ? do_con_trol+0x3188/0x5b40 [ 43.388759] panic+0x1f9/0x42d [ 43.388765] ? add_taint.cold+0x16/0x16 [ 43.388774] ? lock_downgrade+0x740/0x740 [ 43.388784] kasan_end_report+0x47/0x4f [ 43.388791] kasan_report.cold+0x130/0x2af [ 43.388799] check_memory_region+0x123/0x190 [ 43.388805] memcpy+0x24/0x50 [ 43.388812] do_con_trol+0x3188/0x5b40 [ 43.388820] ? reset_palette+0x180/0x180 [ 43.388830] ? __atomic_notifier_call_chain+0xc2/0x150 [ 43.388839] do_con_write.part.0+0xcc7/0x1b50 [ 43.388847] ? add_wait_queue+0x112/0x170 [ 43.388860] ? do_con_trol+0x5b40/0x5b40 [ 43.388868] ? _raw_spin_unlock_irqrestore+0xa4/0xe0 [ 43.388876] con_write+0x38/0xc0 [ 43.388884] n_tty_write+0x38b/0xf20 [ 43.388897] ? process_echoes+0x150/0x150 [ 43.388904] ? do_wait_intr_irq+0x2a0/0x2a0 [ 43.388911] ? kasan_check_write+0x14/0x20 [ 43.388917] ? _copy_from_user+0x99/0x110 [ 43.388924] tty_write+0x3f6/0x700 [ 43.388933] ? process_echoes+0x150/0x150 [ 43.388940] __vfs_write+0x105/0x6b0 [ 43.388946] ? tty_read+0x270/0x270 [ 43.388952] ? kernel_read+0x120/0x120 [ 43.388959] ? __inode_security_revalidate+0xd6/0x130 [ 43.388964] ? avc_policy_seqno+0x9/0x20 [ 43.388970] ? selinux_file_permission+0x85/0x480 [ 43.388978] ? security_file_permission+0x89/0x1f0 [ 43.388984] ? rw_verify_area+0xea/0x2b0 [ 43.388989] ? putname+0xe0/0x120 [ 43.388995] vfs_write+0x198/0x500 [ 43.389002] SyS_write+0xfd/0x230 [ 43.389009] ? SyS_read+0x230/0x230 [ 43.389015] ? do_syscall_64+0x53/0x640 [ 43.389021] ? SyS_read+0x230/0x230 [ 43.389028] do_syscall_64+0x1e8/0x640 [ 43.389033] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 43.389041] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 43.389046] RIP: 0033:0x4404f9 [ 43.389050] RSP: 002b:00007ffd13d27c58 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 43.389056] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004404f9 [ 43.389060] RDX: 0000000000000078 RSI: 0000000020000140 RDI: 0000000000000004 [ 43.389064] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 43.389068] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401de0 [ 43.389071] R13: 0000000000401e70 R14: 0000000000000000 R15: 0000000000000000 [ 43.390471] Kernel Offset: disabled [ 43.893086] Rebooting in 86400 seconds..