The short version: LastPass doesn't use the login keyring to save the master password when it's saved opting to instead store it in a local file.
I think it's funny that these things are considered vulns since I can't even count the number of random dev tools (hello awscli that needs a 3rd party wrapper to use the keyring) that need password and keys just lying around in plaintext files.
Filevault, Bitlocker, and LUKS are the only real defense against this sort of thing since once you hijack a logged in session the best you can do is make attacks harder, not actually stop them.