CVE-2026-142865

Source
https://cve.org/CVERecord?id=CVE-2026-142865
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142865.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142865
Downstream
Published
2026-12-03T03:21:05Z
Modified
2026-12-03T05:01:01Z
Summary
init: fix early boot crash with bare hostname parameter
Details

In the Linux kernel, the following vulnerability has been resolved:

init: fix early boot crash with bare hostname parameter

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142865.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5a704629f2c1ba33bbb444cb18e6957e97c76e8f
Fixed
c7132afc72f2e3bb76c5aba16caf0ca511f3068a
Fixed
1903e23b86ab993db5722f594aa0fa13ca370717
Fixed
86c6f9543665bf5fcbe4f16bae47239720a5b7d1
Fixed
46e0c9c62927b0dbef2d284d2aa770eab588ebb1
Fixed
4b935a9de79e18130add24cd324d0c16ea15bd0c
Show 1 more event Show fewer events
Fixed
b6bec5b63a5b812145e53aaad1e63661c7214f93

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142865.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142865.json"