There are 7 open security issues in sid.
There are 7 open security issues in forky.
There are 31 open security issues in bullseye.
Among the 68 debian patches available in version 2.14~git20250718.0e36779-2 of the package, we noticed the following issues:
commit e369204e2c3a1dd3a385090c9f999cfafe3a88e6
Author: Mate Kukri <mate.kukri@canonical.com>
Date: Tue Jan 27 16:04:07 2026 +0000
Update changelog
commit ecd605badbe2d2388e78bf8816b1f6ff319ef03b
Author: Mate Kukri <mate.kukri@canonical.com>
Date: Tue Jan 27 15:02:52 2026 +0000
d/rules: Remove iso9660_test from XFAIL_TESTS
This test is passing now, it seems like it does not need root.
commit 42a54f36061d025190534fb84fcace6bd44766e9
Author: Mate Kukri <mate.kukri@canonical.com>
Date: Tue Jan 27 12:02:27 2026 +0000
d/rules: Add zfs_zstd_test to XFAIL_TESTS
Like all other FS tests, this is not able to run in the build
environment.
commit bfc133635103d0a59417ab297ad05d6f6436ea2c
Author: Mate Kukri <mate.kukri@canonical.com>
Date: Tue Jan 27 11:32:23 2026 +0000
d/p: Do not use --image-base for linking, unbreak grub-pc
commit b5965bdbc7ec6f5c7ef117add32a075f74a5aad6
Author: Mate Kukri <mate.kukri@canonical.com>
Date: Tue Jan 27 11:42:08 2026 +0000
d/p: Do not check for autoconf-archive, the check is broken
commit fc0302c52423258a9a68cfde32ce588748cda4eb
Merge: de5c70ab 62ae9609
Author: Mate Kukri <mate.kukri@canonical.com>
Date: Mon Jan 26 18:02:36 2026 +0000
Merge branch 'arraybolt3/disable-ntldr-img' into 'master'
Disable grub-extras/ntldr-img
See merge request grub-team/grub!87
commit 62ae9609a279d0d5f32950e5ba6a895cc68916c8
Author: Aaron Rainbolt <arraybolt3@gmail.com>
Date: Mon Jan 26 12:02:35 2026 -0600
Disable grub-extras/ntldr-img
commit de5c70ab58de8c3e6f1ed7edf8f7380b9051efa6
Author: Mate Kukri <mate.kukri@canonical.com>
Date: Mon Jan 26 17:46:21 2026 +0000
d/control: Add autoconf-archive to build depends
commit d3fb99ef3af277b90f0a3a5770a4725e28ea6cea
Author: Mate Kukri <mate.kukri@canonical.com>
Date: Mon Jan 26 17:38:20 2026 +0000
Rebase patches on new upstream 2.14 release
commit df95348569b312ae25f21906ac177f9e66a6df5d
Merge: 60bd5b52 3e5df191
Author: Mate Kukri <mate.kukri@canonical.com>
Date: Mon Jan 26 17:21:12 2026 +0000
Update upstream source from tag 'upstream/2.14'
Update to upstream version '2.14'
with Debian dir 45628b7da8b01c39163b4c7e5f1bec9a7c110c5f
commit 3e5df191b3919ced7065635eced00a8b84d906c2
Merge: 71350dbc d38d6a1a
Author: Mate Kukri <mate.kukri@canonical.com>
Date: Mon Jan 26 17:14:25 2026 +0000
New upstream version 2.14
commit d38d6a1a9b79427848976f53d474392cd29c2a71
Author: Daniel Kiper <daniel.kiper@oracle.com>
Date: Wed Jan 14 16:46:57 2026 +0100
Release 2.14
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 35bfd6c47864e5fc0d51415e8874b2efd567b96d
Author: Daniel Kiper <daniel.kiper@oracle.com>
Date: Tue Jan 13 18:38:38 2026 +0100
build: Add grub-core/tests/crypto_cipher_mode_vectors.h file to EXTRA_DIST
This file was not added to EXTRA_DIST during test creation.
Fixes: 51ebc6f67 (tests: Add functional tests for ecb/cbc helpers)
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Alec Brown <alec.r.brown@oracle.com>
Reviewed-by: Srish Srinivasan <ssrish@linux.ibm.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
commit ac042f3f58d33ce9cd5ff61750f06da1a1d7b0eb
Author: Radoslav Kolev <radoslav.kolev@suse.com>
Date: Tue Jan 13 10:04:22 2026 +0200
configure: Print a more helpful error if autoconf-archive is not installed
... because an undefined macro receives another macro as parameter and
autoconf is not smart enough to produce a useful error message.
Signed-off-by: Radoslav Kolev <radoslav.kolev@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit e37d0215830b1221c7a0c62f4642716b142f8f5c
Author: Avnish Chouhan <avnish@linux.ibm.com>
Date: Mon Jan 12 23:20:14 2026 +0530
kern/ieee1275/openfw: Add a check for invalid partition number
The grub_strtoul() may fail in several scenarios like invalid input,
overflow, etc. Lack of proper check may lead to unexpected failures
in the code further.
Signed-off-by: Avnish Chouhan <avnish@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit f94eae0f8de428fd25a4c923662cd36ed552b486
Author: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Date: Wed Dec 24 17:58:59 2025 +0530
grub-mkimage: Do not generate empty SBAT metadata
When creating core.elf with SBAT the grub-mkimage does not check if
an SBAT metadata file contains at least an SBAT header or not. It leads to
adding an empty SBAT ELF note for PowerPC and the .sbat section for EFI.
Fix this by checking the SBAT metadata file size against the SBAT header
size before adding SBAT contents to the ELF note or .sbat section.
Signed-off-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 1aa0dd0c04a7e66d127915c54d7d7f1de5974d4f
Author: Yao Zi <me@ziyao.cc>
Date: Wed Dec 31 09:05:53 2025 +0000
configure: Defer check for -mcmodel=large until PIC/PIE checks are done
On RISC-V, large code model is only compatible with position-depedent
code. However, the configure script checks availability of -mcmodel=large
before determining whether PIC/PIE is enabled, and disable them.
This is problematic with toolchains that enable PIE by default, where
check for -mcmodel=large will always fail with,
cc1: sorry, unimplemented: code model 'large' with '-fPIC'
and -mcmodel=medany will be silently used instead, causing relocation
failures at runtime with some memory layouts since -mcmodel=medany
requires all data and code to stay within a contiguous 4 GiB range.
Let's defer the check for -mcmodel=large until PIC/PIE is ensured disabled.
Fixes: f1957dc8a334 (RISC-V: Add to build system)
Reported-by: Han Gao <gaohan@iscas.ac.cn>
Signed-off-by: Yao Zi <me@ziyao.cc>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit ff1edd97526baa7a4aa247966612f46b6c28f14e
Author: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Date: Fri Jan 2 16:13:13 2026 +0530
util/grub-mkimagexx: Stop generating unaligned appended signatures
When creating the core image with an unaligned appended signature size,
e.g. 479, for PowerPC, the grub-mkimage aligns the appended signature
size to a multiple of 4 bytes, but it does not add a padding needed to
align to multiple of 4 bytes appended signature size in the appended
signature ELF note. Therefore, after signing and installing this core
image, the firmware tries to read the magic string "~Module signature
appended~" from the appended signature ELF note but gets the partial
magic string like "Module signature appended~". It leads to the appended
signature magic string match failure.
Example:
grub-mkimage -O powerpc-ieee1275 -o core.elf -p /grub -x \
kernel.der --appended-signature-size 479 ...
sign-file SHA256 ./grub.key ./grub.pem ./core.elf ./core.elf.signed
Without padding: hexdump -C ./core.elf.signed
...
00383550 00 00 00 13 00 00 01 e0 41 53 69 67 41 70 70 65 |........ASigAppe|
00383560 6e 64 65 64 2d 53 69 67 6e 61 74 75 72 65 00 00 |nded-Signature..|
...
003836f0 dd 47 cd ed 02 8e 15 af 5b 09 2e 44 6f da 67 88 |.G......[..Do.g.|
00383700 4d 94 17 31 26 9d 47 95 d8 7c ad 36 00 d2 9c 53 |M..1&.G..|.6...S|
00383710 20 e0 af 60 78 cd 22 e6 ed 45 1e b1 e7 7e cf b5 | ..`x."..E...~..|
00383720 fc 58 ec df 1b ab 7a 00 00 02 00 00 00 00 00 00 |.X....z.........|
00383730 00 01 b7 7e 4d 6f 64 75 6c 65 20 73 69 67 6e 61 |...~Module signa|
00383740 74 75 72 65 20 61 70 70 65 6e 64 65 64 7e 0a |ture appended~.|
Fix this by adding a padding required to align appended signature size in the
appended signature ELF note to multiple of 4 bytes.
Example:
grub-mkimage -O powerpc-ieee1275 -o core.elf -p /grub -x \
kernel.der --appended-signature-size 479 ...
sign-file SHA256 ./grub.key ./grub.pem ./core.elf ./core.elf.signed
With padding: hexdump -C ./core.elf.signed
...
00137460 62 00 00 00 00 00 00 13 00 00 01 ec 41 53 69 67 |b...........ASig|
00137470 41 70 70 65 6e 64 65 64 2d 53 69 67 6e 61 74 75 |Appended-Signatu|
...
00137610 b7 07 cd b6 c8 ca 9a 5b 7c 13 8c 75 1d 1c 54 81 |.......[|..u..T.|
00137620 7f c4 9a 8b bd d7 73 8d 2f 7d d2 e6 d1 3c 52 a9 |......s./}...<R.|
00137630 4e 0b e5 24 ba 0a 82 aa 8e c5 86 fa e1 19 50 ec |N..$..........P.|
00137640 9f a7 9a ed e5 ed 13 35 00 00 02 00 00 00 00 00 |.......5........|
00137650 00 00 01 c2 7e 4d 6f 64 75 6c 65 20 73 69 67 6e |....~Module sign|
00137660 61 74 75 72 65 20 61 70 70 65 6e 64 65 64 7e 0a |ature appended~.|
Signed-off-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 51ebc6f677e7216c8f5a77dd204b2961f27a7c93
Author: Srish Srinivasan <ssrish@linux.ibm.com>
Date: Fri Jan 2 15:57:31 2026 +0530
tests: Add functional tests for ecb/cbc helpers
Test the following helper functions using AES with 128, 192, and
256 bit keys:
- grub_crypto_ecb_encrypt(),
- grub_crypto_ecb_decrypt(),
- grub_crypto_cbc_encrypt(),
- grub_crypto_cbc_decrypt().
Signed-off-by: Srish Srinivasan <ssrish@linux.ibm.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Glenn Washburn <development@efficientek.com>
commit caaf50b9affbd4c9e7313a4fdc03c4fa439a6a1f
Author: Srish Srinivasan <ssrish@linux.ibm.com>
Date: Mon Dec 8 15:51:29 2025 +0530
osdep/aros/hostdisk: Fix use-after-free bug during MsgPort deletion
... in function grub_util_fd_open() when creation of an I/O request or
opening a device fails. The "ret", the file descriptor, will be freed
before its associated MsgPort is deleted resulting in a use-after-free
condition.
Fix this issue by freeing "ret" after its associated MsgPort has been
deleted.
Signed-off-by: Srish Srinivasan <ssrish@linux.ibm.com>
Reviewed-by: Avnish Chouhan <avnish@linux.ibm.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 18f08826f98a58f214b622fbd299bf56389cc94d
Author: Ingo Breßler <dev@ingobressler.net>
Date: Mon Dec 22 11:11:05 2025 +0100
kern/efi/sb: Enable loading GRUB_FILE_TYPE_CRYPTODISK_ENCRYPTION_KEY and GRUB_FILE_TYPE_CRYPTODISK_DETACHED_HEADER
... file types when UEFI Secure Boot is enabled. Otherwise it is not
possible to load cryptodisk encryption key or detached header.
Fixes: https://savannah.gnu.org/bugs/?65889
Signed-off-by: Ingo Breßler <dev@ingobressler.net>
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Alec Brown <alec.r.brown@oracle.com>
commit 25b7f6b9344a4bac18c26ce143a156ac2bcb3ec4
Author: Radoslav Kolev <radoslav.kolev@suse.com>
Date: Fri Dec 19 16:25:03 2025 +0200
blsuki: Error out if unexpected arguments are supplied
This can be especially helpful, as the Fedora version of the blscfg
actually made use of positional arguments, but current implementation
switched to parameters. For example what used to be "blscfg (hd0,gpt2)/..."
now should be "blscfg --path (hd0,gpt2)/...)". In case of old configs/scripts
still supplying positional arguments we will now error out instead of just
ignoring them and falling back to defaults silently.
Signed-off-by: Radoslav Kolev <radoslav.kolev@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit cfeff5e0718329ad666502c15644fef79625168c
Author: Radoslav Kolev <radoslav.kolev@suse.com>
Date: Fri Dec 19 16:25:02 2025 +0200
blsuki: Fix default location in comment to /loader/entries
Signed-off-by: Radoslav Kolev <radoslav.kolev@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit d19a74a17fd92361921a1e8903321d4eac56bcb4
Author: Radoslav Kolev <radoslav.kolev@suse.com>
Date: Fri Dec 19 16:25:01 2025 +0200
blsuki: Use specified device in case of fallback
Currently if the fallback option is enabled and no files are found in
the specified directory it searches the default (loader/conf) directory
but always in the device set by the root environment variable. It makes
more sense and also the comment in the code implies, that the default
directory on the current device should be searched.
Signed-off-by: Radoslav Kolev <radoslav.kolev@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 242816e93fdfd9d5b767118c2de6c8adf64f3818
Author: Radoslav Kolev <radoslav.kolev@suse.com>
Date: Fri Dec 19 16:25:00 2025 +0200
blsuki: Fix position of DIR parameter in blscfg command summary
The DIR parameter in the example should be specified after the -p|--path option
instead of after -f|fallback.
Signed-off-by: Radoslav Kolev <radoslav.kolev@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit b733d9d6dcf04c6aba88a4690a916c2cbb4ec5ac
Author: Radoslav Kolev <radoslav.kolev@suse.com>
Date: Fri Dec 19 16:24:59 2025 +0200
blsuki: Fix typo in entry parameter description
Change "specificUKII entries" to "specific UKI entries".
Signed-off-by: Radoslav Kolev <radoslav.kolev@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 0f0899c32985d3ab194f01c367f094cb38bcd55c
Author: Khalid Ali <khaliidcaliy@gmail.com>
Date: Mon Dec 15 16:59:46 2025 +0000
efi: Fix several memory leaks of UEFI handles
Fix possible and absolute memory leaks of "handles"
returned by grub_efi_locate_handle() using grub_malloc().
Signed-off-by: Khalid Ali <khaliidcaliy@gmail.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit c477a9551903c76466b9208ccf09dc6b9923dc7d
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date: Sat Dec 13 20:59:58 2025 +0100
util/grub-install: Allow recursive copying of theme dirs
grub-install allows to pass a parameter to install a theme in the boot partition.
This works fine for the default starfield theme. However, in general themes can
contain subdirectories, as, e.g. "icons", and these are not copied by grub-install.
As a result, the icons are missing on the screen.
Fix this by simple recursive copying.
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit f551d3de2448ead507a6af6d17afeb34103c2c99
Author: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Date: Sat Dec 13 04:33:52 2025 +0100
commands/efi/lsefisystab: Recognize EFI_MEMORY_ATTRIBUTES_TABLE_GUID and EFI_TCG2_FINAL_EVENTS_TABLE_GUID
Let the lsefisystab command recognize the following table GUIDs:
- EFI_MEMORY_ATTRIBUTES_TABLE_GUID,
- EFI_TCG2_FINAL_EVENTS_TABLE_GUID.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit ee283b14aea03aff13b95f976f58304124f504d6
Author: Glenn Washburn <development@efficientek.com>
Date: Fri Dec 12 00:23:49 2025 -0600
tests/util/grub-fs-tester: Use CSMACINTOSH encoding instead of macroman
From Debian 12 to 13, recode had a major overhaul and now does not support
the macroman encoding. Its unclear if this is a bug or intentional.
Regardless, use the CSMACINTOSH encoding instead as MacRoman and it are
aliases and CSMACINTOSH is supported on both Debian 12 and 13.
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 9b2c8ae5d22463974916fa476f419a5809bc3f6b
Author: Luca Boccassi <luca.boccassi@gmail.com>
Date: Wed Dec 10 23:47:53 2025 +0000
commands/bli: Set UINT32_MAX in LoaderTpm2ActivePcrBanks if TPM2 present but no banks protocol
The implementation in sd-boot was changed to return UINT32_MAX when
the EFI environment detects a working TPM2, but with an older firmware
that doesn't implement the protocol to get the list of active banks.
This allows distinguishing with the case where there is no working TPM2,
in which case userspace just gives up, and instead lets userspace try to
figure it out later.
Fixes: f326c5c47 (commands/bli: Set LoaderTpm2ActivePcrBanks runtime variable)
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit c0669af6a86b57283087cdea2244332eb892f21c
Author: Sridhar Markonda <sridharm@linux.ibm.com>
Date: Tue Dec 2 12:38:45 2025 +0530
script/execute: Add a NULL check after grub_calloc() call
... in gettext_append() to handle allocation errors. This prevents NULL
pointer dereference and stops crashes during string translation.
Signed-off-by: Sridhar Markonda <sridharm@linux.ibm.com>
Signed-off-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 02cae1a3579496ea3fce774d72a4e0f72b721ef1
Author: Avnish Chouhan <avnish@linux.ibm.com>
Date: Mon Dec 1 15:11:23 2025 +0530
disk/ieee1275/ofdisk: Fix memory leaks
In case of an overflow "p" and "p->grub_devpath" will not be freed.
Fix both issues.
Signed-off-by: Avnish Chouhan <avnish@linux.ibm.com>
Reviewed-by: Alec Brown <alec.r.brown@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
commit 09c512b8fabdbc19d5698925c796c43def240bc0
Author: Avnish Chouhan <avnish@linux.ibm.com>
Date: Thu Nov 27 14:32:12 2025 +0530
efiemu/loadcore: Add grub_calloc() failure check
Add a failure check after grub_calloc() call. If grub_calloc()
fails, e.g., due to memory allocation failure, it returns NULL.
Then using grub_efiemu_elfsyms, which will be NULL, later will
result in a NULL pointer dereference.
Signed-off-by: Avnish Chouhan <avnish@linux.ibm.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 641646376b81593be9490864d56b25cd9922f630
Author: George Hu <integral@archlinux.org>
Date: Wed Nov 26 16:45:46 2025 +0800
lib/x86_64/setjmp: Use 32-bit zero idiom for shorter encoding
Switch from "xorq %rax, %rax" to "xorl %eax, %eax". In 64-bit mode
zeroing EAX implicitly clears RAX and the 32-bit form encodes are one
byte smaller while keeping identical semantics.
Signed-off-by: George Hu <integral@archlinux.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit d07ebd11d6cf0219f4cbdf0f268f1b082abefdda
Author: Glenn Washburn <development@efficientek.com>
Date: Thu Nov 20 23:29:41 2025 -0600
tests: Fix nonnative tests labeled as native
The tests asn1_test and tpm2_key_protector_test should be labelled as
nonnative tests because they run tests on the target. A clue that
indicates a nonnative test is the usage of the grub-shell script.
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit a90ccbac677db62fc0c1940cda4388370ac8a04b
Author: Glenn Washburn <development@efficientek.com>
Date: Fri Dec 12 00:21:59 2025 -0600
INSTALL: Add note that the GNU Autoconf Archive may be needed
As of 1a5417f39a0c (configure: Check linker for --image-base support),
the GNU Autoconf Archive is now required to bootstrap GRUB.
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 29f3131a3632c70129a29d924fcb8ac98f08ee2b
Author: Glenn Washburn <development@efficientek.com>
Date: Thu Nov 20 12:56:48 2025 -0600
INSTALL: Fix a grammatical error
Also, add more documentation mentioning that the tests require
a "specially crafted environment" to run. Just running as root
is not enough.
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 0a31df119d9f75fa357960a0f247b2795ba71656
Author: Glenn Washburn <development@efficientek.com>
Date: Thu Nov 20 12:56:47 2025 -0600
bootstrap: Condense and simplify LINGUAS generation
Remove unnecessary subshells. Loop over autogenerated po files only once.
Use existing LINGUAS created by bootstrap instead of finding po files
again.
Add wget as a soft requirement now that we are using bootstrap's code
for updating translation files. This should only be needed if updated
translations are desired, which is the default. There should be older
translation files already, and wget is not necessary if those will
suffice.
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 0dfec2945ae4847de4e7e0d607cde6c144ac9ee1
Author: Glenn Washburn <development@efficientek.com>
Date: Thu Nov 20 12:56:46 2025 -0600
bootstrap: Migrate linguas.sh into bootstrap.conf
Bootstrap has infrastructure for downloading/updating project po files
and generating the LINGUAS file. It uses wget instead of rsync, but
provides the same functionality, namely that only po files that have
a modification date before the corresponding one on the server will get
redownloaded. Bootstrap creates a pristine copy of the po files in
po/.reference, so update .gitignore to ignore that directory.
Bootstrap also creates the po/LINGUAS file, but it does not know to add
in GRUB's autogenerated po files. So move that code from linguas.sh into
the bootstrap epilogue.
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 8a6ea7ab7bed6ed39316897933b8bcf1936ab206
Author: Glenn Washburn <development@efficientek.com>
Date: Thu Nov 20 12:56:45 2025 -0600
bootstrap: Run linguas.sh in bootstrap epilogue
Heretofore, linguas.sh had to be run by the user and a common mistake
made when building GRUB was to not run the command. By adding it to
the bootstrap epilogue it will by default get run at the end of the
bootstrap script. The user no longer needs to remember to run it.
If the --skip-po option is passed to bootstrap, do not run linguas.sh.
This allows for bootstrap to be run without updating the translations,
which might be desired in the future if we track po files so that
translations can be used as they were at time of release.
Update INSTALL file to reflect that it is no longer necessary to run
linguas.sh. Also, fix a list numbering error.
Fixes: 9f73ebd49be (* INSTALL: Document linguas.sh.)
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit cb811bdf053d5e976e50673bd4685a64f63f844c
Author: Avnish Chouhan <avnish@linux.ibm.com>
Date: Thu Nov 20 13:41:41 2025 +0530
normal/cmdline: Add grub_calloc() failure check and fix hist_lines state loss
If grub_calloc() fails hist_lines becomes NULL. It means we loose the
reference to the previously allocated hist_lines and leak memory. With
this change on failure hist_lines still points to the old memory. So,
no leak, no state corruption.
Signed-off-by: Avnish Chouhan <avnish@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 8a850f47d070a19bac355807f16461bf52807510
Author: Michael Chang <mchang@suse.com>
Date: Thu Nov 20 14:25:50 2025 +0800
blsuki: Fix grub_errno leakage in blsuki_is_default_entry()
The grub_strtol() call in blsuki_is_default_entry() can set grub_errno
to either GRUB_ERR_BAD_NUMBER or GRUB_ERR_OUT_OF_RANGE if the input
string is invalid or out of range.
This grub_errno value is currently left uncleared, which can lead to
unexpected behavior in subsequent functions that rely on checking
current state of grub_errno.
Clear grub_errno unconditionally when grub_strtol() reports error so
that we can plug the leak.
Signed-off-by: Michael Chang <mchang@suse.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Avnish Chouhan <avnish@linux.ibm.com>
Reviewed-by: Alec Brown <alec.r.brown@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit a8b2beedf684f0200e252efe9ba5fad2665b2a36
Author: Glenn Washburn <development@efficientek.com>
Date: Wed Nov 19 13:11:35 2025 -0600
Revert "tests: Remove -w param from mkfs.hfsplus command"
The original commit removes testing of GRUB's support for HFS+
wrapping and replaces it with testing that is an exact duplicate of
another test, namely HFS+ without wrapping. To start, the change is
misleading in that it suggests that the testing of HFS+ wrapping is
still taking place, when it is not. If it was desired to remove support
for testing the HFS+ wrapping, then the test should have been removed
entirely. Second, having a series of tests that are exactly the same is
just a waste of testing resources. And third, the justification for the
change is nonsensical. Just because a required program may not have
a required feature on a particular distro is not a reason that a test
should be removed. Reducing test coverage because some distros do not
have the tools GRUB needs to run certain tests goes against the testing
priority to have test coverage be as broad as possible. The fact is
that Debian, the officially supported distro for running the tests, does
have a mkfs.hfsplus that supports the -w parameter.
This reverts commit 2bc0929a2 (tests: Remove -w param from mkfs.hfsplus command).
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 14376470520d3106e32f5c0db4d15a86e7eaf33a
Author: Glenn Washburn <development@efficientek.com>
Date: Wed Nov 19 13:11:34 2025 -0600
Revert "tests: Skip tests if required tools are not available"
As explained in commit a21618c8a (tests: Test aborts due to missing
requirements should be marked as error instead of skipped) and in the
Automake manual[1], skipped tests are tests that should not be run, e.g.
running the ohci test on the powerpc-ieee1275 as there are no native ohci
drivers for that platform. Test that fail for reasons other than there is
a bug in GRUB code that is causing the test to fail are hard errors.
Commonly this is because the test is run in an improperly configured
environment, like required programs are missing. If a hard error condition
is identified with a SKIP return code, the person running the tests can not
know without investigating every skip if a SKIP in the tests was because
the test does not apply to the target being tested or because the user had
a misconfigured environment that was causing the test not to run. By
ensuring that a test is skipped only when it should not run, the person
running the test can be sure that there is no need to investigate why the
test was skipped.
This reverts commit bf13fed5f (tests: Skip tests if required tools are not available).
[1] https://www.gnu.org/software/automake/manual/automake.html#Generalities-about-Testing
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 07c250487fea48fb934efab2bdfe32e9339cfabf
Author: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Date: Wed Nov 19 15:30:47 2025 +0530
osdep/linux/ofpath: Add missing strdup() failure checks
Segmentation faults or undefined behaviour may result from a NULL pointer
dereference in strip_trailing_digits() and grub_util_devname_to_ofpath()
if strdup() fails. Therefore, I added a NULL check to fix this.
Signed-off-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Srish Srinivasan <ssrish@linux.ibm.com>
Reviewed-by: Avnish Chouhan <avnish@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit ae69b464bedfdf4da9147124dce28cbebf3bb3d9
Author: Vladimir Serbinenko <phcoder@gmail.com>
Date: Wed Nov 19 06:37:32 2025 +0000
lib/relocator: Fix dereference after NULL check
In the function free_subchunk(), after checking that subchu->post isn't NULL,
grub_memset() is called on subchu->pre->freebytes but it should be called on
subchu->post->freebytes. If subchu->pre is NULL but subchu->post isn't NULL,
then this could lead to a NULL pointer dereference.
Fixes: CID 473882
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Signed-off-by: Alec Brown <alec.r.brown@oracle.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 1a5417f39a0ccefcdd5440f2a67f84d2d2e26960
Author: Nicholas Vinson <nvinson234@gmail.com>
Date: Tue Nov 18 19:38:07 2025 -0500
configure: Check linker for --image-base support
In several scenarios, configure tests assume it's safe to use
"-Wl,-Ttext,<address>", but starting with ld.lld-21, blindly using that
flag may result in configure-test failures due to ld.lld failing to
link. The failure is because ld.lld-21 no longer allows the specified
address is less than the base address.
However, ld.lld-21+ and ld.bfd-2.44+ both provide support for the
--image-base flag making it preferable over the older -Ttext flag.
Fixes: https://savannah.gnu.org/bugs/?67662
Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit f41c896d2345bee41e4db9208e1dbb7f8d621c02
Author: Glenn Washburn <development@efficientek.com>
Date: Mon Nov 17 18:01:44 2025 -0600
INSTALL: Make note that Linux kernel 6.12.x or earlier is needed for reiserfs testing
Also, remove wording suggesting that tests may be skipped if prerequisites
are not installed. Tests should never be skipped because of an environment
misconfiguration, instead they should return a hard error (code 99).
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit 591e02bc6e3bc6e3cc536794c44fa289f0aa0ebf
Author: Glenn Washburn <development@efficientek.com>
Date: Mon Nov 17 18:01:43 2025 -0600
docs: Reorganize test section and add section on writing tests
Rename the main section to Tests and put the existing test section into
a subsection. A new subsection called "Writing tests" is added to give
a brief overview and make clear the difference in returning a SKIP code
versus a HARD ERROR code.
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
commit db16859e8e859171763bc71bb1f1a4e6e67af169
Author: Glenn Washburn <development@efficientek.com>
Date: Mon Nov 17 18:01:42 2025 -0600
docs: Add note and explanation that the privileged user is required for properly running the tests
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
There are 8 open security issues in trixie.
You can find information about how to handle these issues in the security team's documentation.
There are 30 open security issues in bookworm.
You can find information about how to handle these issues in the security team's documentation.
Automatic checks made by the Debian l10n team found some issues with the translations contained in this package. You should check the l10n status report for more information.
Issues can be things such as missing translations, problematic translated strings, outdated PO files, unknown languages, etc.