MSI have released updated BIOS versions for their Z370 motherboards to protect against Meltdown and Spectre which you can download here.
These patches are live now, with new BIOS versions in the works for the renaming series, including all X299, 200, 100-series and X99 series including the various X, H and B sub-series motherboards.
The list is quite large! Way to go MSI. Just follow that link to see if your board will be getting an update or has one now.
The page lists the version number of the upcoming BIOS you will need, so do check back often to get the fix as soon as you can.