[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 51.749249] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 54.944727] random: sshd: uninitialized urandom read (32 bytes read) [ 55.368813] random: sshd: uninitialized urandom read (32 bytes read) [ 57.323379] random: sshd: uninitialized urandom read (32 bytes read) [ 57.697344] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.87' (ECDSA) to the list of known hosts. [ 63.437983] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 63.607363] ================================================================== [ 63.614754] BUG: KMSAN: uninit-value in aa_fqlookupn_profile+0x33a/0x750 [ 63.621585] CPU: 1 PID: 4648 Comm: syz-executor059 Not tainted 4.19.0-rc4+ #57 [ 63.628932] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.638272] Call Trace: [ 63.640857] dump_stack+0x2f6/0x430 [ 63.644490] kmsan_report+0x183/0x2b0 [ 63.648298] __msan_warning+0x70/0xc0 [ 63.652114] aa_fqlookupn_profile+0x33a/0x750 [ 63.656643] aa_label_strn_parse+0x179e/0x1f30 [ 63.661249] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 63.666629] ? strlen+0x51/0xa0 [ 63.669911] aa_label_parse+0x11f/0x130 [ 63.673921] aa_change_profile+0x979/0x41d0 [ 63.678238] ? __kmalloc_track_caller+0xc04/0xe50 [ 63.683072] ? memdup_user+0x7c/0x1e0 [ 63.686868] ? __vfs_write+0x1a8/0xa50 [ 63.690750] ? task_kmsan_context_state+0x5e/0x110 [ 63.695699] ? INIT_INT+0xc/0x30 [ 63.699076] ? _raw_spin_lock_irqsave+0x21a/0x310 [ 63.703940] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 63.709300] ? strcmp+0x83/0x160 [ 63.712668] apparmor_setprocattr+0x121a/0x12f0 [ 63.717364] ? apparmor_getprocattr+0x6c0/0x6c0 [ 63.722027] security_setprocattr+0x139/0x210 [ 63.726526] proc_pid_attr_write+0x3f9/0x4e0 [ 63.730940] ? proc_pid_attr_read+0x4d0/0x4d0 [ 63.735431] __vfs_write+0x1a8/0xa50 [ 63.739145] ? __sb_start_write+0x9f/0x2d0 [ 63.743389] vfs_write+0x495/0x8e0 [ 63.746939] __se_sys_write+0x173/0x350 [ 63.750923] __x64_sys_write+0x4a/0x70 [ 63.754808] do_syscall_64+0xb8/0x100 [ 63.758610] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 63.763814] RIP: 0033:0x440059 [ 63.767008] 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 [ 63.785903] RSP: 002b:00007ffc7643db58 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 63.793610] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440059 [ 63.800880] RDX: 0000000000000008 RSI: 0000000020000000 RDI: 0000000000000003 [ 63.808141] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 63.815405] R10: 0000000000000000 R11: 0000000000000213 R12: 00000000004018e0 [ 63.822666] R13: 0000000000401970 R14: 0000000000000000 R15: 0000000000000000 [ 63.829943] [ 63.831556] Local variable description: ----ns_name@aa_fqlookupn_profile [ 63.838394] Variable was created at: [ 63.842101] aa_fqlookupn_profile+0x81/0x750 [ 63.846502] aa_label_strn_parse+0x179e/0x1f30 [ 63.851068] ================================================================== [ 63.858410] Disabling lock debugging due to kernel taint [ 63.863846] Kernel panic - not syncing: panic_on_warn set ... [ 63.863846] [ 63.871211] CPU: 1 PID: 4648 Comm: syz-executor059 Tainted: G B 4.19.0-rc4+ #57 [ 63.879945] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.889288] Call Trace: [ 63.891961] dump_stack+0x2f6/0x430 [ 63.895606] panic+0x54c/0xaf7 [ 63.898833] ? __msan_metadata_ptr_for_store_1+0x13/0x20 [ 63.904282] kmsan_report+0x2a8/0x2b0 [ 63.908085] __msan_warning+0x70/0xc0 [ 63.911886] aa_fqlookupn_profile+0x33a/0x750 [ 63.916395] aa_label_strn_parse+0x179e/0x1f30 [ 63.921002] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 63.926359] ? strlen+0x51/0xa0 [ 63.929648] aa_label_parse+0x11f/0x130 [ 63.933653] aa_change_profile+0x979/0x41d0 [ 63.937977] ? __kmalloc_track_caller+0xc04/0xe50 [ 63.942829] ? memdup_user+0x7c/0x1e0 [ 63.946634] ? __vfs_write+0x1a8/0xa50 [ 63.950518] ? task_kmsan_context_state+0x5e/0x110 [ 63.955452] ? INIT_INT+0xc/0x30 [ 63.958829] ? _raw_spin_lock_irqsave+0x21a/0x310 [ 63.963694] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 63.969055] ? strcmp+0x83/0x160 [ 63.972421] apparmor_setprocattr+0x121a/0x12f0 [ 63.977108] ? apparmor_getprocattr+0x6c0/0x6c0 [ 63.981770] security_setprocattr+0x139/0x210 [ 63.986272] proc_pid_attr_write+0x3f9/0x4e0 [ 63.990687] ? proc_pid_attr_read+0x4d0/0x4d0 [ 63.995184] __vfs_write+0x1a8/0xa50 [ 63.998897] ? __sb_start_write+0x9f/0x2d0 [ 64.003144] vfs_write+0x495/0x8e0 [ 64.006706] __se_sys_write+0x173/0x350 [ 64.010688] __x64_sys_write+0x4a/0x70 [ 64.014573] do_syscall_64+0xb8/0x100 [ 64.018372] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 64.023553] RIP: 0033:0x440059 [ 64.026737] 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 [ 64.045637] RSP: 002b:00007ffc7643db58 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 64.053374] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440059 [ 64.060663] RDX: 0000000000000008 RSI: 0000000020000000 RDI: 0000000000000003 [ 64.067942] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 64.075205] R10: 0000000000000000 R11: 0000000000000213 R12: 00000000004018e0 [ 64.082463] R13: 0000000000401970 R14: 0000000000000000 R15: 0000000000000000 [ 64.090104] Kernel Offset: disabled [ 64.093736] Rebooting in 86400 seconds..