sbsigntool prints scary warning about invalid PE-COFF files which should be debug infos (file-aligned section .text extends beyond end of file; checksum areas are greater than image size. Invalid section table?)

Bug #1180649 reported by Craig Denman
174
This bug affects 48 people
Affects Status Importance Assigned to Milestone
Secure boot tools
New
Undecided
Unassigned
sbsigntool (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Error in dist-upgrade to 3.8.0-21 for x86_64 SMP:

Setting up linux-signed-image-3.8.0-21-generic (3.8.0-21.32) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?

The dist-upgrade completed without further errors and system is running with new kernel without any further error.

Tags: artful
Revision history for this message
Yang Lou (happel58) wrote :

i get the same problem when i use uck to modify a livecd. My computer is 13.04 and it occurs when i run "apt-get dist-upgrade" to update linux-signed-image-3.8.0-19-generic

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-signed (Ubuntu):
status: New → Confirmed
Revision history for this message
Pas (pasthelod) wrote :

Still happens, probably more scary than severe.

Setting up linux-signed-image-3.11.0-2-generic (3.11.0-2.5) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?

Revision history for this message
Caleb Bower (lowagner) wrote :

I'm running 13.10, and a recent dist-upgrade resulted in:

Setting up linux-signed-image-3.11.0-12-generic (3.11.0-12.19) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?

Revision history for this message
Brian Candler (b-candler) wrote :

Same for 12.04.3 LTS. During dist-upgrade:

...
Setting up linux-headers-generic-lts-raring (3.8.0.32.32) ...
Setting up linux-signed-image-3.8.0-32-generic (3.8.0-32.47~precise1) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.8.0-32-generic
Found initrd image: /boot/initrd.img-3.8.0-32-generic
...

Revision history for this message
Dalmazio Brisinda (dbrisinda) wrote :

I'm running 13.10, and a recent "apt-get install linux-headers-generic build-essential dkms" gives:

...
Setting up linux-headers-generic (3.11.0.15.16) ...
Setting up linux-signed-image-3.11.0-15-generic (3.11.0-15.25) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?
Generating grub.cfg ...

Revision history for this message
Malte S. Stretz (mss) wrote :

I asked around and this is an overly verbose sbsigntool which should probably not a warning but a debug message:
https://twitter.com/mjg59/status/689745355202691073

affects: linux-signed (Ubuntu) → sbsigntool (Ubuntu)
summary: - Setting up linux-signed-image-3.8.0-21-generic (3.8.0-21.32) ...
- warning: file-aligned section .text extends beyond end of file
+ sbsigntool warning: file-aligned section .text extends beyond end of
+ file; checksum areas are greater than image size. Invalid section table?
Malte S. Stretz (mss)
summary: - sbsigntool warning: file-aligned section .text extends beyond end of
- file; checksum areas are greater than image size. Invalid section table?
+ sbsigntool prints scary warning about invalid PE-COFF files which should
+ be debug infos (file-aligned section .text extends beyond end of file;
+ checksum areas are greater than image size. Invalid section table?)
Steve Langasek (vorlon)
Changed in sbsigntool (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
Revision history for this message
johnnynobody (engage1) wrote :

I have 2 PC's running the same OS (64 bit 16.04.1) and mobo and kernel. Only one gives the warning message.

Setting up linux-signed-image-4.4.0-57-generic (4.4.0-57.78) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?

Revision history for this message
Harald H. (haarektrans) wrote :

Still not fixed.

Ubuntu 16.04.2 LTS 64-bit

Setting up linux-headers-generic (4.4.0.67.72) ...
Setting up linux-generic (4.4.0.67.72) ...
Setting up linux-signed-image-4.4.0-67-generic (4.4.0-67.88) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?

Revision history for this message
Edoardo Barolo (velteyn) wrote :

Is it possible that this bug can affect motherboard efi boot/bios ?
Because when I use windows in my ASUS H97 plus all works fine.

But when I switch to ubuntu, often after an upgrade (signed image) the computer locks itself not booting at all during BIOS UEFI BOOT !!Than I have to remove bios battery and reset bios using jumper (and also pressing boot button for 10 seconds) than after that I regain PC control.

The very first time I had to remove all peripherals from motherboard... This happens only with ubuntu and only after an upgrade... If use ubuntu or Windows normally (no upgrading) I can go on for months without any problems.. BUT if I upgrade ubuntu this not always, but often happens....

Revision history for this message
Edoardo Barolo (velteyn) wrote :

I forget to mention that tis bug affects me also...

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1180649] Re: sbsigntool prints scary warning about invalid PE-COFF files which should be debug infos (file-aligned section .text extends beyond end of file; checksum areas are greater than image size. Invalid section table?)

On Sat, Apr 15, 2017 at 07:21:44PM -0000, Edoardo Barolo wrote:
> Is it possible that this bug can affect motherboard efi boot/bios ?
> Because when I use windows in my ASUS H97 plus all works fine.

No. This is a spurious warning message in a signing utility, it does not
impact the runtime behavior of EFI boot on Ubuntu.

Revision history for this message
Pavel Francírek (pavel-toplist) wrote :

Affected. Ubuntu 14.04:

Setting up linux-signed-image-3.13.0-129-generic (3.13.0-129.178) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?

Revision history for this message
Bougron (francis-bougron) wrote :

version 17.10

Paramétrage de linux-signed-image-4.13.0-11-generic (4.13.0-11.12) ...
warning: file-aligned section .text extends beyond end of file
warning: checksum areas are greater than image size. Invalid section table?

Revision history for this message
Fred Voisin (fredvoisin) wrote :

Ubuntu 16.04 affected.

Same 2 lines warnings by here after apt upgrade when setting linux-signed-image-4.4.0-96-generic (4.4.0-96.119)...

Linux box 4.4.0-93-generic #116-Ubuntu SMP Fri Aug 11 21:17:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

tags: added: bionic
tags: added: artful
removed: bionic
Revision history for this message
Martin Dünkelmann (nc-duenkekl3-deactivatedaccount) wrote :

Also Ubuntu Mate 17.10

Revision history for this message
Abraham (abrahm79) wrote :

I have reported a bug report for a similar error. The only thing missing is, no mention about sbsigntool.

https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1739720

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.