Those types of messages are usually due to file corruption which would lead me to believe storage or DRAM problems. If your computer is still under warranty you might consider contacting MSI otherwise you're left trying to narrow it down yourself.
If it's a hardware problem this won't fix anything, but if files have just gotten corrupted it can:
Describes how to use the System File Checker tool to troubleshoot missing or corrupted system files in Windows 8.1, Windows 8, Windows 7 or Windows Vista.
support.microsoft.com
Crystal Disk Info can identify if there are any SMART detectable errors with your storage:
About CrystalDiskInfo A HDD/SSD utility software which supports a part of USB, Intel RAID and NVMe. Aoi Edition Standard Edition Shizuku Edition Kurei Kei Edition Download System Requirements OS Windows XP/Vista/7/8/8.1/10/11Windows Server 2003/2008/2012/2016/2019/2022 Architecture x86/x64/ARM64...
crystalmark.info
MemTest can help identify DRAM issues:
MemTest86 is the original self booting memory testing software for x86 and ARM computers. Supporting both BIOS and UEFI, with options to boot from USB.
www.memtest86.com