PT-2026-163202

CVE-2026-139161

·

تاريخ النشر

2026-11-30

·

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

2026-11-30

الوصف من

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

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

In the Linux kernel, the following vulnerability has been resolved:
tls: keep TX and RX hardware offload on the same device
After TX is offloaded on device A, a route change, or a change in the usable-slave set of an 802.3ad or balance-xor (layer3+4) bond, can make RX setup program device B. tls device attach() sees the existing TLS destructor and keeps ctx->netdev pointing at A. The RX driver state on B is then untracked: tls dev resync() and tls dev del() are invoked on A for a context it never created, and neither socket close nor NETDEV DOWN on B calls tls dev del() for B, so the driver context leaks. The reverse setup order has the same problem.
Check the shared device binding under device offload lock before each tls dev add(). Permit the first attachment and a second direction on the same device. Reject a different device, including when the old binding was cleared by NETDEV DOWN: the TLS destructor remains installed and tls device attach() cannot establish a new binding. Setup then falls back to software for the requested direction.
The RX check precedes allocation and software setup. TX uses its existing resource unwind path without calling the driver. Document the shared binding and clarify that fallback is per direction.
This issue was discovered during code review and subsequently reproduced on hardware using mlx5 and TLS 1.2 AES-GCM-128.
Changing the route between TX and RX setup installed the second direction on a different device. Driver traces showed successful adds on both devices, but both deletes at socket close targeted the first device, leaving an orphaned context on the second. Both setup orders reproduced the leak, even though all current core TLS context counters returned to zero. No crash was observed.
With the fix, the same tests correctly fall back to software for the second direction and leave no orphaned hardware context.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾