shim crashes in OBJ_create()

Bug #1811901 reported by dann frazier on 2019-01-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shim (Ubuntu)
Critical
Mathieu Trudel-Lapierre
shim-signed (Ubuntu)
Critical
Mathieu Trudel-Lapierre

Bug Description

After working around LP: #1811722, I hit another bug that causes shim to crash on arm64. Backtrace (w/ manually decoded function names):

Synchronous Exception at 0x00000000B81D71E8
PC 0x0000B81D71E8 strcmpa
PC 0x0000B816DF14 strcmp
PC 0x0000B81751D4 strcmp
PC 0x0000B817582C OBJ_bsearch_ex_
PC 0x0000B81759EC OBJ_create
PC 0x0000B8161B9C verify_eku
PC 0x0000B8161F74 check_db_cert_in_ram
PC 0x0000B81622BC check_db_cert
PC 0x0000B8162EC4 check_whitelist
PC 0x0000B8164988 verify_buffer
PC 0x0000B8165534 handle_image
PC 0x0000B8167190 start_image
PC 0x0000B81672DC init_grub
PC 0x0000B81683FC efi_main
PC 0x0000B8161030 _start
PC 0x0000BF4C7C78 (0x0000BF4C1000+0x00006C78) [ 1] DxeCore.dll

dann frazier (dannf) on 2019-01-15
no longer affects: gnu-efi (Ubuntu)
Changed in shim-signed (Ubuntu):
status: New → Confirmed
description: updated
dann frazier (dannf) wrote :

I've proposed a fix upstream:
  https://github.com/rhboot/shim/pull/174

Changed in shim-signed (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Critical
assignee: nobody → Mathieu Trudel-Lapierre (cyphermox)
Changed in shim (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Mathieu Trudel-Lapierre (cyphermox)
dann frazier (dannf) on 2019-03-28
Changed in shim-signed (Ubuntu):
status: Triaged → Fix Committed
Changed in shim (Ubuntu):
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers