syzbot


KMSAN: uninit-value in __set_oom_adj

Status: auto-closed as invalid on 2022/02/01 02:49
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 398d, last: 398d

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in __set_oom_adj+0x559/0x1120 fs/proc/base.c:1083
 __set_oom_adj+0x559/0x1120 fs/proc/base.c:1083
 oom_score_adj_write+0x37e/0x420 fs/proc/base.c:1235
 vfs_write+0x85a/0x1f20 fs/read_write.c:592
 ksys_write+0x28c/0x520 fs/read_write.c:647
 __do_sys_write fs/read_write.c:659 [inline]
 __se_sys_write fs/read_write.c:656 [inline]
 __x64_sys_write+0xdb/0x120 fs/read_write.c:656
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Local variable buf created at:
 nla_put_ifalias+0x74/0x1c0 net/core/rtnetlink.c:1557
 rtnl_fill_ifinfo+0x1ae6/0x3340 net/core/rtnetlink.c:1738
=====================================================
Kernel panic - not syncing: panic_on_kmsan set ...
CPU: 1 PID: 21523 Comm: syz-executor.4 Tainted: G    B             5.15.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1ff/0x28e lib/dump_stack.c:106
 dump_stack+0x25/0x28 lib/dump_stack.c:113
 panic+0x44f/0xdeb kernel/panic.c:232
 kmsan_report+0x2ee/0x300 mm/kmsan/report.c:196
 __msan_warning+0xb4/0x100 mm/kmsan/instrumentation.c:199
 __set_oom_adj+0x559/0x1120 fs/proc/base.c:1083
 oom_score_adj_write+0x37e/0x420 fs/proc/base.c:1235
 vfs_write+0x85a/0x1f20 fs/read_write.c:592
 ksys_write+0x28c/0x520 fs/read_write.c:647
 __do_sys_write fs/read_write.c:659 [inline]
 __se_sys_write fs/read_write.c:656 [inline]
 __x64_sys_write+0xdb/0x120 fs/read_write.c:656
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fcd4906c5ff
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48
RSP: 002b:00007fcd49700850 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fcd4906c5ff
RDX: 0000000000000004 RSI: 00007fcd497008a0 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 00007fcd497007f0
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fcd49113fad
R13: 00007fcd497008a0 R14: 0000000000000000 R15: 00007fcd49700e40
Shutting down cpus with NMI
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2021/11/03 02:48 https://github.com/google/kmsan.git master 59bd88c25ffc 17f3edd2 .config log report info KMSAN: uninit-value in __set_oom_adj
* Struck through repros no longer work on HEAD.