[GIT PULL] Kbuild fixes for 7.1 #2

From: Nicolas Schier

Date: Tue May 19 2026 - 06:38:43 EST


Hi Linus,

please pull this second round of Kbuild fixes for v7.1-rc5 with two commits.
If there are any issues, please let me know.

Thanks and kind regards,
Nicolas




The following changes since commit 5200f5f493f79f14bbdc349e402a40dfb32f23c8:

Linux 7.1-rc4 (2026-05-17 13:59:58 -0700)

are available in the Git repository at:

ssh://git@xxxxxxxxxxxxxxxxxxx/pub/scm/linux/kernel/git/kbuild/linux.git tags/kbuild-fixes-7.1-2

for you to fetch changes up to 202550713128da20d9381d6d2dc0f6b73839f434:

kbuild: pacman-pkg: make "rc" releases adhere to pacman versioning scheme (2026-05-19 12:29:19 +0200)

----------------------------------------------------------------
Second round of Kbuild fixes for 7.1

- modpost: prevent stack buffer overflow in do_input_entry() and do_dmi_entry()

Defensively replace unbound sprintf() calls in file2alias to prevent
silent stack overflows and detect alias name overflows with proper
error message.

- kbuild: pacman-pkg: make "rc" releases adhere to pacman versioning scheme

Enable smooth upgrades from "rc" releases w/ pacman packages.

Cc: Hasan Basbunar <basbunarhasan@xxxxxxxxx>
Cc: Nathan Chancellor <nathan@xxxxxxxxxx>
Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Cc: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
Cc: Viktor Jägersküpper <viktor_jaegerskuepper@xxxxxxxxxx>

----------------------------------------------------------------
Hasan Basbunar (1):
modpost: prevent stack buffer overflow in do_input_entry() and do_dmi_entry()

Viktor Jägersküpper (1):
kbuild: pacman-pkg: make "rc" releases adhere to pacman versioning scheme

scripts/mod/file2alias.c | 79 ++++++++++++++++++++++++++++++++----------------
scripts/package/PKGBUILD | 2 +-
2 files changed, 54 insertions(+), 27 deletions(-)

--
Nicolas

Attachment: signature.asc
Description: PGP signature