Descrizione
In the Linux kernel, the following vulnerability has been resolved: ipv6: rpl: reserve mac_len headroom when recompressed SRH grows ipv6_rpl_srh_rcv() decompresses an RFC 6554 Source Routing Header, swaps the next segment into ipv6_hdr->daddr, recompresses, then pulls the old header and pushes the new one plus the IPv6 header back. The recompressed header can be larger than the received one when the swap reduces the common-prefix length the segments share with daddr (CmprI=0, CmprE>0, seg[0][0] != daddr[0] gives the maximum +8 bytes). pskb_expand_head() was gated on segments_left == 0, so on earlier segments the push consumed unchecked headroom. Once skb_push() leaves fewer than skb->mac_len bytes in front of data, skb_mac_header_rebuild()'s call to: skb_set_mac_header(skb, -skb->mac_len); will store (data - head) - mac_len into the u16 mac_header field, which wraps to ~65530, and the following memmove() writes mac_len bytes ~64KiB past skb->head. A single AF_INET6/SOCK_RAW/IPV6_HDRINCL packet over lo with a two segment type-3 SRH (CmprI=0, CmprE=15) reaches headroom 8 after one pass; KASAN reports a 14-byte OOB write in ipv6_rthdr_rcv. Fix this by expanding the head whenever the remaining room is less than the push size plus mac_len, and request that much extra so the rebuilt MAC header fits afterwards.
Come correggere
Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.8.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
5.7precedenti alla5.10.258→ aggiornare alla5.10.258o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.11precedenti alla5.15.209→ aggiornare alla5.15.209o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.16precedenti alla6.1.175→ aggiornare alla6.1.175o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.140→ aggiornare alla6.6.140o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.86→ aggiornare alla6.12.86o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.27→ aggiornare alla6.18.27o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.0.4→ aggiornare alla7.0.4o successiva. - Linux Linux Kernel: vulnerabile la versione
7.1 rc1→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/0a9e8053f1f8a8e1bfc1dd61ffe…
- Patch: git.kernel.org/stable/c/4babc2d9fda2df43823b85d08a0…
- Patch: git.kernel.org/stable/c/7398ebefbfd4f8a31d4f665a421…
- Patch: git.kernel.org/stable/c/8e8be63465a5e80394c70324603…
- Patch: git.kernel.org/stable/c/9e6bf146b55999a095bb14f73a8…
- Patch: git.kernel.org/stable/c/bde199c72d319a4e207f88daabc…
- Patch: git.kernel.org/stable/c/be1fa0aa9b4fdd5a8b7a61ba520…
- Patch: git.kernel.org/stable/c/c261d07a80576dc8ccf394ef8f0…
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.7 < 5.10.258 | 5.10.258 |
| Linux | Linux Kernel | ≥ 5.11 < 5.15.209 | 5.15.209 |
| Linux | Linux Kernel | ≥ 5.16 < 6.1.175 | 6.1.175 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.140 | 6.6.140 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.86 | 6.12.86 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.27 | 6.18.27 |
| Linux | Linux Kernel | ≥ 6.19 < 7.0.4 | 7.0.4 |
| Linux | Linux Kernel | 7.1 rc1 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/0a9e8053f1f8a8e1bfc1dd61ffe67be6c1180402
- Patchhttps://git.kernel.org/stable/c/4babc2d9fda2df43823b85d08a0180b68f1b0854
- Patchhttps://git.kernel.org/stable/c/7398ebefbfd4f8a31d4f665a4213302fa995494b
- Patchhttps://git.kernel.org/stable/c/8e8be63465a5e80394c70324603dfea1bfdad48f
- Patchhttps://git.kernel.org/stable/c/9e6bf146b55999a095bb14f73a843942456d1adc
- Patchhttps://git.kernel.org/stable/c/bde199c72d319a4e207f88daabc888317504e2fb
- Patchhttps://git.kernel.org/stable/c/be1fa0aa9b4fdd5a8b7a61ba520a690a68391e6e
- Patchhttps://git.kernel.org/stable/c/c261d07a80576dc8ccf394ef8f074f8c67a06b37
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:25191
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:25217
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:27713
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:27731
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:33900
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:34094
- Riferimentohttps://access.redhat.com/errata/RHSA-2026:34095
- Riferimentohttps://access.redhat.com/security/cve/CVE-2026-43501
- Riferimentohttps://bugzilla.redhat.com/show_bug.cgi?id=2480457
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-019113.html
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-457936.html
- Riferimentohttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43501.json