{"id":"CVE-2026-64163","aliases":["CVE-2026-64163"],"related":[],"kind":"vulnerability","state":"published","title":"test_kprobes: clear kprobes between test runs","summary":"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 > /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 > /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(&kp), but\n      register_kprobe(&kp) == -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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 > /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 > /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(&kp), but\n      register_kprobe(&kp) == -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).","source":"cvelist"}],"published":"2026-07-19T15:40:49.172Z","modified":"2026-10-30T13:19:33.017Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e44e81c5b90f698025eadceb7eef8661eda117d5","fixed":"29ec976006dfab171a7e007976e38af56ce286e4","status":"affected"},{"type":"git","introduced":"e44e81c5b90f698025eadceb7eef8661eda117d5","fixed":"08d355936fcf70c81c94f9fe7310450b65c53399","status":"affected"},{"type":"git","introduced":"e44e81c5b90f698025eadceb7eef8661eda117d5","fixed":"accc0004c501a9918313142282b094d408af06fb","status":"affected"},{"type":"git","introduced":"e44e81c5b90f698025eadceb7eef8661eda117d5","fixed":"1c24cf1fd67f6702c719ab73499392cb7af956ae","status":"affected"},{"type":"git","introduced":"e44e81c5b90f698025eadceb7eef8661eda117d5","fixed":"96515819d79f356f40da5540968d838ea570fab9","status":"affected"},{"type":"git","introduced":"e44e81c5b90f698025eadceb7eef8661eda117d5","fixed":"ef5581bb30efb939cc2bf093475c6cc85258e5cd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.142","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.92","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.34","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.11","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.16","fixed":"6.6.142"},{"status":"affected","introduced":"6.7","fixed":"6.12.92"},{"status":"affected","introduced":"6.13","fixed":"6.18.34"},{"status":"affected","introduced":"6.19","fixed":"7.0.11"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/29ec976006dfab171a7e007976e38af56ce286e4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08d355936fcf70c81c94f9fe7310450b65c53399","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/accc0004c501a9918313142282b094d408af06fb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1c24cf1fd67f6702c719ab73499392cb7af956ae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/96515819d79f356f40da5540968d838ea570fab9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef5581bb30efb939cc2bf093475c6cc85258e5cd","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64163","url":"https://www.cve.org/CVERecord?id=CVE-2026-64163","licence":"CVE Terms of Use","modified":"2026-10-30T12:27:39.441Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64163","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64163","licence":"Public domain","modified":"2026-10-30T13:19:33.017Z"}],"updatedAt":"2026-11-25T22:59:29.176Z","epss":{"score":0.00163,"percentile":0.0573,"date":"2026-12-01T12:00:22.000Z"}}