{"id":"CVE-2026-142865","summary":"init: fix early boot crash with bare hostname parameter","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ninit: fix early boot crash with bare hostname parameter\n\nWhen a bare hostname parameter is specified on the kernel command line\nwithout the '=' separator, early parameter parsing passes NULL to\nearly_hostname(), which dereferences it in strscpy() and can crash the\nsystem during early boot.\n\nReject NULL values in early_hostname() and return -EINVAL instead.","modified":"2026-12-03T05:01:01.368127330Z","published":"2026-12-03T03:21:05.635Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142865.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1903e23b86ab993db5722f594aa0fa13ca370717"},{"type":"WEB","url":"https://git.kernel.org/stable/c/46e0c9c62927b0dbef2d284d2aa770eab588ebb1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4b935a9de79e18130add24cd324d0c16ea15bd0c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/86c6f9543665bf5fcbe4f16bae47239720a5b7d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b6bec5b63a5b812145e53aaad1e63661c7214f93"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c7132afc72f2e3bb76c5aba16caf0ca511f3068a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142865.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142865"}],"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"},{"fixed":"b6bec5b63a5b812145e53aaad1e63661c7214f93"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142865.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}