[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 53.146658] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 55.585647] random: sshd: uninitialized urandom read (32 bytes read) [ 55.990188] random: sshd: uninitialized urandom read (32 bytes read) [ 57.353569] random: sshd: uninitialized urandom read (32 bytes read) [ 57.753372] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.51' (ECDSA) to the list of known hosts. [ 63.661544] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 63.840069] ================================================================== [ 63.847464] BUG: KMSAN: uninit-value in aa_fqlookupn_profile+0x33a/0x750 [ 63.854297] CPU: 0 PID: 4670 Comm: syz-executor632 Not tainted 4.19.0-rc4+ #57 [ 63.861643] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.870991] Call Trace: [ 63.873580] dump_stack+0x2f6/0x430 [ 63.877217] kmsan_report+0x183/0x2b0 [ 63.881025] __msan_warning+0x70/0xc0 [ 63.884827] aa_fqlookupn_profile+0x33a/0x750 [ 63.889346] aa_label_strn_parse+0x179e/0x1f30 [ 63.893966] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 63.899323] ? strlen+0x51/0xa0 [ 63.902599] aa_label_parse+0x11f/0x130 [ 63.906576] aa_change_profile+0x979/0x41d0 [ 63.910908] ? __kmalloc_track_caller+0xc04/0xe50 [ 63.915777] ? memdup_user+0x7c/0x1e0 [ 63.919574] ? __vfs_write+0x1a8/0xa50 [ 63.923457] ? task_kmsan_context_state+0x5e/0x110 [ 63.928386] ? INIT_INT+0xc/0x30 [ 63.931753] ? _raw_spin_lock_irqsave+0x21a/0x310 [ 63.936617] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 63.941978] ? strcmp+0x83/0x160 [ 63.945347] apparmor_setprocattr+0x121a/0x12f0 [ 63.950056] ? apparmor_getprocattr+0x6c0/0x6c0 [ 63.954722] security_setprocattr+0x139/0x210 [ 63.959230] proc_pid_attr_write+0x3f9/0x4e0 [ 63.963644] ? proc_pid_attr_read+0x4d0/0x4d0 [ 63.968162] __vfs_write+0x1a8/0xa50 [ 63.971875] ? __sb_start_write+0x9f/0x2d0 [ 63.976122] vfs_write+0x495/0x8e0 [ 63.979690] __se_sys_write+0x173/0x350 [ 63.983672] __x64_sys_write+0x4a/0x70 [ 63.987557] do_syscall_64+0xb8/0x100 [ 63.991357] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 63.996538] RIP: 0033:0x440059 [ 63.999721] 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.018615] RSP: 002b:00007ffe243b57e8 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 64.026318] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440059 [ 64.033578] RDX: 0000000000000009 RSI: 0000000020000180 RDI: 0000000000000003 [ 64.040841] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 64.048101] R10: 0000000000000000 R11: 0000000000000213 R12: 00000000004018e0 [ 64.055725] R13: 0000000000401970 R14: 0000000000000000 R15: 0000000000000000 [ 64.063015] [ 64.064634] Local variable description: ----ns_name@aa_fqlookupn_profile [ 64.071457] Variable was created at: [ 64.075183] aa_fqlookupn_profile+0x81/0x750 [ 64.079583] aa_label_strn_parse+0x179e/0x1f30 [ 64.084148] ================================================================== [ 64.091501] Disabling lock debugging due to kernel taint [ 64.096942] Kernel panic - not syncing: panic_on_warn set ... [ 64.096942] [ 64.104301] CPU: 0 PID: 4670 Comm: syz-executor632 Tainted: G B 4.19.0-rc4+ #57 [ 64.113036] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.122384] Call Trace: [ 64.125003] dump_stack+0x2f6/0x430 [ 64.128640] panic+0x54c/0xaf7 [ 64.131860] ? __msan_metadata_ptr_for_store_1+0x13/0x20 [ 64.137311] kmsan_report+0x2a8/0x2b0 [ 64.141117] __msan_warning+0x70/0xc0 [ 64.144921] aa_fqlookupn_profile+0x33a/0x750 [ 64.149436] aa_label_strn_parse+0x179e/0x1f30 [ 64.154044] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 64.159404] ? strlen+0x51/0xa0 [ 64.162685] aa_label_parse+0x11f/0x130 [ 64.166662] aa_change_profile+0x979/0x41d0 [ 64.170993] ? __kmalloc_track_caller+0xc04/0xe50 [ 64.175840] ? memdup_user+0x7c/0x1e0 [ 64.179637] ? __vfs_write+0x1a8/0xa50 [ 64.183536] ? task_kmsan_context_state+0x5e/0x110 [ 64.188469] ? INIT_INT+0xc/0x30 [ 64.191829] ? _raw_spin_lock_irqsave+0x21a/0x310 [ 64.196691] ? __msan_metadata_ptr_for_load_1+0x10/0x20 [ 64.202048] ? strcmp+0x83/0x160 [ 64.205423] apparmor_setprocattr+0x121a/0x12f0 [ 64.210115] ? apparmor_getprocattr+0x6c0/0x6c0 [ 64.214792] security_setprocattr+0x139/0x210 [ 64.219309] proc_pid_attr_write+0x3f9/0x4e0 [ 64.223721] ? proc_pid_attr_read+0x4d0/0x4d0 [ 64.228213] __vfs_write+0x1a8/0xa50 [ 64.232225] ? __sb_start_write+0x9f/0x2d0 [ 64.236472] vfs_write+0x495/0x8e0 [ 64.240043] __se_sys_write+0x173/0x350 [ 64.244084] __x64_sys_write+0x4a/0x70 [ 64.247967] do_syscall_64+0xb8/0x100 [ 64.251782] entry_SYSCALL_64_after_hwframe+0x63/0xe7 [ 64.256967] RIP: 0033:0x440059 [ 64.260161] 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.279080] RSP: 002b:00007ffe243b57e8 EFLAGS: 00000213 ORIG_RAX: 0000000000000001 [ 64.286824] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440059 [ 64.294103] RDX: 0000000000000009 RSI: 0000000020000180 RDI: 0000000000000003 [ 64.301363] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 64.308626] R10: 0000000000000000 R11: 0000000000000213 R12: 00000000004018e0 [ 64.315884] R13: 0000000000401970 R14: 0000000000000000 R15: 0000000000000000 [ 64.323527] Kernel Offset: disabled [ 64.327175] Rebooting in 86400 seconds..