cgroup_file_write+0x398/0x8f0 kernel/cgroup/cgroup.c:4057 kernfs_fop_write_iter+0x51b/0x910 fs/kernfs/file.c:330 call_write_iter include/linux/fs.h:2191 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x830/0x1570 fs/read_write.c:584 ksys_write+0x21b/0x4e0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x8f/0xd0 fs/read_write.c:646 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc78f28b5f9 ===================================================== BUG: KMSAN: uninit-value in show_opcodes+0x2c1/0x2e0 arch/x86/kernel/dumpstack.c:123 show_opcodes+0x2c1/0x2e0 arch/x86/kernel/dumpstack.c:123 show_ip arch/x86/kernel/dumpstack.c:144 [inline] show_iret_regs+0xe3/0x230 arch/x86/kernel/dumpstack.c:149 __show_regs+0x31/0xc90 arch/x86/kernel/process_64.c:74 show_regs_if_on_stack+0x45e/0x530 arch/x86/kernel/dumpstack.c:167 show_trace_log_lvl+0x392/0x490 arch/x86/kernel/dumpstack.c:298 show_stack+0x55/0x60 arch/x86/kernel/dumpstack.c:318 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1c8/0x256 lib/dump_stack.c:106 dump_stack+0x1a/0x23 lib/dump_stack.c:113 dump_header+0x155/0x9a0 mm/oom_kill.c:460 oom_kill_process+0x2e2/0xb30 mm/oom_kill.c:1036 out_of_memory+0xeb5/0x1220 mm/oom_kill.c:1174 mem_cgroup_out_of_memory+0x24a/0x3a0 mm/memcontrol.c:1706 memory_max_write+0x5ad/0x850 mm/memcontrol.c:6455 cgroup_file_write+0x398/0x8f0 kernel/cgroup/cgroup.c:4057 kernfs_fop_write_iter+0x51b/0x910 fs/kernfs/file.c:330 call_write_iter include/linux/fs.h:2191 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x830/0x1570 fs/read_write.c:584 ksys_write+0x21b/0x4e0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x8f/0xd0 fs/read_write.c:646 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Local variable opcodes created at: show_opcodes+0x49/0x2e0 arch/x86/kernel/dumpstack.c:118 show_ip arch/x86/kernel/dumpstack.c:144 [inline] show_iret_regs+0xe3/0x230 arch/x86/kernel/dumpstack.c:149 CPU: 1 PID: 6443 Comm: syz-executor.3 Not tainted 6.1.0-rc2-syzkaller-61955-g4a3e741a3d6a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 =====================================================