Descrizione
In the Linux kernel, the following vulnerability has been resolved: net: openvswitch: reject oversized nested action attrs Open vSwitch stores generated flow actions as nlattrs, whose nla_len field is u16. Commit a1e64addf3ff ("net: openvswitch: remove misbehaving actions length check") allowed the total sw_flow_actions stream to grow beyond 64 KiB, which is valid, but also removed the last guard preventing a generated nested action attribute from exceeding U16_MAX. An oversized generated container can thus be closed with a truncated nla_len. A later dump or teardown then walks a structurally different stream than the one that was validated. In particular, an oversized nested CLONE/CT action may cause subsequent bytes in the generated stream to be interpreted as independent actions. Keep the larger total-action-stream behavior, but make nested action close reject generated containers that do not fit in nla_len, and return the error through all callers. For recursive SAMPLE, CLONE, DEC_TTL, and CHECK_PKT_LEN builders, trim resource-owning action-list tails in reverse construction order before discarding failed wrappers, so resources copied into the rejected tails are released before the wrappers are removed. Most failed outer wrappers are discarded by truncating actions_len after child resources have been released. CHECK_PKT_LEN also trims its parent after branch resources are gone. SET/TUNNEL close failures unwind their known tun_dst ownership directly, and SET_TO_MASKED has no external ownership and truncates on close failure.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.8.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
5.15.180precedenti alla5.15.212→ aggiornare alla5.15.212o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.1.132precedenti alla6.1.178→ aggiornare alla6.1.178o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.6.84precedenti alla6.6.145→ aggiornare alla6.6.145o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.12.20precedenti alla6.12.97→ aggiornare alla6.12.97o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13.8precedenti alla6.14→ aggiornare alla6.14o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.14.1precedenti alla6.18.40→ aggiornare alla6.18.40o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.1.5→ aggiornare alla7.1.5o successiva. - Linux Linux Kernel: vulnerabile la versione
6.14→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
6.14 rc7→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.2 rc1→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.2 rc2→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.2 rc3→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/1b41cbe05b184f8861712f0806c…
- Patch: git.kernel.org/stable/c/3f1f755366687d051174739fb99…
- Patch: git.kernel.org/stable/c/ab855641241387db062a5e41d9a…
- Patch: git.kernel.org/stable/c/c66bd2626c2764f23764ff0f827…
- Patch: git.kernel.org/stable/c/d573250d228401f707f4dbc09d1…
- Patch: git.kernel.org/stable/c/dbd14f736be02cfe73049bd801a…
- Patch: git.kernel.org/stable/c/f1efff8858403191361a01269c6…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Linux | Linux Kernel | ≥ 5.15.180 < 5.15.212 | 5.15.212 |
| Linux | Linux Kernel | ≥ 6.1.132 < 6.1.178 | 6.1.178 |
| Linux | Linux Kernel | ≥ 6.6.84 < 6.6.145 | 6.6.145 |
| Linux | Linux Kernel | ≥ 6.12.20 < 6.12.97 | 6.12.97 |
| Linux | Linux Kernel | ≥ 6.13.8 < 6.14 | 6.14 |
| Linux | Linux Kernel | ≥ 6.14.1 < 6.18.40 | 6.18.40 |
| Linux | Linux Kernel | ≥ 6.19 < 7.1.5 | 7.1.5 |
| Linux | Linux Kernel | 6.14 | — |
| Linux | Linux Kernel | 6.14 rc7 | — |
| Linux | Linux Kernel | 7.2 rc1 | — |
| Linux | Linux Kernel | 7.2 rc2 | — |
| Linux | Linux Kernel | 7.2 rc3 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/1b41cbe05b184f8861712f0806cc0c4f5d8c6dfe
- Patchhttps://git.kernel.org/stable/c/3f1f755366687d051174739fb99f7d560202f60b
- Patchhttps://git.kernel.org/stable/c/ab855641241387db062a5e41d9ad6b8561542572
- Patchhttps://git.kernel.org/stable/c/c66bd2626c2764f23764ff0f8277f44a9cfe8349
- Patchhttps://git.kernel.org/stable/c/d573250d228401f707f4dbc09d11227a6215ee5f
- Patchhttps://git.kernel.org/stable/c/dbd14f736be02cfe73049bd801af89becd1a0749
- Patchhttps://git.kernel.org/stable/c/f1efff8858403191361a01269c6fe8dd7f55a385
- Riferimentohttp://www.openwall.com/lists/oss-security/2026/07/28/8
- Riferimentohttp://www.openwall.com/lists/oss-security/2026/07/31/17
- Riferimentohttp://www.openwall.com/lists/oss-security/2026/08/01/1
- Riferimentohttp://www.openwall.com/lists/oss-security/2026/08/01/3
- Riferimentohttp://www.openwall.com/lists/oss-security/2026/08/22/1