A race condition vulnerability in the Linux kernel's mlx5e driver allows a use-after-free scenario during IPsec state creation when E-Switch mode changes occur concurrently. The flaw arises because the driver reads the IPsec context before blocking mode changes, potentially freeing the context while still in use. The issue was identified during code review and involves extending mode reservation to prevent this race. No public exploit or reproduction attempts have been reported.