Skip to content
Heist/ feed
Unrated

csky: Fix a4/a5 restoration in syscall trace path

Type: advisorySource: Official CVE List1 source record

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

Announced Source revision 1
Original source ↗

CVE-2026-93167

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-93167

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
        "lessThan": "e9ae8e86eed68bea5d2670eadf61938a43bd2263",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
        "lessThan": "64e3ec7a71d3b715e2567f19f64207f04999bb0c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
        "lessThan": "863fa63fd1491f201ac819f805a8db98d2a32c3d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
        "lessThan": "e71a3dc5b8d2ea4d9cfbdb135d6b7777de84212e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
        "lessThan": "31c81b376e5f058c7f2c94f69719cf7caec2fc3f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
        "lessThan": "a776afa89424570bfa637ebf812ca281a5732904",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
        "lessThan": "343aa5275484d627c921a42e8e115cae366be5de",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
        "lessThan": "abb81e5ce7d995baa41556b8125fa59e28ba3be8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "108681048cf728a8570e036c34ebd7daa43133b4",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3a5837c692918c229baf63fe7950965d27c48ac2",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5.4.47",
        "lessThan": "5.5",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "5.6.19",
        "lessThan": "5.7",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "arch/csky/kernel/entry.S"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.7"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.7",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.270",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.221",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.188",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.157",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.110",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.52",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "arch/csky/kernel/entry.S"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-93167

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#37884 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement