syzbot


KMSAN: uninit-value in tomoyo_check_acl

Status: closed as invalid on 2020/10/01 06:28
Subsystems: tomoyo
[Documentation on labels]
First crash: 1302d, last: 1302d

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in tomoyo_check_acl+0x156/0x5a0 security/tomoyo/domain.c:173
CPU: 1 PID: 9845 Comm: syz-executor.3 Not tainted 5.9.0-rc4-syzkaller #0
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+0x21c/0x280 lib/dump_stack.c:118
 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:122
 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:201
 tomoyo_check_acl+0x156/0x5a0 security/tomoyo/domain.c:173
 tomoyo_path_permission security/tomoyo/file.c:586 [inline]
 tomoyo_check_open_permission+0x61f/0xdf0 security/tomoyo/file.c:777
 tomoyo_file_open+0x240/0x2c0 security/tomoyo/tomoyo.c:313
 security_file_open+0xb1/0x1f0 security/security.c:1574
 do_dentry_open+0x4d5/0x1b80 fs/open.c:804
 vfs_open+0xaf/0xe0 fs/open.c:931
 do_open fs/namei.c:3251 [inline]
 path_openat+0x54c4/0x6a90 fs/namei.c:3368
 do_filp_open+0x2b8/0x710 fs/namei.c:3395
 do_sys_openat2+0xa88/0x1140 fs/open.c:1168
 do_sys_open fs/open.c:1184 [inline]
 __do_sys_open fs/open.c:1192 [inline]
 __se_sys_open+0x270/0x2d0 fs/open.c:1188
 __x64_sys_open+0x4a/0x70 fs/open.c:1188
 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45bd10
Code: 31 c0 e9 45 ff ff ff 0f 1f 00 80 3f 00 0f 84 f7 00 00 00 55 53 b9 02 00 00 00 be 00 08 09 00 89 c8 48 81 ec 98 00 00 00 0f 05 <48> 3d 00 f0 ff ff 48 89 c3 0f 87 e9 00 00 00 85 db 0f 88 2f 01 00
RSP: 002b:000000000169fd00 EFLAGS: 00000206 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045bd10
RDX: 0000000000000000 RSI: 0000000000090800 RDI: 00000000004c26b3
RBP: 0000000000000024 R08: 0000000000000000 R09: 0000000002445940
R10: 0000000000000000 R11: 0000000000000206 R12: 000000000000000f
R13: 000000000169fde0 R14: 0000000000076177 R15: 000000000169fdf0

------------[ cut here ]------------
slab index 30576 out of bounds (343) for stack id 07777770
WARNING: CPU: 1 PID: 9845 at lib/stackdepot.c:235 stack_depot_fetch+0x2d/0x60 lib/stackdepot.c:234

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/01 00:29 https://github.com/google/kmsan.git master 5edb1df295b9 8516f6d3 .config console log report info ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.