-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-9.4
-
None
-
grub2-2.06-116.el9
-
None
-
Low
-
3
-
rhel-bootloader
-
ssg_display
-
2
-
False
-
False
-
-
None
-
Bootloader Sprint 2025.3, Bootloader Sprint 2025.4, Bootloader Sprint 2025.5
-
-
ppc64le
-
None
What were you trying to do that didn't work?
Running annocheck stack-prot test against grub2-ppc64le-modules reports failures for .mod files under /usr/lib/grub/powerpc-ieee1275 and for the /usr/lib/grub/powerpc-ieee1275/core.elf and /usr/lib/grub/powerpc-ieee1275/kernel.img files.
Please provide the package NVR for which bug is seen:
grub2-ppc64le-modules-2.06-77.el9.noarch
How reproducible:
Deterministic.
Steps to reproduce
- dnf install -y annobin-annocheck
- dnf debuginfo-install -y grub2-ppc64le-modules
- rpm -ql grub2-ppc64le-modules | xargs annocheck --verbose --ignore-unknown --ignore-links --skip-all --test-stack-prot
Actual results
Example of reported failure for /usr/lib/grub/powerpc-ieee1275/btrfs.mod file (note that there are many other files reported but including just one example here as other files fail for the same reason):
Hardened: /usr/lib/grub/powerpc-ieee1275/btrfs.mod: MAYB: test: stack-prot, reason: could not determine how the code was created Hardened: /usr/lib/grub/powerpc-ieee1275/btrfs.mod: info: For more information visit: https://sourceware.org/annobin/annobin.html/Test-stack-prot.html Hardened: /usr/lib/grub/powerpc-ieee1275/btrfs.mod: WARN: This can happen if the program is compiled from a language unknown to annocheck Hardened: /usr/lib/grub/powerpc-ieee1275/btrfs.mod: WARN: or because there are no annobin build notes (could they be in a separate file ?) Hardened: /usr/lib/grub/powerpc-ieee1275/btrfs.mod: WARN: For more details see https://sourceware.org/annobin/annobin.html/Absence-of-compiled-code.html Hardened: /usr/lib/grub/powerpc-ieee1275/btrfs.mod: Overall: FAIL (due to MAYB results).
Expected results
No failures for the stack-prot test - failures are either fixed or in case the failures are expected they are documented in the rpminspect.yaml file to have the test skipped including a comment explaining why.
- links to
-
RHBA-2025:154683
grub2 update