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

Published Aug 12, 2026
·
Updated

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 kexecload(2) path (filemode == 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/machinekexec.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 copyfromuser() before comparing, and skip segments that fault. The subsequent copyfromuser() that stages the full command line into the safe area is left unchanged.

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 12, 2026
CVE Published
via MITRE·12:07 AM
Data Sourced
via MITRE·12:07 AM
Description
Data Sourced
via NVD·12:17 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68435?

The severity of CVE-2026-68435 has been rated as 34, indicating a medium risk level.

2

How do I fix CVE-2026-68435?

To fix CVE-2026-68435, ensure that your Linux kernel is updated to a version that includes the patch for this vulnerability.

3

What systems are affected by CVE-2026-68435?

CVE-2026-68435 affects the Linux kernel on systems utilizing the LoongArch architecture.

4

What does CVE-2026-68435 involve?

CVE-2026-68435 involves a fix for address space mismatch issues occurring during the kexec command line lookup.

5

Is CVE-2026-68435 a local or remote vulnerability?

CVE-2026-68435 is considered a local vulnerability as it involves user-space segment buffer access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203