CVE-2024-50036 is a high-severity vulnerability in the Linux kernel networking subsystem related to the handling of destination entries (dst) in the routing code. The flaw involves a race condition where the function dst_entries_add() uses per-CPU data that might be freed prematurely during network namespace dismantling, leading to potential use-after-free (UAF) conditions. This occurs because dst_release() delays decrementing the count of dsts until after an RCU grace period, which can cause dst_entries_destroy() to be called while dst_entries_add() is still accessing freed data. The issue also affects IPSEC-related code paths. The vulnerability has been resolved in the Linux kernel, but no specific affected versions or patch links are provided in the input data.