================================================================== BUG: KMSAN: uninit-value in aa_fqlookupn_profile+0x32d/0x720 security/apparmor/policy.c:467 CPU: 1 PID: 8530 Comm: syz-executor2 Not tainted 4.19.0-rc7+ #68 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x306/0x460 lib/dump_stack.c:113 kmsan_report+0x1a2/0x2e0 mm/kmsan/kmsan.c:917 __msan_warning+0x7c/0xe0 mm/kmsan/kmsan_instr.c:500 aa_fqlookupn_profile+0x32d/0x720 security/apparmor/policy.c:467 audit: type=1400 audit(1539295228.121:52): apparmor="DENIED" operation="stack_onexec" info="label not found" error=-2 profile="unconfined" name=3A3A0A60 pid=8533 comm="syz-executor1" aa_label_strn_parse+0x171e/0x1e30 security/apparmor/label.c:1841 aa_label_parse+0x11f/0x130 security/apparmor/label.c:1943 aa_change_profile+0x827/0x3cc0 security/apparmor/domain.c:1362 apparmor_setprocattr+0xbc3/0x12f0 security/apparmor/lsm.c:651 security_setprocattr+0x139/0x210 security/security.c:1298 proc_pid_attr_write+0x3f9/0x4e0 fs/proc/base.c:2569 __vfs_write+0x1f4/0xb70 fs/read_write.c:485 vfs_write+0x495/0x8e0 fs/read_write.c:549 ksys_write fs/read_write.c:598 [inline] __do_sys_write fs/read_write.c:610 [inline] __se_sys_write+0x183/0x370 fs/read_write.c:607 __x64_sys_write+0x4a/0x70 fs/read_write.c:607 do_syscall_64+0xbe/0x100 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x457519 Code: 1d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 eb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f0716724c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457519 RDX: 0000000000000009 RSI: 0000000020000280 RDI: 0000000000000004 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f07167256d4 R13: 00000000004c54a1 R14: 00000000004d8da8 R15: 00000000ffffffff Local variable description: ----ns_name@aa_fqlookupn_profile Variable was created at: aa_fqlookupn_profile+0x79/0x720 security/apparmor/policy.c:460 aa_label_strn_parse+0x171e/0x1e30 security/apparmor/label.c:1841 ==================================================================