{"id":"CVE-2026-64075","state":"PUBLISHED","title":"fprobe: Fix unregister_fprobe() to wait for RCU grace period","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfprobe: Fix unregister_fprobe() to wait for RCU grace period\n\nCommit 4346ba1604093 (\"fprobe: Rewrite fprobe on function-graph tracer\")\nchanged fprobe to register struct fprobe to an rcu-hlist, but it forgot\nto wait for RCU GP. Thus there can be use-after-free if the fprobe is\nreleased right after unregistering. This can be happened on fprobe\nevent and sample module code.\n\nTo fix this issue, add synchronize_rcu() in unregister_fprobe().\n\nNote that BPF is OK because fprobe is used as a part of\nbpf_kprobe_multi_link. This unregisters its fprobe in\nbpf_kprobe_multi_link_release() and it is deallocated via\nbpf_kprobe_multi_link_dealloc(), which is invoked from\nbpf_link_defer_dealloc_rcu_gp() RCU callback.\n\nFor BPF, this also introduced unregister_fprobe_async() which does\nNOT wait for RCU grace priod.","publishedAt":"2026-07-19T15:39:49.679Z","updatedAt":"2026-07-19T15:39:49.679Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4346ba1604093305a287e08eb465a9c15ba05b80","status":"affected","lessThan":"56b4cfcf1518245493c60fd39c56978f508f1816","versionType":"git"},{"version":"4346ba1604093305a287e08eb465a9c15ba05b80","status":"affected","lessThan":"a4f6a9005ed6cfd360ef2520430927f05f92ffb0","versionType":"git"},{"version":"4346ba1604093305a287e08eb465a9c15ba05b80","status":"affected","lessThan":"657b594b2084b39a4bc6d8493aa2140cb00cea49","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/fprobe.h","kernel/trace/bpf_trace.c","kernel/trace/fprobe.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/fprobe.h","kernel/trace/bpf_trace.c","kernel/trace/fprobe.c"]}],"references":["https://git.kernel.org/stable/c/56b4cfcf1518245493c60fd39c56978f508f1816","https://git.kernel.org/stable/c/a4f6a9005ed6cfd360ef2520430927f05f92ffb0","https://git.kernel.org/stable/c/657b594b2084b39a4bc6d8493aa2140cb00cea49"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64075.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64075","state":"PUBLISHED","datePublished":"2026-07-19T15:39:49.679Z","dateUpdated":"2026-07-19T15:39:49.679Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T07:54:57.031Z"},"containers":{"cna":{"title":"fprobe: Fix unregister_fprobe() to wait for RCU grace period","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfprobe: Fix unregister_fprobe() to wait for RCU grace period\n\nCommit 4346ba1604093 (\"fprobe: Rewrite fprobe on function-graph tracer\")\nchanged fprobe to register struct fprobe to an rcu-hlist, but it forgot\nto wait for RCU GP. Thus there can be use-after-free if the fprobe is\nreleased right after unregistering. This can be happened on fprobe\nevent and sample module code.\n\nTo fix this issue, add synchronize_rcu() in unregister_fprobe().\n\nNote that BPF is OK because fprobe is used as a part of\nbpf_kprobe_multi_link. This unregisters its fprobe in\nbpf_kprobe_multi_link_release() and it is deallocated via\nbpf_kprobe_multi_link_dealloc(), which is invoked from\nbpf_link_defer_dealloc_rcu_gp() RCU callback.\n\nFor BPF, this also introduced unregister_fprobe_async() which does\nNOT wait for RCU grace priod."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4346ba1604093305a287e08eb465a9c15ba05b80","status":"affected","lessThan":"56b4cfcf1518245493c60fd39c56978f508f1816","versionType":"git"},{"version":"4346ba1604093305a287e08eb465a9c15ba05b80","status":"affected","lessThan":"a4f6a9005ed6cfd360ef2520430927f05f92ffb0","versionType":"git"},{"version":"4346ba1604093305a287e08eb465a9c15ba05b80","status":"affected","lessThan":"657b594b2084b39a4bc6d8493aa2140cb00cea49","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/fprobe.h","kernel/trace/bpf_trace.c","kernel/trace/fprobe.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/fprobe.h","kernel/trace/bpf_trace.c","kernel/trace/fprobe.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/56b4cfcf1518245493c60fd39c56978f508f1816"},{"url":"https://git.kernel.org/stable/c/a4f6a9005ed6cfd360ef2520430927f05f92ffb0"},{"url":"https://git.kernel.org/stable/c/657b594b2084b39a4bc6d8493aa2140cb00cea49"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-07-19T15:39:49.679Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"6.18.34"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.0.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}