[Bug 1330963] Re: grub-probe: double free or corruption in some rare cases

Launchpad Bug Tracker 1330963 at bugs.launchpad.net
Sun Jun 14 03:23:11 UTC 2015


This bug was fixed in the package grub2 - 2.02~beta2-25

---------------
grub2 (2.02~beta2-25) unstable; urgency=medium

  * Build-depend on dosfstools and mtools on arm64 as well as amd64.

 -- Colin Watson <cjwatson at debian.org>  Fri, 12 Jun 2015 12:29:19 +0100

** Changed in: grub2 (Ubuntu)
       Status: Confirmed => Fix Released

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

Title:
  grub-probe: double free or corruption in some rare cases

Status in GRand Unified Bootloader:
  Unknown
Status in grub2 package in Ubuntu:
  Fix Released

Bug description:
  There is small bug in grub2 in trusty, that causing grub-probe to fail in some rare cases.
  I've got system with follwing scheme:
  GPT (4 HDD): 
  1) 128MB Free space, bios_boot flag 
  2) MDADM RAID10, /boot, ext3
  3) MDADM RAID10, LVM vg0 (for /, /home, etc) 
  4) MDADM RAID10, LVM vg1 (data partitions).

  In this case grub fails with:
  glibc detected *** ./grub-probe: double free or corruption (fasttop): 0x0000000000838760 ***

  Cause of this behavior is grub-core/disk/diskfilter.c:886.

  I've also filed a bug upstream: http://savannah.gnu.org/bugs/?41582
  but it's still not closed and bug is present in Ubuntu 14.04.

  I'm attaching my vision of fixing this bug here. Thoguh, there maybe a
  better way to fix this.

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



More information about the foundations-bugs mailing list