After installing the August 2024 Windows security update, (the Originating KBs listed above) or the August 2024 preview update, you might face issues with booting Linux if you have enabled the dual-boot setup for Windows and Linux in your device. Resulting from this issue, your device might fail to boot Linux and show the error message “Verifying shim SBAT data failed: Security Policy Violation. Something has gone seriously wrong: SBAT self-check failed: Security Policy Violation.”
The August 2024 Windows security and preview updates apply a Secure Boot Advanced Targeting (SBAT) setting to devices that run Windows to block old, vulnerable boot managers. This SBAT update will not be applied to devices where dual booting is detected. On some devices, the dual-boot detection did not detect some customized methods of dual-booting and applied the SBAT value when it should not have been applied.
IMPORTANT: This known issue only occurs with the installation of the August 2024 security and preview updates. The September 2024 security update (the Resolved KBs listed above) and later updates do not contain the settings that caused this issue. If you install the September 2024 update, you don’t need to apply the workaround below.
Workaround:
If your Linux becomes unbootable after installing the August 2024 security or preview updates, you can recover your Linux system by following these instructions.
Important: This documentation contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, see How to back up and restore the registry in Windows. Also, note that modifying firmware settings incorrectly might prevent your device from starting correctly. Follow these instructions carefully and only proceed if you are confident in your ability to do so.
a) Disable Secure Boot:
Boot into your device’s firmware settings.
Disable Secure Boot (steps vary by manufacturer).
b) Delete SBAT Update:
Boot into Linux.
Open the terminal and run the below command:
sudo mokutil –set-sbat-policy delete
Enter your root password if prompted.
Boot into Linux once more.
c) Verify SBAT Revocations:
In the terminal, run the below command:
mokutil –list-sbat-revocations
Ensure the list shows no revocations.
d) Re-enable Secure Boot:
Reboot into the firmware settings.
Re-enable Secure Boot.
e) Check Secure Boot Status:
Boot into Linux. Run the below command:
mokutil –sb-state
The output should be “SecureBoot enabled”. If not, retry step d).
f) Prevent Future SBAT Updates in Windows:
Boot into Windows.
Open Command Prompt as Administrator and run:
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecureBoot\SBAT /v OptOut /d 1 /t REG_DWORDAt this point, you should now be able to boot into Linux or Windows as before. It’s a good time to install any pending Linux updates to ensure your system is secure.
NOTE: On Windows-only systems, after installing the September 2024 or later updates, you can set the registry key documented in CVE-2022-2601 and CVE-2023-40547 to ensure the SBAT security update is applied. On systems that dual-boot Linux and Windows, there are no additional steps necessary after installing the September 2024 or later updates.
Next Steps: We are working on a final resolution that will be available in a future Windows update. We recommend you install the September 2024 update or later Windows updates to avoid this issue.
“IMPORTANT: This known issue only occurs with the installation of the August 2024 security and preview updates. The September 2024 security update (the Resolved KBs listed above) and later updates do not contain the settings that caused this issue. If you install the September 2024 update, you don’t need to apply the workaround below.”
Interesting. When the September updates were posted, I know they indicated that the dual boot problem was not fixed.
Microsoft at it again breaking things with updates. I wonder how many Microsoft employees or there techs, dual boot with Linux, and then have this happen.
Yes i was really referring to the August update that caused this.
Thank you Susan, for your post on the fixes.
That will help some people out reading this post…
Viewing 0 reply threads
Thanks for subscribing!
Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.