openvswitch: Fix CT limit teardown use-after-free (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.13 % · percentile 2 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: openvswitch: Fix CT limit teardown use-after-free Packet processing uses CT limit state under RCU, while netns teardown frees that state under ovs_mutex. The CT limit pointer was neither removed from readers nor protected by a grace period, allowing packet processing to dereference the freed state. An unprivileged user can trigger this bug from a user and network namespace, causing a slab-use-after-free in ovs_ct_execute() when the netns is torn down. Publish the CT limit pointer through RCU, remove it before teardown, and wait for readers before freeing its contents. Keep ovs_mutex around individual CT limit updates, and use the RCU read-side lock while GET traverses the RCU-protected limit lists. Netns teardown detaches the RCU-protected CT limit state in the pernet .pre_exit callback while holding ovs_mutex. The pernet core guarantees an RCU grace period between the .pre_exit and .exit callbacks, so the .exit callback completes the teardown without adding any extra synchronization. The netlink command handlers do not need NULL checks because the userspace netlink socket holds an active reference to its network namespace while a request is processed. The per-netns exit path therefore cannot run concurrently with SET, DEL, or GET for that socket's namespace.
References
- https://git.kernel.org/stable/c/239f26589a6926db28c436e14f28517581ef1385
- https://git.kernel.org/stable/c/3b9369881b403f4cdbb11fa998554382bdcc3d8c
- https://git.kernel.org/stable/c/3b41d907400cc1dd1da9555b81dca422b1f44433
- https://git.kernel.org/stable/c/680f20d5937fa4d1367c59fe83091b78041015f5
- https://git.kernel.org/stable/c/bf4aaa7ea2579e24ed7de2e20578a875bebca011
- https://git.kernel.org/stable/c/e15407c3a8a005324f633cd46cd8fb58042c1157
- https://git.kernel.org/stable/c/6a6d36fadb8537d9b79e72c9fa51885ec0c33e10
- https://git.kernel.org/stable/c/403f96c32c9e24600093d7d0c61c17daeedca957
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-76394
- GCVE · GCVE-0-2026-89488
CERT-FR advisories
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 11efd5cb04a184eea4f57b68ea63dddd463158d1 < 239f26589a6926db28c436e14f28517581ef1385 ; affected 11efd5cb04a184eea4f57b68ea63dddd463158d1 < 3b9369881b403f4cdbb11fa998554382bdcc3d8c ; affected 11efd5cb04a184eea4f57b68ea63dddd463158d1 < 3b41d907400cc1dd1da9555b81dca422b1f44433 ; affected 11efd5cb04a184eea4f57b68ea63dddd463158d1 < 680f20d5937fa4d1367c59fe83091b78041015f5 ; affected 11efd5cb04a184eea4f57b68ea63dddd463158d1 < bf4aaa7ea2579e24ed7de2e20578a875bebca011 ; affected 11efd5cb04a184eea4f57b68ea63dddd463158d1 < e15407c3a8a005324f633cd46cd8fb58042c1157 |
| Linux · Linux | affected 4.18 ; unaffected 0 < 4.18 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |