CVE-2026-64163 (GCVE-0-2026-64163)

Vulnerability from cvelistv5 – Published: 2026-07-19 15:40 – Updated: 2026-07-19 15:40
VLAI
Title
test_kprobes: clear kprobes between test runs
Summary
In the Linux kernel, the following vulnerability has been resolved: test_kprobes: clear kprobes between test runs Running the kprobes sanity tests twice makes all tests fail and eventually crashes the kernel. [root@martin-riscv-1 ~]# echo 1 > /sys/kernel/debug/kunit/kprobes_test/run ... # Totals: pass:5 fail:0 skip:0 total:5 ok 1 kprobes_test [root@martin-riscv-1 ~]# echo 1 > /sys/kernel/debug/kunit/kprobes_test/run ... # test_kprobe: EXPECTATION FAILED at lib/tests/test_kprobes.c:64 Expected 0 == register_kprobe(&kp), but register_kprobe(&kp) == -22 (0xffffffffffffffea) ... Unable to handle kernel paging request ... The testsuite defines several kprobes and kretprobes as static variables that are preserved across test runs. After register_kprobe and unregister_kprobe, a kprobe contains some leftover data that must be cleared before the kprobe can be registered again. The tests are setting symbol_name to define the probe location. Address and flags must be cleared. The existing code clears some of the probes between subsequent tests, but not between two test runs. The leftover data from a previous test run makes the registrations fail in the next run. Move the cleanups for all kprobes into kprobes_test_init, this function is called before each single test (including the first test of a test run).
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: e44e81c5b90f698025eadceb7eef8661eda117d5 , < 08d355936fcf70c81c94f9fe7310450b65c53399 (git)
Affected: e44e81c5b90f698025eadceb7eef8661eda117d5 , < accc0004c501a9918313142282b094d408af06fb (git)
Affected: e44e81c5b90f698025eadceb7eef8661eda117d5 , < 1c24cf1fd67f6702c719ab73499392cb7af956ae (git)
Affected: e44e81c5b90f698025eadceb7eef8661eda117d5 , < 96515819d79f356f40da5540968d838ea570fab9 (git)
Affected: e44e81c5b90f698025eadceb7eef8661eda117d5 , < ef5581bb30efb939cc2bf093475c6cc85258e5cd (git)
Create a notification for this product.
Linux Linux Affected: 5.16
Unaffected: 0 , < 5.16 (semver)
Unaffected: 6.6.142 , ≤ 6.6.* (semver)
Unaffected: 6.12.92 , ≤ 6.12.* (semver)
Unaffected: 6.18.34 , ≤ 6.18.* (semver)
Unaffected: 7.0.11 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "lib/tests/test_kprobes.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "08d355936fcf70c81c94f9fe7310450b65c53399",
              "status": "affected",
              "version": "e44e81c5b90f698025eadceb7eef8661eda117d5",
              "versionType": "git"
            },
            {
              "lessThan": "accc0004c501a9918313142282b094d408af06fb",
              "status": "affected",
              "version": "e44e81c5b90f698025eadceb7eef8661eda117d5",
              "versionType": "git"
            },
            {
              "lessThan": "1c24cf1fd67f6702c719ab73499392cb7af956ae",
              "status": "affected",
              "version": "e44e81c5b90f698025eadceb7eef8661eda117d5",
              "versionType": "git"
            },
            {
              "lessThan": "96515819d79f356f40da5540968d838ea570fab9",
              "status": "affected",
              "version": "e44e81c5b90f698025eadceb7eef8661eda117d5",
              "versionType": "git"
            },
            {
              "lessThan": "ef5581bb30efb939cc2bf093475c6cc85258e5cd",
              "status": "affected",
              "version": "e44e81c5b90f698025eadceb7eef8661eda117d5",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "lib/tests/test_kprobes.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.16"
            },
            {
              "lessThan": "5.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.142",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.92",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.34",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.142",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.92",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.34",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.11",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntest_kprobes: clear kprobes between test runs\n\nRunning the kprobes sanity tests twice makes all tests fail and\neventually crashes the kernel.\n\n[root@martin-riscv-1 ~]# echo 1 \u003e /sys/kernel/debug/kunit/kprobes_test/run\n...\n   # Totals: pass:5 fail:0 skip:0 total:5\n   ok 1 kprobes_test\n[root@martin-riscv-1 ~]# echo 1 \u003e /sys/kernel/debug/kunit/kprobes_test/run\n...\n  # test_kprobe: EXPECTATION FAILED at lib/tests/test_kprobes.c:64\n  Expected 0 == register_kprobe(\u0026kp), but\n      register_kprobe(\u0026kp) == -22 (0xffffffffffffffea)\n...\n  Unable to handle kernel paging request ...\n\nThe testsuite defines several kprobes and kretprobes as static variables\nthat are preserved across test runs.\n\nAfter register_kprobe and unregister_kprobe, a kprobe contains some\nleftover data that must be cleared before the kprobe can be registered\nagain. The tests are setting symbol_name to define the probe location.\nAddress and flags must be cleared.\n\nThe existing code clears some of the probes between subsequent tests, but\nnot between two test runs. The leftover data from a previous test run\nmakes the registrations fail in the next run.\n\nMove the cleanups for all kprobes into kprobes_test_init, this function\nis called before each single test (including the first test of a test\nrun)."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-19T15:40:49.172Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/08d355936fcf70c81c94f9fe7310450b65c53399"
        },
        {
          "url": "https://git.kernel.org/stable/c/accc0004c501a9918313142282b094d408af06fb"
        },
        {
          "url": "https://git.kernel.org/stable/c/1c24cf1fd67f6702c719ab73499392cb7af956ae"
        },
        {
          "url": "https://git.kernel.org/stable/c/96515819d79f356f40da5540968d838ea570fab9"
        },
        {
          "url": "https://git.kernel.org/stable/c/ef5581bb30efb939cc2bf093475c6cc85258e5cd"
        }
      ],
      "title": "test_kprobes: clear kprobes between test runs",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64163",
    "datePublished": "2026-07-19T15:40:49.172Z",
    "dateReserved": "2026-07-19T07:54:57.038Z",
    "dateUpdated": "2026-07-19T15:40:49.172Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64163",
      "date": "2026-07-20",
      "epss": "0.00164",
      "percentile": "0.0595"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64163\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-19T16:17:58.327\",\"lastModified\":\"2026-07-19T16:17:58.327\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ntest_kprobes: clear kprobes between test runs\\n\\nRunning the kprobes sanity tests twice makes all tests fail and\\neventually crashes the kernel.\\n\\n[root@martin-riscv-1 ~]# echo 1 \u003e /sys/kernel/debug/kunit/kprobes_test/run\\n...\\n   # Totals: pass:5 fail:0 skip:0 total:5\\n   ok 1 kprobes_test\\n[root@martin-riscv-1 ~]# echo 1 \u003e /sys/kernel/debug/kunit/kprobes_test/run\\n...\\n  # test_kprobe: EXPECTATION FAILED at lib/tests/test_kprobes.c:64\\n  Expected 0 == register_kprobe(\u0026kp), but\\n      register_kprobe(\u0026kp) == -22 (0xffffffffffffffea)\\n...\\n  Unable to handle kernel paging request ...\\n\\nThe testsuite defines several kprobes and kretprobes as static variables\\nthat are preserved across test runs.\\n\\nAfter register_kprobe and unregister_kprobe, a kprobe contains some\\nleftover data that must be cleared before the kprobe can be registered\\nagain. The tests are setting symbol_name to define the probe location.\\nAddress and flags must be cleared.\\n\\nThe existing code clears some of the probes between subsequent tests, but\\nnot between two test runs. The leftover data from a previous test run\\nmakes the registrations fail in the next run.\\n\\nMove the cleanups for all kprobes into kprobes_test_init, this function\\nis called before each single test (including the first test of a test\\nrun).\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"lib/tests/test_kprobes.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"e44e81c5b90f698025eadceb7eef8661eda117d5\",\"lessThan\":\"08d355936fcf70c81c94f9fe7310450b65c53399\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e44e81c5b90f698025eadceb7eef8661eda117d5\",\"lessThan\":\"accc0004c501a9918313142282b094d408af06fb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e44e81c5b90f698025eadceb7eef8661eda117d5\",\"lessThan\":\"1c24cf1fd67f6702c719ab73499392cb7af956ae\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e44e81c5b90f698025eadceb7eef8661eda117d5\",\"lessThan\":\"96515819d79f356f40da5540968d838ea570fab9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"e44e81c5b90f698025eadceb7eef8661eda117d5\",\"lessThan\":\"ef5581bb30efb939cc2bf093475c6cc85258e5cd\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"lib/tests/test_kprobes.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.16\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.16\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.142\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.92\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.34\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.11\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/08d355936fcf70c81c94f9fe7310450b65c53399\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1c24cf1fd67f6702c719ab73499392cb7af956ae\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/96515819d79f356f40da5540968d838ea570fab9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/accc0004c501a9918313142282b094d408af06fb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ef5581bb30efb939cc2bf093475c6cc85258e5cd\",\"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…