# CVE-2026-142865: init: fix early boot crash with bare hostname parameter

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:21:05.635Z
- **Modified:** 2026-12-03T04:18:24.137Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker who can set kernel boot parameters can crash the Linux kernel during early boot by passing a bare hostname parameter without a value.

## Who should check

- Anyone running Linux \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< c7132afc72f2e3bb76c5aba16caf0ca511f3068a; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< 1903e23b86ab993db5722f594aa0fa13ca370717; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< 86c6f9543665bf5fcbe4f16bae47239720a5b7d1; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< 46e0c9c62927b0dbef2d284d2aa770eab588ebb1; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< 4b935a9de79e18130add24cd324d0c16ea15bd0c; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< b6bec5b63a5b812145e53aaad1e63661c7214f93
- Anyone running Linux 6.0

## Description

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.

## Affected and fixed versions

- Linux: \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< c7132afc72f2e3bb76c5aba16caf0ca511f3068a; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< 1903e23b86ab993db5722f594aa0fa13ca370717; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< 86c6f9543665bf5fcbe4f16bae47239720a5b7d1; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< 46e0c9c62927b0dbef2d284d2aa770eab588ebb1; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< 4b935a9de79e18130add24cd324d0c16ea15bd0c; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< b6bec5b63a5b812145e53aaad1e63661c7214f93 (cvelist)
- Linux: 6.0 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142865. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142865.md
Affected: Linux >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < c7132afc72f2e3bb76c5aba16caf0ca511f3068a; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 1903e23b86ab993db5722f594aa0fa13ca370717; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 86c6f9543665bf5fcbe4f16bae47239720a5b7d1; >= 5a704629f2c1ba33bbb444c…
Fixed in: Linux 1903e23b86ab993db5722f594aa0fa13ca370717, Linux 86c6f9543665bf5fcbe4f16bae47239720a5b7d1, Linux 46e0c9c62927b0dbef2d284d2aa770eab588ebb1, Linux 4b935a9de79e18130add24cd324d0c16ea15bd0c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142865 being exploited?

There is no confirmed exploitation: CVE-2026-142865 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142865?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142865?

Linux \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< c7132afc72f2e3bb76c5aba16caf0ca511f3068a; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< 1903e23b86ab993db5722f594aa0fa13ca370717; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< 86c6f9543665bf5fcbe4f16bae47239720a5b7d1; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< 46e0c9c62927b0dbef2d284d2aa770eab588ebb1; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< 4b935a9de79e18130add24cd324d0c16ea15bd0c; \>= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, \< b6bec5b63a5b812145e53aaad1e63661c7214f93; Linux 6.0.

### Is there a fix for CVE-2026-142865?

Yes. Fixed in Linux 1903e23b86ab993db5722f594aa0fa13ca370717, Linux 86c6f9543665bf5fcbe4f16bae47239720a5b7d1, Linux 46e0c9c62927b0dbef2d284d2aa770eab588ebb1, Linux 4b935a9de79e18130add24cd324d0c16ea15bd0c. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-142865?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c7132afc72f2e3bb76c5aba16caf0ca511f3068a>
- other: <https://git.kernel.org/stable/c/1903e23b86ab993db5722f594aa0fa13ca370717>
- other: <https://git.kernel.org/stable/c/86c6f9543665bf5fcbe4f16bae47239720a5b7d1>
- other: <https://git.kernel.org/stable/c/46e0c9c62927b0dbef2d284d2aa770eab588ebb1>
- other: <https://git.kernel.org/stable/c/4b935a9de79e18130add24cd324d0c16ea15bd0c>
- other: <https://git.kernel.org/stable/c/b6bec5b63a5b812145e53aaad1e63661c7214f93>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142865>

HTML: <https://flawdb.com/CVE-2026-142865> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142865>
