[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 53.036659] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 57.538680] random: sshd: uninitialized urandom read (32 bytes read) [ 58.088020] random: sshd: uninitialized urandom read (32 bytes read) [ 59.363839] random: sshd: uninitialized urandom read (32 bytes read) [ 59.768201] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.83' (ECDSA) to the list of known hosts. [ 65.702694] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 65.884725] ================================================================== [ 65.892117] BUG: KMSAN: uninit-value in aa_fqlookupn_profile+0x33a/0x750 [ 65.898949] CPU: 1 PID: 4721 Comm: syz-executor644 Not tainted 4.19.0-rc4+ #57 [ 65.906308] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.915668] Call Trace: [ 65.918281] dump_stack+0x2f6/0x430 [ 65.921914] kmsan_report+0x183/0x2b0 [ 65.925716] __msan_warning+0x70/0xc0 [ 65.929538] aa_fqlookupn_profile+0x33a/0x750 [ 65.934056] aa_label_strn_parse+0x179e/0x1f30 [ 65.938667] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 65.944040] ? strlen+0x51/0xa0 [ 65.947341] aa_label_parse+0x11f/0x130 [ 65.951341] aa_change_profile+0x979/0x41d0 [ 65.955671] ? __kmalloc_track_caller+0xc04/0xe50 [ 65.960523] ? memdup_user+0x7c/0x1e0 [ 65.964330] ? __vfs_write+0x1a8/0xa50 [ 65.968213] ? task_kmsan_context_state+0x5e/0x110 [ 65.973157] ? INIT_INT+0xc/0x30 [ 65.976519] ? _raw_spin_lock_irqsave+0x21a/0x310 [ 65.981382] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 65.986740] ? strcmp+0x83/0x160 [ 65.990117] apparmor_setprocattr+0x121a/0x12f0 [ 65.994808] ? apparmor_getprocattr+0x6c0/0x6c0 [ 65.999473] security_setprocattr+0x139/0x210 [ 66.003972] proc_pid_attr_write+0x3f9/0x4e0 [ 66.008385] ? proc_pid_attr_read+0x4d0/0x4d0 [ 66.012904] __vfs_write+0x1a8/0xa50 [ 66.016649] ? __sb_start_write+0x9f/0x2d0 [ 66.020897] vfs_write+0x495/0x8e0 [ 66.024444] __se_sys_write+0x173/0x350 [ 66.028423] __x64_sys_write+0x4a/0x70 [ 66.032305] do_syscall_64+0xb8/0x100 [ 66.036116] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 66.041300] RIP: 0033:0x440059 [ 66.044492] 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 [ 66.063399] RSP: 002b:00007ffcf7e3d928 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 66.071122] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440059 [ 66.078383] RDX: 0000000000000009 RSI: 0000000020000100 RDI: 0000000000000003 [ 66.085901] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 66.093159] R10: 0000000000000000 R11: 0000000000000213 R12: 00000000004018e0 [ 66.100421] R13: 0000000000401970 R14: 0000000000000000 R15: 0000000000000000 [ 66.107708] [ 66.109329] Local variable description: ----ns_name@aa_fqlookupn_profile [ 66.116188] Variable was created at: [ 66.119895] aa_fqlookupn_profile+0x81/0x750 [ 66.124295] aa_label_strn_parse+0x179e/0x1f30 [ 66.128866] ================================================================== [ 66.136211] Disabling lock debugging due to kernel taint [ 66.141646] Kernel panic - not syncing: panic_on_warn set ... [ 66.141646] [ 66.149006] CPU: 1 PID: 4721 Comm: syz-executor644 Tainted: G B 4.19.0-rc4+ #57 [ 66.157740] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 66.167086] Call Trace: [ 66.169670] dump_stack+0x2f6/0x430 [ 66.173325] panic+0x54c/0xaf7 [ 66.176548] ? __msan_metadata_ptr_for_store_1+0x13/0x20 [ 66.182031] kmsan_report+0x2a8/0x2b0 [ 66.185835] __msan_warning+0x70/0xc0 [ 66.189665] aa_fqlookupn_profile+0x33a/0x750 [ 66.194172] aa_label_strn_parse+0x179e/0x1f30 [ 66.198777] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 66.204132] ? strlen+0x51/0xa0 [ 66.207412] aa_label_parse+0x11f/0x130 [ 66.211406] aa_change_profile+0x979/0x41d0 [ 66.215722] ? __kmalloc_track_caller+0xc04/0xe50 [ 66.220565] ? memdup_user+0x7c/0x1e0 [ 66.224378] ? __vfs_write+0x1a8/0xa50 [ 66.228282] ? task_kmsan_context_state+0x5e/0x110 [ 66.233225] ? INIT_INT+0xc/0x30 [ 66.236621] ? _raw_spin_lock_irqsave+0x21a/0x310 [ 66.241495] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 66.246855] ? strcmp+0x83/0x160 [ 66.250224] apparmor_setprocattr+0x121a/0x12f0 [ 66.254916] ? apparmor_getprocattr+0x6c0/0x6c0 [ 66.259599] security_setprocattr+0x139/0x210 [ 66.264117] proc_pid_attr_write+0x3f9/0x4e0 [ 66.268531] ? proc_pid_attr_read+0x4d0/0x4d0 [ 66.273050] __vfs_write+0x1a8/0xa50 [ 66.276763] ? __sb_start_write+0x9f/0x2d0 [ 66.281006] vfs_write+0x495/0x8e0 [ 66.284592] __se_sys_write+0x173/0x350 [ 66.288613] __x64_sys_write+0x4a/0x70 [ 66.292503] do_syscall_64+0xb8/0x100 [ 66.296299] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 66.301487] RIP: 0033:0x440059 [ 66.304669] 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 [ 66.323568] RSP: 002b:00007ffcf7e3d928 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 66.331288] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440059 [ 66.338564] RDX: 0000000000000009 RSI: 0000000020000100 RDI: 0000000000000003 [ 66.345837] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 66.353095] R10: 0000000000000000 R11: 0000000000000213 R12: 00000000004018e0 [ 66.360355] R13: 0000000000401970 R14: 0000000000000000 R15: 0000000000000000 [ 66.367985] Kernel Offset: disabled [ 66.371632] Rebooting in 86400 seconds..