Package: efibootguard
Version: 0.21-2
Severity: important

Dear Maintainer,

The riscv64 kernel-stub EFI binary format is not PE32+ executable.
It is simply a binary.
Previous releases (0.19-1) provided EFI binaries. Could you please verify this 
issue?

# 0.21-2 / riscv64
```
$ file 0.21-2/usr/lib/riscv64-linux-gnu/efibootguard/efibootguardriscv64.efi 
0.21-2/usr/lib/riscv64-linux-gnu/efibootguard/efibootguardriscv64.efi: data
$ od -x 0.21-2/usr/lib/riscv64-linux-gnu/efibootguard/kernel-stubriscv64.efi | 
head
0000000 1121 e02a e42e e806 d517 ffff 0513 ff85
0000020 d597 0000 8593 ff05 40ef 63c0 e511 65a2
0000040 6502 00ef 2170 60c2 0161 8082 7179 f022
0000060 ec26 f406 f417 0000 3403 cf44 601c 84aa
0000100 e402 67bc 4701 0034 4601 f597 0000 b583
0000120 c865 2517 0001 0513 fae5 9782 57fd 17fe
0000140 07b9 0863 00f5 70a2 7402 64e2 4501 6145
0000160 8082 601c 6088 6fa0 20ef 2c10 6098 1693
0000200 0015 4619 f597 0000 b583 c4c5 2517 0001
0000220 0513 f745 9402 70a2 7402 64e2 6145 8082
```

# 0.19-1 / riscv64

```
$ file 0.19-1/usr/lib/riscv64-linux-gnu/efibootguard/kernel-stubriscv64.efi
0.19-1/usr/lib/riscv64-linux-gnu/efibootguard/kernel-stubriscv64.efi: PE32+ 
executable for EFI (application), RISC-V 64-bit (stripped to external PDB), 4 
sections

$ od -x 0.19-1/usr/lib/riscv64-linux-gnu/efibootguard/kernel-stubriscv64.efi | 
head
0000000 5a4d 0000 0000 0000 0000 0000 0000 0000
0000020 0000 0000 0000 0000 0000 0000 0000 0000
*
0000060 0000 0000 0000 0000 0000 0000 0040 0000
0000100 4550 0000 5064 0004 0000 0000 0000 0000
0000120 0000 0000 00f0 0206 020b 1402 5000 0000
0000140 7000 0000 0000 0000 1000 0000 1000 0000
0000160 0000 0000 0000 0000 1000 0000 1000 0000
0000200 0000 0000 0000 0000 0000 0000 0000 0000
0000220 d000 0000 1000 0000 0000 0000 000a 0000
```

Best regards,
  Nobuhiro

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, arm64, i386, riscv64

Kernel: Linux 6.18.5+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to