net: openvswitch: Fix Use-After-Free in ovs_ct_exit
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 11efd5cb04a184eea4f57b68ea63dddd463158d1 · < eaa5e164a2110d2fb9e16c8a29e4501882235137| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s Open vSwitch connection-tracking cleanup can access a freed key during traversal if an RCU grace period passes. The input does not specify how an attacker could trigger this or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with Open vSwitch should check their kernel versions; affected versions are not specified.