2015-05-28 23:34:48 |
dann frazier |
bug |
|
|
added bug |
2015-08-11 14:59:29 |
dann frazier |
attachment added |
|
progress-check-filename-for-NULL.patch https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1459872/+attachment/4442954/+files/progress-check-filename-for-NULL.patch |
|
2015-08-11 16:17:46 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2015-09-24 09:33:11 |
Sebastien Bacher |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2015-10-12 16:54:30 |
dann frazier |
summary |
arm64 images built w/ the progress module crash GRUB |
crash when progress mod used w/ net files |
|
2015-10-12 16:55:02 |
dann frazier |
summary |
crash when progress mod used w/ net files |
using progress mod w/ net files crashes |
|
2015-10-12 16:55:22 |
dann frazier |
nominated for series |
|
Ubuntu Vivid |
|
2015-10-12 16:55:22 |
dann frazier |
bug task added |
|
grub2 (Ubuntu Vivid) |
|
2015-10-12 16:55:22 |
dann frazier |
nominated for series |
|
Ubuntu Wily |
|
2015-10-12 16:55:22 |
dann frazier |
bug task added |
|
grub2 (Ubuntu Wily) |
|
2015-10-12 16:55:22 |
dann frazier |
nominated for series |
|
Ubuntu Trusty |
|
2015-10-12 16:55:22 |
dann frazier |
bug task added |
|
grub2 (Ubuntu Trusty) |
|
2015-10-12 17:47:24 |
dann frazier |
description |
GRUB version 2.02~beta2-9ubuntu1.2
Booting a grub image w/ the progress module on a certain arm64/EFI systems causes GRUB to crash w/ Synchronous Exceptions. This isn't reproducible in QEMU.
Reproduction. The simple case is to create a grub image with *just* the progress module:
$ grub-mkimage -v -o grubaa64.efi -O arm64-efi -d /home/dannf/x/usr/lib/grub/arm64-efi progress
Booting the resulting image:
[1] PXE
[2] ubuntu
[3] Shell
[4] Boot Manager
Start: 1
..
Synchronous Exception at 0x0000000FF7C3DDC8
Synchronous Exception at 0x0000000FF7C3DDC8
Synchronous Exception at 0x0000000FF7C3DDC8
Synchronous Exception at 0x0000000FF7C3DDC8
[...] |
[Impact]
If the progress module is loaded, GRUB will crash when loading files over the network. A common scenario where this occurs is when building a GRUB image for EFI netbooting w/ all modules included. MAAS does this when generating it's grubnet EFI binary. MAAS currently works around this by explicitly blacklisting the progress module - but only on arm64 (we'd only observed this on arm64 at the time, and didn't yet know the root cause).
While the easy workaround is to just omit the progress module, it isn't at all obvious from the crash that progress.mod is the cause.
[Test Case]
The simple case is to create a grub image with *just* the progress module and netboot it. For arm64:
$ grub-mkimage -v -o grubaa64.efi -O arm64-efi -d /home/dannf/x/usr/lib/grub/arm64-efi progress
Booting the resulting image:
[1] PXE
[2] ubuntu
[3] Shell
[4] Boot Manager
Start: 1
..
Synchronous Exception at 0x0000000FF7C3DDC8
Synchronous Exception at 0x0000000FF7C3DDC8
Synchronous Exception at 0x0000000FF7C3DDC8
Synchronous Exception at 0x0000000FF7C3DDC8
[...]
[Regression Risk]
The upstream fix for this is a pretty surgical fix to check for NULL before dereferencing a pointer. |
|
2015-10-14 04:22:08 |
Launchpad Janitor |
branch linked |
|
lp:debian/grub2 |
|
2015-10-14 15:01:19 |
Mathieu Trudel-Lapierre |
grub2 (Ubuntu Wily): status |
New |
In Progress |
|
2015-10-14 15:01:21 |
Mathieu Trudel-Lapierre |
grub2 (Ubuntu Wily): importance |
Undecided |
Medium |
|
2015-10-14 15:01:25 |
Mathieu Trudel-Lapierre |
grub2 (Ubuntu Wily): assignee |
|
Mathieu Trudel-Lapierre (mathieu-tl) |
|
2015-10-14 15:07:36 |
Mathieu Trudel-Lapierre |
grub2 (Ubuntu): status |
In Progress |
Fix Released |
|
2015-10-14 15:07:51 |
Mathieu Trudel-Lapierre |
grub2 (Ubuntu Wily): status |
Fix Released |
Fix Committed |
|
2015-10-14 16:32:29 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/wily-proposed/grub2 |
|
2015-10-14 21:15:16 |
Launchpad Janitor |
grub2 (Ubuntu Wily): status |
Fix Committed |
Fix Released |
|
2015-10-19 04:35:55 |
Launchpad Janitor |
branch linked |
|
lp:debian/stretch/grub2 |
|
2015-11-03 20:07:12 |
Mathew Hodson |
grub2 (Ubuntu Trusty): importance |
Undecided |
Medium |
|
2015-11-03 20:07:13 |
Mathew Hodson |
grub2 (Ubuntu Vivid): importance |
Undecided |
Medium |
|
2015-11-03 20:09:09 |
Mathew Hodson |
tags |
patch |
patch trusty |
|
2015-11-10 15:36:12 |
Sebastien Bacher |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2015-11-25 01:10:49 |
Launchpad Janitor |
branch linked |
|
lp:~yarmouth-team/grub2/trusty |
|
2015-12-02 16:07:05 |
Steve Langasek |
grub2 (Ubuntu Trusty): status |
New |
Fix Committed |
|
2015-12-02 16:07:08 |
Steve Langasek |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-12-02 16:07:10 |
Steve Langasek |
bug |
|
|
added subscriber SRU Verification |
2015-12-02 16:07:14 |
Steve Langasek |
tags |
patch trusty |
patch trusty verification-needed |
|
2015-12-02 16:22:15 |
Steve Langasek |
grub2 (Ubuntu Vivid): status |
New |
Fix Committed |
|
2015-12-03 18:57:03 |
dann frazier |
tags |
patch trusty verification-needed |
patch trusty verification-done |
|
2015-12-10 18:13:19 |
Launchpad Janitor |
grub2 (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2015-12-10 18:13:35 |
Steve Langasek |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2015-12-17 14:37:44 |
Chris J Arges |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-12-17 14:37:48 |
Chris J Arges |
tags |
patch trusty verification-done |
patch trusty |
|
2015-12-17 14:37:49 |
Chris J Arges |
tags |
patch trusty |
patch trusty verification-needed |
|
2015-12-17 21:58:37 |
dann frazier |
tags |
patch trusty verification-needed |
patch trusty verification-done verification-vivid-done |
|
2015-12-18 00:59:12 |
Colin Watson |
tags |
patch trusty verification-done verification-vivid-done |
patch trusty verification-done verification-done-vivid |
|
2016-01-05 17:55:42 |
Launchpad Janitor |
grub2 (Ubuntu Vivid): status |
Fix Committed |
Fix Released |
|