CVE-2026-142865
init: fix early boot crash with bare hostname parameter
AI summary AI generated
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.
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < c7132afc72f2e3bb76c5aba16caf0ca511f3068a; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 1903e23b86ab993db5722f594aa0fa13ca370717; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 86c6f9543665bf5fcbe4f16bae47239720a5b7d1; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 46e0c9c62927b0dbef2d284d2aa770eab588ebb1; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 4b935a9de79e18130add24cd324d0c16ea15bd0c; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < b6bec5b63a5b812145e53aaad1e63661c7214f93
- Anyone running Linux 6.0
Vulnerability facts
- Affected
- Linux >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < c7132afc72f2e3bb76c5aba16caf0ca511f3068a; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 1903e23b86ab993db5722f594aa0fa13ca370717; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 86c6f9543665bf5fcbe4f16bae47239720a5b7d1; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 46e0c9c62927b0dbef2d284d2aa770eab588ebb1; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 4b935a9de79e18130add24cd324d0c16ea15bd0c; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < b6bec5b63a5b812145e53aaad1e63661c7214f93; Linux 6.0
- Fixed in
- Linux 1903e23b86ab993db5722f594aa0fa13ca370717, Linux 86c6f9543665bf5fcbe4f16bae47239720a5b7d1, Linux 46e0c9c62927b0dbef2d284d2aa770eab588ebb1, Linux 4b935a9de79e18130add24cd324d0c16ea15bd0c
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < c7132afc72f2e3bb76c5aba16caf0ca511f3068a; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 1903e23b86ab993db5722f594aa0fa13ca370717; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 86c6f9543665bf5fcbe4f16bae47239720a5b7d1; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 46e0c9c62927b0dbef2d284d2aa770eab588ebb1; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < 4b935a9de79e18130add24cd324d0c16ea15bd0c; >= 5a704629f2c1ba33bbb444cb18e6957e97c76e8f, < b6bec5b63a5b812145e53aaad1e63661c7214f93 | — | cvelist |
| Linux | 6.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
Technologies
References
Other
- https://git.kernel.org/stable/c/c7132afc72f2e3bb76c5aba16caf0ca511f3068a
- https://git.kernel.org/stable/c/1903e23b86ab993db5722f594aa0fa13ca370717
- https://git.kernel.org/stable/c/86c6f9543665bf5fcbe4f16bae47239720a5b7d1
- https://git.kernel.org/stable/c/46e0c9c62927b0dbef2d284d2aa770eab588ebb1
- https://git.kernel.org/stable/c/4b935a9de79e18130add24cd324d0c16ea15bd0c
- https://git.kernel.org/stable/c/b6bec5b63a5b812145e53aaad1e63661c7214f93
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| UNSCORED | CVE-2026-142948 i2c: designware: queue only one read command for block reads | Linux kernel | ||
| UNSCORED | CVE-2026-142947 cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails | Linux kernel | ||
| UNSCORED | CVE-2026-142946 ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142945 ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142944 ASoC: amd: acp-es8336: Use an owned codec device reference | Linux kernel |