{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e44e81c5b90f698025eadceb7eef8661eda117d5"
            },
            {
              "fixed": "08d355936fcf70c81c94f9fe7310450b65c53399"
            },
            {
              "fixed": "accc0004c501a9918313142282b094d408af06fb"
            },
            {
              "fixed": "1c24cf1fd67f6702c719ab73499392cb7af956ae"
            },
            {
              "fixed": "96515819d79f356f40da5540968d838ea570fab9"
            },
            {
              "fixed": "ef5581bb30efb939cc2bf093475c6cc85258e5cd"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.6.142"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.92"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.34"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64163.json"
  },
  "details": "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).",
  "id": "CVE-2026-64163",
  "modified": "2026-07-21T03:41:57.441716515Z",
  "published": "2026-07-19T15:40:49.172Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/08d355936fcf70c81c94f9fe7310450b65c53399"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1c24cf1fd67f6702c719ab73499392cb7af956ae"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/96515819d79f356f40da5540968d838ea570fab9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/accc0004c501a9918313142282b094d408af06fb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ef5581bb30efb939cc2bf093475c6cc85258e5cd"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64163.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64163"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "summary": "test_kprobes: clear kprobes between test runs"
}