Ad

CVE-2026-93181

NONE EPSS 0.21%
Обновлено 19 октября 2026
Intel
Параметр Значение
Поставщик Intel
Публичный эксплойт Нет

В ядре Linux была устранена следующая уязвимость: perf/x86/intel/uncore: Fix uncore_box ref/unref ordering In uncore_event_cpu_online(), uncore_box_ref() вызывался раньше uncore_change_context(). uncore_box_ref() gates on box->cpu 0, но box->cpu всё ещё -1 в этой точке, потому что uncore_change_context() ещё не запущен. В результате коробка никогда не инициализируется на первом CPU, который выйдет в онлайн, оставив его навсегда неинициализированным в однопроцессорном корпусе. Таким образом, box->refcnt на один счет ниже истинного значения, и в автономном пути CPU поле будет снесено на second-to-last CPU.

В uncore_event_cpu_offline(), uncore_box_unref() был вызван после uncore_change_context(), поэтому box->cpu уже -1, когда коллектор CPU отключается, что не позволяет ему снести коробку. Исправьте, поменяв порядок вызовов в обоих направлениях, чтобы uncore_box_{ref,unref() работал в точке, где box->cpu отражает правильный контекст. Переместите allocate_boxes() из uncore_box_ref(), чтобы включить этот переупорядочивание.

Показать оригинальное описание (EN)

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.