What’s Vulnerable › Vulnerabilities

CVE-2024-27395: net: openvswitch: Fix Use-After-Free in ovs_ct_exit

Description

In the Linux kernel, the following vulnerability has been resolved: net: openvswitch: Fix Use-After-Free in ovs_ct_exit Since kfree_rcu, which is called in the hlist_for_each_entry_rcu traversal of ovs_ct_limit_exit, 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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.313, 5.10.216, 5.15.158, 5.4.275. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-27395 or the next vulnerability affects your stack