In the Linux kernel, the following vulnerability has been resolved: inet: frags: publish queues before arming timer inet_frag_create() arms the fragment queue timer before inserting the queue into the fqdir rhashtable. If the namespace fragment timeout is zero or negative, the timer can run before the queue is published. The timer callback then marks the queue complete, tries to remove a node that is not in the hash table yet, and drops the anticipated hash reference. Creation can subsequently publish the completed queue without restoring that reference, leaving a stale hash node after the caller drops the remaining reference. Publish the queue first and arm the timer while holding the queue lock. This makes timer expiry wait until the queue is visible in the hash table, so inet_frag_kill() can remove the node and balance the hash reference.
https://git.kernel.org/stable/c/9f904dd3e455750e5d4ec9b2f134835811b85a2f
https://git.kernel.org/stable/c/928128865e43b197e30688dc1bc991592c97edcf
https://git.kernel.org/stable/c/653d7ddf6cba867777a3d14c4f83ace008c5ad13