CVE-2026-68435
LoongArch: Fix address space mismatch in kexec command line lookup
Check your servers for CVE-2026-68435
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-68435 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.88% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, before 742f2c0a64a7557495e831c3c112d92e308bd4ae affected from 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, before 3b71f51fa3a247921408879eab2ddee82da8a980 affected from 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, before eaa908d8d523b0ab75dab5ebd6662e70af5e5d7e affected from 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, before a94d6726ec8680a2b0c453fc782a543f68a1ea06 affected from 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, before 7a54e0cbaad4a5a09e7cc7a4f05d181048e98ca7 affected from 4a03b2ac06a5bcae29371866d9d11f5bfd4c9188, before 485ed44db5694d8d2e5027f63ad608e705286f30
Other versions: unaffected
|
| Linux |
affected 6.1 unaffected before 6.1 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.114 up to and including 6.12.* unaffected from 6.18.42 up to and including 6.18.* unaffected from 7.1.6 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-68435 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-68435
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-68435
trivy image --scanners vuln IMAGE | grep CVE-2026-68435
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/742f2c0a64a7557495e831c3c112d92e308bd4ae git.kernel.org
- https://git.kernel.org/stable/c/3b71f51fa3a247921408879eab2ddee82da8a980 git.kernel.org
- https://git.kernel.org/stable/c/eaa908d8d523b0ab75dab5ebd6662e70af5e5d7e git.kernel.org
- https://git.kernel.org/stable/c/a94d6726ec8680a2b0c453fc782a543f68a1ea06 git.kernel.org
- https://git.kernel.org/stable/c/7a54e0cbaad4a5a09e7cc7a4f05d181048e98ca7 git.kernel.org
- https://git.kernel.org/stable/c/485ed44db5694d8d2e5027f63ad608e705286f30 git.kernel.org
Source: the record CVE-2026-68435 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse