PT-2026-163702

CVE-2026-139661

·

تاريخ النشر

2026-11-30

·

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

2026-11-30

الوصف من

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

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

In the Linux kernel, the following vulnerability has been resolved:
bpf, lsm: Reject writes into the BPF LSM program context
The verifier types a load from a tracing-style context by its offset alone: btf ctx access() looks the offset up in the attach hook's prototype, and check mem access() stamps the resulting type onto the destination register. Nothing tracks what the slot actually holds. That is sound only as long as the context is read-only, and for BPF LSM it is not. lsm verifier ops wires ->is valid access() straight to btf ctx access(), which never looks at enum bpf access type, so a store into the context passes verification. Every other user of the helper either goes through bpf tracing btf ctx access() or open-codes the same type != BPF READ test first; BPF LSM is the only one that does neither.
A program can therefore store a scalar of its choosing into a context slot, read the slot back, and get a register the verifier believes is a trusted pointer of the hook's argument type. Handing that to a kfunc or helper which dereferences a trusted argument turns it into an arbitrary kernel access. Route BPF LSM through bpf tracing btf ctx access() like everyone else.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾