PT-2026-166630

CVE-2026-142893

·

تاريخ النشر

2026-12-03

·

تاريخ التحديث

2026-12-03

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
bpf: Fix out-of-bounds btf->types write for split BTF
btf add type() stores the types of a BTF in btf->types[], which can hold at most BTF MAX TYPE entries. The types of a split BTF get IDs start id .. start id + nr types - 1, so only BTF MAX TYPE - start id of them fit, but neither the limit check nor the size used to grow the array accounts for start id: the check is an equality test against BTF MAX TYPE ('start id + btf->types size == BTF MAX TYPE') and the new size is clamped to BTF MAX TYPE.
The check therefore only fires if the array happens to grow to exactly BTF MAX TYPE - start id entries. Otherwise, if the module has more than BTF MAX TYPE types, the array is filled up to BTF MAX TYPE entries. The next type that needs to be added reallocates the array to the same size, after which btf->types size no longer equals btf->nr types and the growth path is not taken anymore, so every following type is written past the end of the array:
BUG: unable to handle page fault for address: ffffc90006200000 RIP: 0010:btf add type+0x74/0x270 Call Trace: btf check all metas btf parse module
Bound both the array size and the limit check by BTF MAX TYPE - start id. Base BTF (start id == 0) is unaffected.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾