[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 51.837471] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 56.787021] random: sshd: uninitialized urandom read (32 bytes read) [ 57.188875] random: sshd: uninitialized urandom read (32 bytes read) [ 58.489758] random: sshd: uninitialized urandom read (32 bytes read) [ 58.876563] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.43' (ECDSA) to the list of known hosts. [ 64.684461] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 64.859890] ================================================================== [ 64.867292] BUG: KMSAN: uninit-value in aa_fqlookupn_profile+0x33a/0x750 [ 64.874141] CPU: 1 PID: 4661 Comm: syz-executor906 Not tainted 4.19.0-rc4+ #56 [ 64.881488] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.890832] Call Trace: [ 64.893434] dump_stack+0x2f6/0x430 [ 64.897068] kmsan_report+0x183/0x2b0 [ 64.900881] __msan_warning+0x70/0xc0 [ 64.904701] aa_fqlookupn_profile+0x33a/0x750 [ 64.909234] aa_label_strn_parse+0x179e/0x1f30 [ 64.913843] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 64.919208] ? strlen+0x51/0xa0 [ 64.922527] aa_label_parse+0x11f/0x130 [ 64.926507] aa_change_profile+0x979/0x41d0 [ 64.930836] ? __kmalloc_track_caller+0xc04/0xe50 [ 64.935690] ? memdup_user+0x7c/0x1e0 [ 64.939506] ? __vfs_write+0x1a8/0xa50 [ 64.943395] ? task_kmsan_context_state+0x5e/0x110 [ 64.948345] ? INIT_INT+0xc/0x30 [ 64.951731] ? _raw_spin_lock_irqsave+0x21a/0x310 [ 64.956602] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 64.961967] ? strcmp+0x83/0x160 [ 64.965335] apparmor_setprocattr+0x121a/0x12f0 [ 64.970024] ? apparmor_getprocattr+0x6c0/0x6c0 [ 64.974713] security_setprocattr+0x139/0x210 [ 64.979261] proc_pid_attr_write+0x3f9/0x4e0 [ 64.983709] ? proc_pid_attr_read+0x4d0/0x4d0 [ 64.988214] __vfs_write+0x1a8/0xa50 [ 64.991924] ? __sb_start_write+0x9f/0x2d0 [ 64.996170] vfs_write+0x495/0x8e0 [ 64.999737] __se_sys_write+0x173/0x350 [ 65.003738] __x64_sys_write+0x4a/0x70 [ 65.007652] do_syscall_64+0xb8/0x100 [ 65.011481] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 65.016679] RIP: 0033:0x440059 [ 65.019879] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 65.038788] RSP: 002b:00007ffe7d11b178 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 65.046503] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440059 [ 65.053765] RDX: 0000000000000009 RSI: 0000000020000040 RDI: 0000000000000003 [ 65.061034] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 65.068316] R10: 0000000000000000 R11: 0000000000000213 R12: 00000000004018e0 [ 65.075578] R13: 0000000000401970 R14: 0000000000000000 R15: 0000000000000000 [ 65.082875] [ 65.084493] Local variable description: ----ns_name@aa_fqlookupn_profile [ 65.091317] Variable was created at: [ 65.095022] aa_fqlookupn_profile+0x81/0x750 [ 65.099421] aa_label_strn_parse+0x179e/0x1f30 [ 65.103986] ================================================================== [ 65.111329] Disabling lock debugging due to kernel taint [ 65.116769] Kernel panic - not syncing: panic_on_warn set ... [ 65.116769] [ 65.124144] CPU: 1 PID: 4661 Comm: syz-executor906 Tainted: G B 4.19.0-rc4+ #56 [ 65.132878] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.142244] Call Trace: [ 65.144832] dump_stack+0x2f6/0x430 [ 65.148467] panic+0x54c/0xaf7 [ 65.151730] ? __msan_metadata_ptr_for_store_1+0x13/0x20 [ 65.157188] kmsan_report+0x2a8/0x2b0 [ 65.160993] __msan_warning+0x70/0xc0 [ 65.164794] aa_fqlookupn_profile+0x33a/0x750 [ 65.169312] aa_label_strn_parse+0x179e/0x1f30 [ 65.173918] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 65.179276] ? strlen+0x51/0xa0 [ 65.182565] aa_label_parse+0x11f/0x130 [ 65.186542] aa_change_profile+0x979/0x41d0 [ 65.190858] ? __kmalloc_track_caller+0xc04/0xe50 [ 65.195702] ? memdup_user+0x7c/0x1e0 [ 65.199511] ? __vfs_write+0x1a8/0xa50 [ 65.203392] ? task_kmsan_context_state+0x5e/0x110 [ 65.208329] ? INIT_INT+0xc/0x30 [ 65.211707] ? _raw_spin_lock_irqsave+0x21a/0x310 [ 65.216586] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 65.221948] ? strcmp+0x83/0x160 [ 65.225326] apparmor_setprocattr+0x121a/0x12f0 [ 65.230018] ? apparmor_getprocattr+0x6c0/0x6c0 [ 65.234693] security_setprocattr+0x139/0x210 [ 65.239210] proc_pid_attr_write+0x3f9/0x4e0 [ 65.243629] ? proc_pid_attr_read+0x4d0/0x4d0 [ 65.248156] __vfs_write+0x1a8/0xa50 [ 65.251889] ? __sb_start_write+0x9f/0x2d0 [ 65.256136] vfs_write+0x495/0x8e0 [ 65.259709] __se_sys_write+0x173/0x350 [ 65.263729] __x64_sys_write+0x4a/0x70 [ 65.267654] do_syscall_64+0xb8/0x100 [ 65.271473] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 65.276670] RIP: 0033:0x440059 [ 65.279869] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 65.298880] RSP: 002b:00007ffe7d11b178 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 65.306583] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440059 [ 65.313867] RDX: 0000000000000009 RSI: 0000000020000040 RDI: 0000000000000003 [ 65.321146] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 65.328409] R10: 0000000000000000 R11: 0000000000000213 R12: 00000000004018e0 [ 65.335675] R13: 0000000000401970 R14: 0000000000000000 R15: 0000000000000000 [ 65.343396] Kernel Offset: disabled [ 65.347065] Rebooting in 86400 seconds..