GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-93167 (GCVE-0-2026-93167)

Vulnerability from cvelistv5 – Published: 2026-09-17 16:11 – Updated: 2026-09-17 16:11
VLAI
Title
csky: Fix a4/a5 restoration in syscall trace path
Summary
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
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: e0bbb53843b5fdfe464b099217e3b9d97e8a75d7 , < e9ae8e86eed68bea5d2670eadf61938a43bd2263 (git)
Affected: e0bbb53843b5fdfe464b099217e3b9d97e8a75d7 , < 64e3ec7a71d3b715e2567f19f64207f04999bb0c (git)
Affected: e0bbb53843b5fdfe464b099217e3b9d97e8a75d7 , < 863fa63fd1491f201ac819f805a8db98d2a32c3d (git)
Affected: e0bbb53843b5fdfe464b099217e3b9d97e8a75d7 , < e71a3dc5b8d2ea4d9cfbdb135d6b7777de84212e (git)
Affected: e0bbb53843b5fdfe464b099217e3b9d97e8a75d7 , < 31c81b376e5f058c7f2c94f69719cf7caec2fc3f (git)
Affected: e0bbb53843b5fdfe464b099217e3b9d97e8a75d7 , < a776afa89424570bfa637ebf812ca281a5732904 (git)
Affected: e0bbb53843b5fdfe464b099217e3b9d97e8a75d7 , < 343aa5275484d627c921a42e8e115cae366be5de (git)
Affected: e0bbb53843b5fdfe464b099217e3b9d97e8a75d7 , < abb81e5ce7d995baa41556b8125fa59e28ba3be8 (git)
Affected: 108681048cf728a8570e036c34ebd7daa43133b4 (git)
Affected: 3a5837c692918c229baf63fe7950965d27c48ac2 (git)
Affected: 5.4.47 , < 5.5 (semver)
Affected: 5.6.19 , < 5.7 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 5.7
Unaffected: 0 , < 5.7 (semver)
Unaffected: 5.10.270 , ≤ 5.10.* (semver)
Unaffected: 5.15.221 , ≤ 5.15.* (semver)
Unaffected: 6.1.188 , ≤ 6.1.* (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (semver)
Unaffected: 6.12.110 , ≤ 6.12.* (semver)
Unaffected: 6.18.52 , ≤ 6.18.* (semver)
Unaffected: 7.2.6 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/csky/kernel/entry.S"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e9ae8e86eed68bea5d2670eadf61938a43bd2263",
              "status": "affected",
              "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
              "versionType": "git"
            },
            {
              "lessThan": "64e3ec7a71d3b715e2567f19f64207f04999bb0c",
              "status": "affected",
              "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
              "versionType": "git"
            },
            {
              "lessThan": "863fa63fd1491f201ac819f805a8db98d2a32c3d",
              "status": "affected",
              "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
              "versionType": "git"
            },
            {
              "lessThan": "e71a3dc5b8d2ea4d9cfbdb135d6b7777de84212e",
              "status": "affected",
              "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
              "versionType": "git"
            },
            {
              "lessThan": "31c81b376e5f058c7f2c94f69719cf7caec2fc3f",
              "status": "affected",
              "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
              "versionType": "git"
            },
            {
              "lessThan": "a776afa89424570bfa637ebf812ca281a5732904",
              "status": "affected",
              "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
              "versionType": "git"
            },
            {
              "lessThan": "343aa5275484d627c921a42e8e115cae366be5de",
              "status": "affected",
              "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
              "versionType": "git"
            },
            {
              "lessThan": "abb81e5ce7d995baa41556b8125fa59e28ba3be8",
              "status": "affected",
              "version": "e0bbb53843b5fdfe464b099217e3b9d97e8a75d7",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "108681048cf728a8570e036c34ebd7daa43133b4",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "3a5837c692918c229baf63fe7950965d27c48ac2",
              "versionType": "git"
            },
            {
              "lessThan": "5.5",
              "status": "affected",
              "version": "5.4.47",
              "versionType": "semver"
            },
            {
              "lessThan": "5.7",
              "status": "affected",
              "version": "5.6.19",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/csky/kernel/entry.S"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.7"
            },
            {
              "lessThan": "5.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.270",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.4.47",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.6.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncsky: Fix a4/a5 restoration in syscall trace path\n\nThe syscall trace path reloads syscall arguments from pt_regs before\ncalling the syscall handler. On C-SKY ABIv2, the 5th and 6th syscall\narguments are prepared as stack arguments before invoking syscallid.\n\nThe current code adjusts sp before loading LSAVE_A4 and LSAVE_A5. Since\nthose offsets are relative to the original pt_regs base, loading them\nafter changing sp fetches the wrong slots. As a result, traced syscalls\nthat use the 5th or 6th argument may receive corrupted arguments.\n\nThis is visible with mmap2(), which takes six arguments. A small\nPTRACE_SYSCALL reproducer opens a file and maps one page with:\n\n  mmap(NULL, 4096, PROT_READ | PROT_EXEC, MAP_PRIVATE, fd, 0)\n\nBefore the fix, the traced child fails the mmap and exits with 12.\nAfter the fix, the mapping succeeds and the child exits with 0.\n\nFix the trace path by loading a4/a5 from pt_regs before changing sp.\n\nTested on: ck860f, linux-4.19.15, C-SKY abiv2"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-17T16:11:59.234Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e9ae8e86eed68bea5d2670eadf61938a43bd2263"
        },
        {
          "url": "https://git.kernel.org/stable/c/64e3ec7a71d3b715e2567f19f64207f04999bb0c"
        },
        {
          "url": "https://git.kernel.org/stable/c/863fa63fd1491f201ac819f805a8db98d2a32c3d"
        },
        {
          "url": "https://git.kernel.org/stable/c/e71a3dc5b8d2ea4d9cfbdb135d6b7777de84212e"
        },
        {
          "url": "https://git.kernel.org/stable/c/31c81b376e5f058c7f2c94f69719cf7caec2fc3f"
        },
        {
          "url": "https://git.kernel.org/stable/c/a776afa89424570bfa637ebf812ca281a5732904"
        },
        {
          "url": "https://git.kernel.org/stable/c/343aa5275484d627c921a42e8e115cae366be5de"
        },
        {
          "url": "https://git.kernel.org/stable/c/abb81e5ce7d995baa41556b8125fa59e28ba3be8"
        }
      ],
      "title": "csky: Fix a4/a5 restoration in syscall trace path",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-93167",
    "datePublished": "2026-09-17T16:11:59.234Z",
    "dateReserved": "2026-09-17T16:02:15.090Z",
    "dateUpdated": "2026-09-17T16:11:59.234Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-93167\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-17T17:18:12.243\",\"lastModified\":\"2026-09-17T17:18:12.243\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncsky: Fix a4/a5 restoration in syscall trace path\\n\\nThe syscall trace path reloads syscall arguments from pt_regs before\\ncalling the syscall handler. On C-SKY ABIv2, the 5th and 6th syscall\\narguments are prepared as stack arguments before invoking syscallid.\\n\\nThe current code adjusts sp before loading LSAVE_A4 and LSAVE_A5. Since\\nthose offsets are relative to the original pt_regs base, loading them\\nafter changing sp fetches the wrong slots. As a result, traced syscalls\\nthat use the 5th or 6th argument may receive corrupted arguments.\\n\\nThis is visible with mmap2(), which takes six arguments. A small\\nPTRACE_SYSCALL reproducer opens a file and maps one page with:\\n\\n  mmap(NULL, 4096, PROT_READ | PROT_EXEC, MAP_PRIVATE, fd, 0)\\n\\nBefore the fix, the traced child fails the mmap and exits with 12.\\nAfter the fix, the mapping succeeds and the child exits with 0.\\n\\nFix the trace path by loading a4/a5 from pt_regs before changing sp.\\n\\nTested on: ck860f, linux-4.19.15, C-SKY abiv2\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"arch/csky/kernel/entry.S\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"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\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"arch/csky/kernel/entry.S\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.7\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.7\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.270\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.221\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.188\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.157\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.110\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.52\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2.6\",\"lessThanOrEqual\":\"7.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.3-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/31c81b376e5f058c7f2c94f69719cf7caec2fc3f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/343aa5275484d627c921a42e8e115cae366be5de\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/64e3ec7a71d3b715e2567f19f64207f04999bb0c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/863fa63fd1491f201ac819f805a8db98d2a32c3d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a776afa89424570bfa637ebf812ca281a5732904\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/abb81e5ce7d995baa41556b8125fa59e28ba3be8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e71a3dc5b8d2ea4d9cfbdb135d6b7777de84212e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e9ae8e86eed68bea5d2670eadf61938a43bd2263\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…