Skip to main content
EPSS 0.2%top 90%

Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: LoongArch: Fix address space mismatch in kexec command line lookup When… (CVE-2026-68435)

0
Medium
Published: 08/13/2026 (08/13/2026, 00:00:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 17:20:51 UTC

Technical Analysis

The vulnerability in the Linux kernel for the LoongArch architecture involved the kexec_load(2) path improperly passing a user-space segment buffer directly to strncmp() via an incorrect (char __user *) cast. This caused dereferencing of user pointers in kernel context, flagged by sparse as an address space mismatch. The fix copies the marker-sized prefix of each segment into an on-stack buffer using copy_from_user() before comparison and skips segments that fault, ensuring safe handling of user-space pointers during kexec command line lookup.

Potential Impact

The vulnerability could cause the kernel to dereference user-space pointers incorrectly, potentially leading to kernel faults or undefined behavior during the kexec command line lookup process on LoongArch systems. No known exploits in the wild have been reported. The impact is limited to the kernel's handling of kexec command line segments on the LoongArch architecture.

Mitigation Recommendations

A fix has been implemented in the Linux kernel source code for the LoongArch architecture that properly copies user-space data into kernel space before comparison, preventing address space mismatches. Users should update their Linux kernel to a version that includes this fix once available. Patch status is not yet confirmed — check the vendor advisory or Linux kernel mailing lists for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-4fgj-v86w-987m
Osv Schema Version
1.4.0
Aliases
["CVE-2026-68435"]

Threat ID: 6a7c9b6bbf8831d539cdfbde

Added to database: 08/12/2026, 16:12:27 UTC

Last enriched: 08/12/2026, 17:20:51 UTC

Last updated: 09/25/2026, 20:00:38 UTC

Views: 28

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses