[Bug 1363719] Re: efibootmgr may create a duplicated boot entry, "breaking" UEFI boot.

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Wed Feb 18 14:12:34 UTC 2015


** Description changed:

+ [Impact]
+ This bug causes any users with preexisting boot entries in UEFI in a specific pattern to get duplicated entries with a same number, which causes most UEFI BIOSes to reset to default values, thus making Ubuntu unbootable (requires intervention via a different bootable device).
+ The included patch changes the variable sizes for compared data to a more suitable type, since it otherwise caused undersired behavior when doing comparisons.
+ 
+ [Test Case]
+ Using an affected system:
+ 1) Try to create a new bootmgr entry: 'efibootmgr -c'
+ Without the patch, the creation step will add a duplicate entry with the same BootNNNN number.
+ With the patch, the creation should succeed and create a new entry with a new BootNNNN number.
+ 
+ [Regression Potential]
+ Possible regressions may be inability to create new boot entries in the boot manager (though unlikely), or setting the wrong boot order, or other issues related to the addition of boot entries in UEFI.
+ 
+ ---
  Hey,
    the current version of efibootmgr has a small ordering bug that causes, at least on x240, a duplicated boot entry to be added to UEFI, breaking the boot - UEFI resets everything to default values, and you have to boot from usb stick to fix uefi entries. There is an upstream patch that fixes it, and it would be great if we could add it.
  
  Upstream bug report is https://github.com/vathpela/efibootmgr/issues/7

-- 
You received this bug notification because you are a member of Ubuntu
Review Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1363719

Title:
  efibootmgr may create a duplicated boot entry, "breaking" UEFI boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1363719/+subscriptions



More information about the Ubuntu-patch-reviews mailing list