CVE-2026-93167
csky: Fix a4/a5 restoration in syscall trace path
Check your servers for CVE-2026-93167
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-93167 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:
csky: Fix a4/a5 restoration in syscall trace path
The syscall trace path reloads syscall arguments from pt_regs before calling the syscall handler. On C-SKY ABIv2, the 5th and 6th syscall arguments are prepared as stack arguments before invoking syscallid.
The current code adjusts sp before loading LSAVE_A4 and LSAVE_A5. Since those offsets are relative to the original pt_regs base, loading them after changing sp fetches the wrong slots. As a result, traced syscalls that use the 5th or 6th argument may receive corrupted arguments.
This is visible with mmap2(), which takes six arguments. A small PTRACE_SYSCALL reproducer opens a file and maps one page with:
mmap(NULL, 4096, PROT_READ | PROT_EXEC, MAP_PRIVATE, fd, 0)
Before the fix, the traced child fails the mmap and exits with 12. After the fix, the mapping succeeds and the child exits with 0.
Fix the trace path by loading a4/a5 from pt_regs before changing sp.
Tested on: ck860f, linux-4.19.15, C-SKY abiv2
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.29% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e0bbb53843b5fdfe464b099217e3b9d97e8a75d7, before e9ae8e86eed68bea5d2670eadf61938a43bd2263 affected from e0bbb53843b5fdfe464b099217e3b9d97e8a75d7, before 64e3ec7a71d3b715e2567f19f64207f04999bb0c affected from e0bbb53843b5fdfe464b099217e3b9d97e8a75d7, before 863fa63fd1491f201ac819f805a8db98d2a32c3d affected from e0bbb53843b5fdfe464b099217e3b9d97e8a75d7, before e71a3dc5b8d2ea4d9cfbdb135d6b7777de84212e affected from e0bbb53843b5fdfe464b099217e3b9d97e8a75d7, before 31c81b376e5f058c7f2c94f69719cf7caec2fc3f affected from e0bbb53843b5fdfe464b099217e3b9d97e8a75d7, before a776afa89424570bfa637ebf812ca281a5732904 affected from e0bbb53843b5fdfe464b099217e3b9d97e8a75d7, before 343aa5275484d627c921a42e8e115cae366be5de affected from e0bbb53843b5fdfe464b099217e3b9d97e8a75d7, before abb81e5ce7d995baa41556b8125fa59e28ba3be8 affected 108681048cf728a8570e036c34ebd7daa43133b4 affected 3a5837c692918c229baf63fe7950965d27c48ac2 affected from 5.4.47, before 5.5 affected from 5.6.19, before 5.7
Other versions: unaffected
|
| Linux |
affected 5.7 unaffected before 5.7 unaffected from 5.10.270 up to and including 5.10.* unaffected from 5.15.221 up to and including 5.15.* unaffected from 6.1.188 up to and including 6.1.* unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.52 up to and including 6.18.* unaffected from 7.2.6 up to and including 7.2.* unaffected 7.3 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-93167 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-93167
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-93167
trivy image --scanners vuln IMAGE | grep CVE-2026-93167
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/e9ae8e86eed68bea5d2670eadf61938a43bd2263 git.kernel.org
- https://git.kernel.org/stable/c/64e3ec7a71d3b715e2567f19f64207f04999bb0c git.kernel.org
- https://git.kernel.org/stable/c/863fa63fd1491f201ac819f805a8db98d2a32c3d git.kernel.org
- https://git.kernel.org/stable/c/e71a3dc5b8d2ea4d9cfbdb135d6b7777de84212e git.kernel.org
- https://git.kernel.org/stable/c/31c81b376e5f058c7f2c94f69719cf7caec2fc3f git.kernel.org
- https://git.kernel.org/stable/c/a776afa89424570bfa637ebf812ca281a5732904 git.kernel.org
- https://git.kernel.org/stable/c/343aa5275484d627c921a42e8e115cae366be5de git.kernel.org
- https://git.kernel.org/stable/c/abb81e5ce7d995baa41556b8125fa59e28ba3be8 git.kernel.org
Source: the record CVE-2026-93167 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