[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 58.910866] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 62.615879] random: sshd: uninitialized urandom read (32 bytes read) [ 62.971382] random: sshd: uninitialized urandom read (32 bytes read) [ 64.672821] random: sshd: uninitialized urandom read (32 bytes read) [ 83.931344] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.117' (ECDSA) to the list of known hosts. [ 89.727928] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 89.999312] ================================================================== [ 90.006706] BUG: KMSAN: uninit-value in aa_fqlookupn_profile+0x32d/0x720 [ 90.013544] CPU: 0 PID: 6212 Comm: syz-executor977 Not tainted 4.19.0-rc4+ #64 [ 90.020899] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 90.030335] Call Trace: [ 90.032927] dump_stack+0x306/0x460 [ 90.036570] ? _raw_spin_lock_irqsave+0x227/0x340 [ 90.041429] ? aa_fqlookupn_profile+0x32d/0x720 [ 90.046154] kmsan_report+0x1a2/0x2e0 [ 90.049968] __msan_warning+0x7c/0xe0 [ 90.053783] aa_fqlookupn_profile+0x32d/0x720 [ 90.058278] ? __msan_warning+0x1/0xe0 [ 90.062187] aa_label_strn_parse+0x171e/0x1e30 [ 90.066844] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 90.072217] ? refcount_inc_not_zero_checked+0x5bb/0x6d0 [ 90.077676] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 90.083045] aa_label_parse+0x11f/0x130 [ 90.087030] aa_change_profile+0x827/0x3cc0 [ 90.091358] ? __msan_poison_alloca+0x17a/0x210 [ 90.096058] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 90.101462] ? strcmp+0x83/0x160 [ 90.104841] apparmor_setprocattr+0x1258/0x12f0 [ 90.109613] ? apparmor_getprocattr+0x630/0x630 [ 90.114287] security_setprocattr+0x139/0x210 [ 90.118800] proc_pid_attr_write+0x3f9/0x4e0 [ 90.123219] ? proc_pid_attr_read+0x500/0x500 [ 90.127717] __vfs_write+0x1f4/0xb70 [ 90.131435] ? __msan_metadata_ptr_for_load_4+0x10/0x20 [ 90.136795] ? __sb_start_write+0xf8/0x230 [ 90.141164] vfs_write+0x495/0x8e0 [ 90.144725] __se_sys_write+0x183/0x370 [ 90.148726] __x64_sys_write+0x4a/0x70 [ 90.152626] do_syscall_64+0xbe/0x100 [ 90.156449] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 90.161637] RIP: 0033:0x4400a9 [ 90.164831] 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 [ 90.183892] RSP: 002b:00007fffcbdd4138 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 90.191604] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004400a9 [ 90.198867] RDX: 000000000000002c RSI: 00000000200000c0 RDI: 0000000000000003 [ 90.206173] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 90.213444] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401930 [ 90.220712] R13: 00000000004019c0 R14: 0000000000000000 R15: 0000000000000000 [ 90.227989] [ 90.229609] Local variable description: ----ns_name@aa_fqlookupn_profile [ 90.236434] Variable was created at: [ 90.240146] aa_fqlookupn_profile+0x79/0x720 [ 90.244553] aa_label_strn_parse+0x171e/0x1e30 [ 90.249122] ================================================================== [ 90.256470] Disabling lock debugging due to kernel taint [ 90.261951] Kernel panic - not syncing: panic_on_warn set ... [ 90.261951] [ 90.269362] CPU: 0 PID: 6212 Comm: syz-executor977 Tainted: G B 4.19.0-rc4+ #64 [ 90.278110] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 90.287574] Call Trace: [ 90.290207] dump_stack+0x306/0x460 [ 90.293891] panic+0x54c/0xafa [ 90.297129] kmsan_report+0x2d3/0x2e0 [ 90.300941] __msan_warning+0x7c/0xe0 [ 90.304748] aa_fqlookupn_profile+0x32d/0x720 [ 90.309249] ? __msan_warning+0x1/0xe0 [ 90.313147] aa_label_strn_parse+0x171e/0x1e30 [ 90.317749] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 90.323113] ? refcount_inc_not_zero_checked+0x5bb/0x6d0 [ 90.328567] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 90.333939] aa_label_parse+0x11f/0x130 [ 90.337919] aa_change_profile+0x827/0x3cc0 [ 90.342245] ? __msan_poison_alloca+0x17a/0x210 [ 90.346944] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 90.352323] ? strcmp+0x83/0x160 [ 90.355721] apparmor_setprocattr+0x1258/0x12f0 [ 90.360422] ? apparmor_getprocattr+0x630/0x630 [ 90.365191] security_setprocattr+0x139/0x210 [ 90.369698] proc_pid_attr_write+0x3f9/0x4e0 [ 90.374115] ? proc_pid_attr_read+0x500/0x500 [ 90.378606] __vfs_write+0x1f4/0xb70 [ 90.382332] ? __msan_metadata_ptr_for_load_4+0x10/0x20 [ 90.387815] ? __sb_start_write+0xf8/0x230 [ 90.392056] vfs_write+0x495/0x8e0 [ 90.395613] __se_sys_write+0x183/0x370 [ 90.399595] __x64_sys_write+0x4a/0x70 [ 90.403489] do_syscall_64+0xbe/0x100 [ 90.407295] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 90.412593] RIP: 0033:0x4400a9 [ 90.415782] 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 [ 90.434682] RSP: 002b:00007fffcbdd4138 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 90.442445] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004400a9 [ 90.449711] RDX: 000000000000002c RSI: 00000000200000c0 RDI: 0000000000000003 [ 90.457014] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 90.464323] R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401930 [ 90.471592] R13: 00000000004019c0 R14: 0000000000000000 R15: 0000000000000000 [ 90.479848] Kernel Offset: disabled [ 90.483490] Rebooting in 86400 seconds..