PT-2026-167065
CVE-2026-143207
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: Block E-Switch mode changes during IPsec policy creation
Eswitch mode changes can tear down the IPsec context while policy
creation is accessing it. The mode-blocking reference acquired when
creating a flow table comes too late: the table lookup already accesses
the IPsec context before taking that reference.
Take a temporary mode-blocking reference before checking the IPsec
context and validating the policy. This gets dropped after successful
setup, when the flow table holds its own reference.
The temporary reservation must allow reuse of existing IPsec tables.
For example:
- An offloaded inbound IPsec policy is added on the uplink.
- A TC flower rule is added on a VF representor.
- Another uplink policy is added using the same RX tables.
The third policy reuses the first policy's tables, so it must not be
rejected merely because esw->user count is nonzero. Add a check users
argument to mlx5 eswitch block mode(). Pass false for temporary policy
reservations and true when creating the first table (rx get()/tx get()).
Temporary reservations take mode lock and check operation ownership
without requiring eswitch user count to be zero.
mlx5e xfrm add state() needs the same early mode reservation and is
handled in the next patch.
This was found by Sashiko, during review of the last patch in the
series. No reproduction attempted, as it seems quite a tricky race to
successfully trigger.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾