CVE-2024-27396 Information

Description

In the Linux kernel the following vulnerability has been resolved:

net: gtp: Fix Use-After-Free in gtp_dellink

Since call_rcu which is called in the hlist_for_each_entry_rcu traversal of gtp_dellink is not part of the RCU read critical section it is possible that the RCU grace period will pass during the traversal and the key will be free.

To prevent this it should be changed to hlist_for_each_entry_safe.

Reference

https://git.kernel.org/stable/c/25a1c2d4b1fcf938356a9688a96a6456abd44b29 https://git.kernel.org/stable/c/2aacd4de45477582993f8a8abb9505a06426bfb6 https://git.kernel.org/stable/c/cd957d1716ec979d8f5bf38fc659aeb9fdaa2474 https://git.kernel.org/stable/c/f2a904107ee2b647bb7794a1a82b67740d7c8a64 https://git.kernel.org/stable/c/2e74b3fd6bf542349758f283676dff3660327c07 https://git.kernel.org/stable/c/0caff3e6390f840666b8dc1ecebf985c2ef3f1dd https://git.kernel.org/stable/c/718df1bc226c383dd803397d7f5d95557eb81ac7 https://git.kernel.org/stable/c/07b20d0a3dc13fb1adff10b60021a4924498da58

Share on: