PT-2026-163544
CVE-2026-139503
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
PCI/AER: Fix struct pci dev reference leak in aer process err devices()
When an AER error occurs, candidate error-source devices are added to
e info->dev[] by add error device(), which takes a reference with
pci dev get().
A device can be recorded without any error status being present: the
Requester ID fast path in is error source(),
if (e info->id == pci dev id(dev))
return true;
matches purely on the ID reported by the Root Port and returns true without
reading the device's AER status registers.
In aer process err devices(), handle error source() is called only if
aer get device error info() returns non-zero, i.e. only if an unmasked
error status bit is actually set. It returns 0 if the device has become
inaccessible (status and mask both read as all ones, so
status & ~mask == 0) or if no unmasked status bit is set.
Because handle error source() was responsible for calling pci dev put(),
skipping it permanently leaks the reference taken in add error device().
Decouple reference lifetime from error handling by moving pci dev put() out
of handle error source() and into the aer process err devices() loop, so
every recorded device is put exactly once.
handle error source() is static and aer process err devices() is its only
caller, so no other path is affected.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾