CVE-2026-64163

Source
https://cve.org/CVERecord?id=CVE-2026-64163
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64163.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64163
Downstream
Published
2026-07-19T15:40:49.172Z
Modified
2026-07-21T03:47:58.299345698Z
Summary
test_kprobes: clear kprobes between test runs
Details

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/kprobestest/run ... # Totals: pass:5 fail:0 skip:0 total:5 ok 1 kprobestest [root@martin-riscv-1 ~]# echo 1 > /sys/kernel/debug/kunit/kprobestest/run ... # testkprobe: EXPECTATION FAILED at lib/tests/testkprobes.c:64 Expected 0 == registerkprobe(&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 registerkprobe and unregisterkprobe, 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 kprobestestinit, this function is called before each single test (including the first test of a test run).

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64163.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e44e81c5b90f698025eadceb7eef8661eda117d5
Fixed
08d355936fcf70c81c94f9fe7310450b65c53399
Fixed
accc0004c501a9918313142282b094d408af06fb
Fixed
1c24cf1fd67f6702c719ab73499392cb7af956ae
Fixed
96515819d79f356f40da5540968d838ea570fab9
Fixed
ef5581bb30efb939cc2bf093475c6cc85258e5cd

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64163.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64163.json"