{"id":"CVE-2026-72012","state":"PUBLISHED","title":"tracing/osnoise: Call synchronize_rcu() when unregistering","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing/osnoise: Call synchronize_rcu() when unregistering\n\nThis ensures that any RCU readers traversing the instance list\nhave finished, before releasing the reference on the tracer that\nthe instance points to.","publishedAt":"2026-08-15T05:51:41.222Z","updatedAt":"2026-10-19T21:09:12.782Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a6ed2aee54644cfa2d04ca86308767f5c3a087e8","status":"affected","lessThan":"428cedade9b2cc8e48f00742df0cfd770e77a803","versionType":"git"},{"version":"a6ed2aee54644cfa2d04ca86308767f5c3a087e8","status":"affected","lessThan":"3c693635bb7b3a9b6645831a84fed2af46cdf249","versionType":"git"},{"version":"a6ed2aee54644cfa2d04ca86308767f5c3a087e8","status":"affected","lessThan":"38366140dc8ee3568c7f0191d517e117963bd580","versionType":"git"},{"version":"a6ed2aee54644cfa2d04ca86308767f5c3a087e8","status":"affected","lessThan":"fad36954b29592ce463254179c3043697678481f","versionType":"git"},{"version":"a6ed2aee54644cfa2d04ca86308767f5c3a087e8","status":"affected","lessThan":"dd0160a0842337f12e7694d68b184050afc6d3a4","versionType":"git"},{"version":"a6ed2aee54644cfa2d04ca86308767f5c3a087e8","status":"affected","lessThan":"fe58f457ad8d0a2bef4e053cfecca4b5cd266b1a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/trace/trace_osnoise.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.17","versionType":"semver"},{"version":"6.1.184","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/trace/trace_osnoise.c"]}],"references":["https://git.kernel.org/stable/c/428cedade9b2cc8e48f00742df0cfd770e77a803","https://git.kernel.org/stable/c/3c693635bb7b3a9b6645831a84fed2af46cdf249","https://git.kernel.org/stable/c/38366140dc8ee3568c7f0191d517e117963bd580","https://git.kernel.org/stable/c/fad36954b29592ce463254179c3043697678481f","https://git.kernel.org/stable/c/dd0160a0842337f12e7694d68b184050afc6d3a4","https://git.kernel.org/stable/c/fe58f457ad8d0a2bef4e053cfecca4b5cd266b1a"],"weaknesses":["CWE-667"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72012.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72012","state":"PUBLISHED","datePublished":"2026-08-15T05:51:41.222Z","dateUpdated":"2026-10-19T21:09:12.782Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.899Z"},"containers":{"cna":{"title":"tracing/osnoise: Call synchronize_rcu() when unregistering","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing/osnoise: Call synchronize_rcu() when unregistering\n\nThis ensures that any RCU readers traversing the instance list\nhave finished, before releasing the reference on the tracer that\nthe instance points to."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a6ed2aee54644cfa2d04ca86308767f5c3a087e8","status":"affected","lessThan":"428cedade9b2cc8e48f00742df0cfd770e77a803","versionType":"git"},{"version":"a6ed2aee54644cfa2d04ca86308767f5c3a087e8","status":"affected","lessThan":"3c693635bb7b3a9b6645831a84fed2af46cdf249","versionType":"git"},{"version":"a6ed2aee54644cfa2d04ca86308767f5c3a087e8","status":"affected","lessThan":"38366140dc8ee3568c7f0191d517e117963bd580","versionType":"git"},{"version":"a6ed2aee54644cfa2d04ca86308767f5c3a087e8","status":"affected","lessThan":"fad36954b29592ce463254179c3043697678481f","versionType":"git"},{"version":"a6ed2aee54644cfa2d04ca86308767f5c3a087e8","status":"affected","lessThan":"dd0160a0842337f12e7694d68b184050afc6d3a4","versionType":"git"},{"version":"a6ed2aee54644cfa2d04ca86308767f5c3a087e8","status":"affected","lessThan":"fe58f457ad8d0a2bef4e053cfecca4b5cd266b1a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/trace/trace_osnoise.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.17","versionType":"semver"},{"version":"6.1.184","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/trace/trace_osnoise.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/428cedade9b2cc8e48f00742df0cfd770e77a803"},{"url":"https://git.kernel.org/stable/c/3c693635bb7b3a9b6645831a84fed2af46cdf249"},{"url":"https://git.kernel.org/stable/c/38366140dc8ee3568c7f0191d517e117963bd580"},{"url":"https://git.kernel.org/stable/c/fad36954b29592ce463254179c3043697678481f"},{"url":"https://git.kernel.org/stable/c/dd0160a0842337f12e7694d68b184050afc6d3a4"},{"url":"https://git.kernel.org/stable/c/fe58f457ad8d0a2bef4e053cfecca4b5cd266b1a"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation requires writing tracefs (e.g. enabling osnoise/timerlat via current_tracer and deleting a tracing instance); there is no network, adjacent, or physical entry path to osnoise_unregister_instance().\nAC:L - An attacker who can configure tracing controls both teardown and sampling; deleting a trace instance while osnoise/timerlat is active races RCU readers that still dereference inst->tr, and this race is reliably attacker-driven.\nPR:L - Triggering requires tracefs write access to configure/destroy tracing instances; this is not init-namespace root on every system (tracing group/remounted tracefs or CAP_SYS_ADMIN in a container with tracefs mounted suffices).\nUI:N - No victim interaction is required; exploitation is achieved entirely by the attacker's tracing configuration and concurrent instance teardown.\nS:U - The use-after-free corrupts kernel memory within the same kernel security domain; it does not cross VM, IOMMU, or sandbox boundaries by itself.\nC:H - Deferred kvfree_rcu_mightsleep() lets __remove_instance() free the trace_array while RCU readers in IRQ/NMI/timerlat paths still dereference inst->tr, a classic UAF enabling arbitrary kernel memory disclosure.\nI:H - The dangling trace_array pointer can be leveraged for heap corruption and control-flow hijack; UAF of kernel heap objects is scored as high integrity impact even when the immediate failure mode is a crash.\nA:H - Concurrent access to a freed trace_array causes kernel oops/panic from RCU list walkers and buffer operations; UAF in interrupt context can crash or hang the system even without full exploitation."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-23T12:46:24.402Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.1.184"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-72012","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:49:56.472823Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-667","lang":"en","type":"CWE","description":"CWE-667 Improper Locking"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T21:09:12.782Z"}}]}}}