[Bug 1837996] [NEW] uefi shell can't laod the fwupaa64.efi

gaobinghu 1837996 at bugs.launchpad.net
Fri Jul 26 08:45:13 UTC 2019


Public bug reported:

My paltform is ARM64:
step:
1.I install fwupdate in ubtunu 19.04 OS,then reboot the system after install finished.
2.Boot to UEFI shell,and find the fwupaa64.efi.
3.run fwupaa64.efi,I get the follow error
FS1:\efi\ubuntu\> fwupaa64.efi
Unloading driver at 0x00000000000
Command Error Status: Load Error

I also trace the issue in BIOS, The error is "0xBC00 + 0x1D80 > 0xD870"

BIOS code:
  
  if (Address >= ImageContext->ImageSize + TeStrippedOffset) {
    ImageContext->ImageError = IMAGE_ERROR_INVALID_IMAGE_ADDRESS;
    return NULL;
  }

BIOS trace log:
kavi PeCoffLoaderLoadImage e
kavi PeCoffLoaderLoadImage NumberOfSections = 0x2
kavi PeCoffLoaderLoadImage Size = 0xAC00
kavi PeCoffLoaderLoadImage TeStrippedOffset = 0x0
kavi PeCoffLoaderLoadImage Section->VirtualAddress = 0x1000
kavi PeCoffLoaderLoadImage Section->Misc.VirtualSize = 0xAC00
kavi ImageContext->ImageSize = 0xD870
kavi PeCoffLoaderLoadImage Base = 0x3A393000
kavi PeCoffLoaderLoadImage End = 0x3A39DBFF
kavi PeCoffLoaderLoadImage Size = 0x1D80
kavi PeCoffLoaderLoadImage TeStrippedOffset = 0x0
kavi PeCoffLoaderLoadImage Section->VirtualAddress = 0xBC00
kavi PeCoffLoaderLoadImage Section->Misc.VirtualSize = 0x1D80
kavi ImageContext->ImageSize = 0xD870
kavi PeCoffLoaderLoadImage Base = 0x3A39DC00
kavi PeCoffLoaderLoadImage End = 0x0
kavi PeCoffLoaderLoadImage f
kavi CoreLoadPeImage 6 Status = Load Error

** Affects: fwupdate (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fwupdate in Ubuntu.
https://bugs.launchpad.net/bugs/1837996

Title:
  uefi shell can't laod the fwupaa64.efi

Status in fwupdate package in Ubuntu:
  New

Bug description:
  My paltform is ARM64:
  step:
  1.I install fwupdate in ubtunu 19.04 OS,then reboot the system after install finished.
  2.Boot to UEFI shell,and find the fwupaa64.efi.
  3.run fwupaa64.efi,I get the follow error
  FS1:\efi\ubuntu\> fwupaa64.efi
  Unloading driver at 0x00000000000
  Command Error Status: Load Error

  I also trace the issue in BIOS, The error is "0xBC00 + 0x1D80 >
  0xD870"

  BIOS code:
    
    if (Address >= ImageContext->ImageSize + TeStrippedOffset) {
      ImageContext->ImageError = IMAGE_ERROR_INVALID_IMAGE_ADDRESS;
      return NULL;
    }

  BIOS trace log:
  kavi PeCoffLoaderLoadImage e
  kavi PeCoffLoaderLoadImage NumberOfSections = 0x2
  kavi PeCoffLoaderLoadImage Size = 0xAC00
  kavi PeCoffLoaderLoadImage TeStrippedOffset = 0x0
  kavi PeCoffLoaderLoadImage Section->VirtualAddress = 0x1000
  kavi PeCoffLoaderLoadImage Section->Misc.VirtualSize = 0xAC00
  kavi ImageContext->ImageSize = 0xD870
  kavi PeCoffLoaderLoadImage Base = 0x3A393000
  kavi PeCoffLoaderLoadImage End = 0x3A39DBFF
  kavi PeCoffLoaderLoadImage Size = 0x1D80
  kavi PeCoffLoaderLoadImage TeStrippedOffset = 0x0
  kavi PeCoffLoaderLoadImage Section->VirtualAddress = 0xBC00
  kavi PeCoffLoaderLoadImage Section->Misc.VirtualSize = 0x1D80
  kavi ImageContext->ImageSize = 0xD870
  kavi PeCoffLoaderLoadImage Base = 0x3A39DC00
  kavi PeCoffLoaderLoadImage End = 0x0
  kavi PeCoffLoaderLoadImage f
  kavi CoreLoadPeImage 6 Status = Load Error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwupdate/+bug/1837996/+subscriptions



More information about the foundations-bugs mailing list