init-fix-early-boot-crash-with-bare-hostname-parameter.patch removed from -mm tree
The quilt patch titled
Subject: init: fix early boot crash with bare hostname parameter
has been removed from the -mm tree. Its filename was
init-fix-early-boot-crash-with-bare-hostname-parameter.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Thorsten Blum <[email protected]>
Subject: init: fix early boot crash with bare hostname parameter
Date: Wed, 26 Aug 2026 12:09:03 +0200
When a bare hostname parameter is specified on the kernel command line without the '=' separator, early parameter parsing passes NULL to early_hostname(), which dereferences it in strscpy() and can crash the system during early boot.
Reject NULL values in early_hostname() and return -EINVAL instead.
---
init/version.c | 3 +++ 1 file changed, 3 insertions(+)
init/version.c renamed from init/version.c~init-fix-early-boot-crash-with-bare-hostname-parameter +3 -0
@@ -23,6 +23,9 @@ static int __init early_hostname(char *asize_t maxlen = bufsize -1 ;ssize_t arglen; +if (!arg) +return -EINVAL ; + arglen =strscpy (init_uts_ns.name.nodename, arg, bufsize);if (arglen <0 ) { pr_warn("hostname parameter exceeds %zd characters and will be truncated",
_
Patches currently in -mm which might be from [email protected] are