CVE-2026-93181

Source
https://cve.org/CVERecord?id=CVE-2026-93181
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93181.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-93181
Downstream
Published
2026-09-17T16:12:08Z
Modified
2026-09-18T03:47:37Z
Summary
perf/x86/intel/uncore: Fix uncore_box ref/unref ordering
Details

In the Linux kernel, the following vulnerability has been resolved:

perf/x86/intel/uncore: Fix uncore_box ref/unref ordering

In uncore_event_cpu_online(), uncore_box_ref() was called before uncore_change_context(). uncore_box_ref() gates on box->cpu >= 0, but box->cpu is still -1 at that point because uncore_change_context() has not run yet. As a result, the box is never initialized on the first CPU to come online in a die, leaving it permanently uninitialized in the single-CPU-per-die case.

Thus, box->refcnt is one count below the true value, and in the CPU offline path, the box will be torn down on the second-to-last CPU.

In uncore_event_cpu_offline(), uncore_box_unref() was called after uncore_change_context(), so box->cpu is already -1 when the collector CPU goes offline, which prevents it from tearing down the box.

Fix by swapping the call order in both paths so that uncore_box_{ref,unref}() runs at the point where box->cpu reflects the correct context.

Move allocate_boxes() out of uncore_box_ref() to enable this reordering.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93181.json"
}
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
c74443d92f68f07c03ae242ced554b749e6c6736
Fixed
64aa1bb4017d598828c6d8cd718f43daf2a83375
Fixed
174f0582e38abe03b88e15f04bfe58490f88cb19

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
7.2.6

Database specific

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