Repository navigation
[7B] add 4 dbx hashes (2 x64, 2 ia32) - #448
Conversation
|
Hi all; what's the plan going forwards? Do I need to make fwupd changes? |
Depends, does fwupd use the EfiAuthentication2 files (e.g. amd64/DBXUpdate.bin) or the EfiSignatureDatabase files? |
The former, e.g. all these from https://github.com/fwupd/dbx-firmware/blob/main/README.md
So, we'd apply the solo dbx entries one by one in some predetermined order? Isn't that going to increase dbx failures due to nvram fragmentation? IIUC, we want to avoid writing the EFI variables as much as possible -- especially for "large" entries like the dbx. In most firmware implementations the new dbx is allocated from the unused nvram area, then the new data copied, then the old dbx is marked as unused. If the dbx grows multiple times by a few bytes each time isn't that going to exhaust the available space very quickly until some kind of nvram garbage collection -- which firmware has traditionally been very bad at doing -- some only doing when doing a "firmware factory reset"... This also means it's possible to fail midway through the deployment, so rather than going from state A to state B we can get to some intermediate state of "nearly B" which is going to be very difficult to recover from. It's also going to be very difficult to work out what dbx versions we need to deploy for which CVE when OEMs can install the updates themselves out of the factory, and they might install the dbx entries in a different order to fwupd. This proposal goes from "this is the dbx from microsoft" to "build your own adventure". If nothing else, fwupd doesn't "already know" how to deploy multiple dbx updates in one operation, and although this is something that we already support for the db updates -- it still requires me to update the plugin and deploy the client to end users -- which for RHEL takes ~6 months. Can we talk about a timescale of when this has to be done rather than be given a fait accompli that screws over all Linux users? |
|
SochiOgbuanya can someone let me know what is going on please. This feels like a circus. |
YesMultiple writes to the same variable will result in greater flash usage due to how variables are typically written to flash. The old version is marked invalid, and the new (longer) variable will be written to the next available space. Eventually, there will be no more usable space. The more often a variable is changed, the quicker this happens. This will result in more frequent flash reclaim (garbage collection) to reorganize the NVRAM flash volume, which means more frequent block erase cycles. Block erase typically can only be done on reboot, so a batch of small variable appends may not be possible on a single boot.
I still remember the variable space fiasco of 2013. I may or may not have been working for that manufacturer's firmware vendor at the time. I want to say that overall, UEFI implementations are better at detecting that reclaim is needed when booting, but I can say that there are plenty of current products out there that use 10 year old designs for variable handling. |
|
Looks like the 2023-signed ones intentionally left out many binaries signed with Microsoft Windows Production PCA 2011 which is not surprising. However, it appears the three hashes of binaries not related to Microsoft Windows Production PCA 2011 are also missing from the 2023-signed DBX update. It does not make sense that these 3 are suddenly left out (especially without any announcements/notices) when other hashes for binaries related to the same CVEs and signed with the same Microsoft Corporation UEFI CA 2011 are still present. {
"authenticodeHash": "7EAC80A915C84CD4AFEC638904D94EB168A8557951A4D539B0713028552B6B8C",
"hashType": "SHA256",
"flatHash": "3D23947C39680B9FCF22B092B97C9D38EDCC02F7AD13D3A925D1EE0B62797E73",
"filename": "grubx64.efi",
"description": "CVE-2020-10713; CVE-2020-14308; CVE-2020-14309; CVE-2020-14310; CVE-2020-14311; CVE-2020-15705; CVE-2020-15706; CVE-2020-15707",
"isOptional": "true",
"companyName": "Canonical",
"dateOfAddition": "2020-07-01",
"signingAuthority": "CN = Microsoft Corporation UEFI CA 2011"
},
{
"authenticodeHash": "E7681F153121EA1E67F74BBCB0CDC5E502702C1B8CC55FB65D702DFBA948B5F4",
"hashType": "SHA256",
"flatHash": "0AC2943ABF5EF953B939247B74331FB2C437E405A81DD5569D9CFF1D6183D53A",
"filename": "gcdx64.efi",
"description": "CVE-2020-10713; CVE-2020-14308; CVE-2020-14309; CVE-2020-14310; CVE-2020-14311; CVE-2020-15705; CVE-2020-15706; CVE-2020-15707",
"isOptional": "true",
"companyName": "Canonical",
"dateOfAddition": "2020-07-01",
"signingAuthority": "CN = Microsoft Corporation UEFI CA 2011"
},
{
"authenticodeHash": "804E354C6368BB27A90FAE8E498A57052B293418259A019C4F53A2007254490F",
"hashType": "SHA256",
"flatHash": "8E8ADDB29426D845A0101C2C1F26C2E7FE8C78128AB04F16CFCB4E06461B0101",
"filename": "grubnetx64.efi",
"description": "CVE-2020-10713; CVE-2020-14308; CVE-2020-14309; CVE-2020-14310; CVE-2020-14311; CVE-2020-15705; CVE-2020-15706; CVE-2020-15707",
"isOptional": "true",
"companyName": "Canonical",
"dateOfAddition": "2020-07-01",
"signingAuthority": "CN = Microsoft Corporation UEFI CA 2011"
},These 3 entries originally do not have isOptional flags. 8e4a78b added isOptional for these 3, e30975a removes them then a93ac6b adds isOptional to them again. All these happening without any explanation will definitely affect the confidence on Microsoft's provided DBX updates. This PR has also already been open for one month, from one patch Tuesday to the next. |
|
Left a comment on another PR but also copying here: |
Thanks for the explanation. |
…the 404 amd64/ segment Classification: broken Source: microsoft/secureboot_objects#448 (merged 2026-09-01; moved Optional/DB/amd64/*.bin up one level) Before: harvester-vms.md in-guest append — .../Optional/DB/amd64/DBUpdate3P2023.bin (404) After: .../Optional/DB/DBUpdate3P2023.bin (200) The previous pass fixed linux-bare-metal.md but missed the copy in harvester-vms.md. The sources.md row also claimed the amd64/ directory never existed; the PR #448 file list shows it was renamed away, so the row now records drift rather than an authoring error. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… not absent or total Classification: version-drift Source: microsoft/secureboot_objects#448 (2026-09-01, split dbx into SignedByKEK2023/ and SignedByKEK2011/) microsoft/secureboot_objects#469 + release v1.7.1 (2026-10-20): KEK-2011 SVN file "has bootmgr v11 SVN"; KEK-2023 dbx_SVN.efiauth2 "has all the latest SVN values (bootmgr v11, cdboot v3, wdsmgfw v3)" microsoft/secureboot_objects#479 (2026-10-20, 2011-signed bootmgfw v12 SVN still published) microsoft/secureboot_objects#468 (old DBX/<arch>/ paths restored, deleted in 2027) Signer of each tree read from the payload bytes: SignedByKEK2011 files chain to KEK CA 2011, SignedByKEK2023 files to KEK 2K CA 2023. Before: SKILL.md — freeze "now live": a 2011-KEK machine "can't receive new dbx revocations"; mechanism.md and gotchas-and-decisions.md — freeze "not yet started" (three files, two contradictory states) After: all three — partial: new hashes and bootmgr SVN still ship 2011-signed; cdboot/wdsmgfw SVN ship 2023-signed only. mechanism.md gains the three-path table so an agent applies the right tree. Backlog watch item re-aimed at the end of 2011-signed dbx. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…h owner/repo Classification: broken (unresolvable citations) Source: check-issue-states.py reported 8 bare #N citations naming no repo Before: "bug #7343", "harvester#7343", "harvester-installer#1217", "PR #448/#468/#469/#479" After: harvester/harvester#7343, harvester/harvester-installer#1217, microsoft/secureboot_objects#448 etc. Re-run resolves 6 citations, 0 state contradictions (harvester/harvester#7343 closed as completed with a QA verification on v1.8.0-dev; the installer PR merged 2026-01-14). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Description
4 hashes revoked, all related to previous revocation in april
Someone (hopefully not me) is going to have to update the scripts and pipelines and such to handle multiple efiauth2 files.
Going forward, each hash revoked will have its own file