# CVE-2026-68435: LoongArch: Fix address space mismatch in kexec command line lookup

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-08-12T00:07:23.359Z
- **Modified:** 2026-10-30T13:19:45.440Z

## Who should check

- Anyone running Linux \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< 742f2c0a64a7557495e831c3c112d92e308bd4ae; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< 3b71f51fa3a247921408879eab2ddee82da8a980; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< eaa908d8d523b0ab75dab5ebd6662e70af5e5d7e; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< a94d6726ec8680a2b0c453fc782a543f68a1ea06; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< 7a54e0cbaad4a5a09e7cc7a4f05d181048e98ca7; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< 485ed44db5694d8d2e5027f63ad608e705286f30
- Anyone running Linux 6.1

## Description

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

LoongArch: Fix address space mismatch in kexec command line lookup

When searching the loaded segments for the "kexec" command line marker,
the kexec\_load(2) path (file\_mode == 0) passes the user-space segment
buffer straight to strncmp() through a bogus (char \_\_user \*) cast. This
dereferences a user pointer in kernel context, which is wrong and is
flagged by sparse:

  arch/loongarch/kernel/machine\_kexec.c:84:51: sparse: incorrect type in
  argument 2 (different address spaces) @@ expected char const \* @@ got
  char \[noderef\] \_\_user \*

Here copy the marker-sized prefix of each segment into a small on-stack
buffer with copy\_from\_user() before comparing, and skip segments that
fault. The subsequent copy\_from\_user() that stages the full command line
into the safe area is left unchanged.

## Affected and fixed versions

- Linux: \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< 742f2c0a64a7557495e831c3c112d92e308bd4ae; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< 3b71f51fa3a247921408879eab2ddee82da8a980; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< eaa908d8d523b0ab75dab5ebd6662e70af5e5d7e; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< a94d6726ec8680a2b0c453fc782a543f68a1ea06; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< 7a54e0cbaad4a5a09e7cc7a4f05d181048e98ca7; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< 485ed44db5694d8d2e5027f63ad608e705286f30 (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 485ed44db5694d8d2e5027f63ad608e705286f30 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-68435.md
Affected: Linux >= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, < 742f2c0a64a7557495e831c3c112d92e308bd4ae; >= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, < 3b71f51fa3a247921408879eab2ddee82da8a980; >= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, < eaa908d8d523b0ab75dab5ebd6662e70af5e5d7e; >= 4a03b2ac06a5bcae2937186…
Fixed in: Linux 742f2c0a64a7557495e831c3c112d92e308bd4ae, Linux 3b71f51fa3a247921408879eab2ddee82da8a980, Linux 7a54e0cbaad4a5a09e7cc7a4f05d181048e98ca7, Linux 485ed44db5694d8d2e5027f63ad608e705286f30

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-68435 being exploited?

There is no confirmed exploitation: CVE-2026-68435 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

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

It has no CVSS score yet. Unknown.

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

Linux \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< 742f2c0a64a7557495e831c3c112d92e308bd4ae; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< 3b71f51fa3a247921408879eab2ddee82da8a980; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< eaa908d8d523b0ab75dab5ebd6662e70af5e5d7e; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< a94d6726ec8680a2b0c453fc782a543f68a1ea06; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< 7a54e0cbaad4a5a09e7cc7a4f05d181048e98ca7; \>= 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, \< 485ed44db5694d8d2e5027f63ad608e705286f30; Linux 6.1.

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

Yes. Fixed in Linux 742f2c0a64a7557495e831c3c112d92e308bd4ae, Linux 3b71f51fa3a247921408879eab2ddee82da8a980, Linux 7a54e0cbaad4a5a09e7cc7a4f05d181048e98ca7, Linux 485ed44db5694d8d2e5027f63ad608e705286f30. Upgrade Linux to 485ed44db5694d8d2e5027f63ad608e705286f30 or later.

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

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/742f2c0a64a7557495e831c3c112d92e308bd4ae>
- other: <https://git.kernel.org/stable/c/3b71f51fa3a247921408879eab2ddee82da8a980>
- other: <https://git.kernel.org/stable/c/eaa908d8d523b0ab75dab5ebd6662e70af5e5d7e>
- other: <https://git.kernel.org/stable/c/a94d6726ec8680a2b0c453fc782a543f68a1ea06>
- other: <https://git.kernel.org/stable/c/7a54e0cbaad4a5a09e7cc7a4f05d181048e98ca7>
- other: <https://git.kernel.org/stable/c/485ed44db5694d8d2e5027f63ad608e705286f30>

## 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-68435>

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