7.8high
net: openvswitch: Fix Use-After-Free in ovs_ct_exit
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 11efd5cb04a184eea4f57b68ea63dddd463158d1 before 2db9a8c0a01fa1c762c1e61a13c212c492752994, from 11efd5cb04a184eea4f57b68ea63dddd463158d1 before 589523cf0b384164e445dd5db8d5b1bf97982424, from 11efd5cb04a184eea4f57b68ea63dddd463158d1 before 35880c3fa6f8fe281a19975d2992644588ca33d3, from 11efd5cb04a184eea4f57b68ea63dddd463158d1 before 9048616553c65e750d43846f225843ed745ec0d4, from 11efd5cb04a184eea4f57b68ea63dddd463158d1 before bca6fa2d9a9f560e6b89fd5190b05cc2f5d422c1, from 11efd5cb04a184eea4f57b68ea63dddd463158d1 before eaa5e164a2110d2fb9e16c8a29e4501882235137, from 11efd5cb04a184eea4f57b68ea63dddd463158d1 before edee0758747d7c219e29db9ed1d4eb33e8d32865, from 11efd5cb04a184eea4f57b68ea63dddd463158d1 before 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2 and 1 more Not affected: before 4.18, from 4.19.313 up to 4.19.*, from 5.4.275 up to 5.4.*, from 5.10.216 up to 5.10.*, from 5.15.158 up to 5.15.*, from 6.1.90 up to 6.1.* | CVE List |
| linux linux_kernel | from 4.18 before 4.19.313, from 4.20 before 5.4.275, from 5.5 before 5.10.216, from 5.11 before 5.15.158, from 5.16 before 6.1.90, from 6.2 before 6.6.30, from 6.7 before 6.8.9, 6.9 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: openvswitch: Fix Use-After-Free en ovs_ct_exit Dado que kfree_rcu, que se llama en el recorrido hlist_for_each_entry_rcu de ovs_ct_limit_exit, no forma parte de la sección crítica de lectura de RCU, es posible que el período de gracia de RCU pasará durante el recorrido y la clave quedará libre. Para evitar esto, se debe cambiar a hlist_for_each_entry_safe.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-27395 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-27395 changed 2026-10-15 | Public domain |