Descrizione

In the Linux kernel, the following vulnerability has been resolved: xfrm: iptfs: propagate SKBFL_SHARED_FRAG in iptfs_skb_add_frags() When iptfs_skb_add_frags() copies frag references from the source frag walk into a new SKB, it increments the page reference count via __skb_frag_ref() but does not propagate SKBFL_SHARED_FRAG to the destination SKB's skb_shinfo->flags. If the source SKB carries shared frags (e.g. from a page-pool backed receive path), the new inner SKB will appear to ESP as having privately owned frags. A subsequent esp_input() call for a nested transport-mode SA then takes the no-COW fast path and decrypts in place, writing over pages that are still referenced by the outer IPTFS SKB. This causes kernel-visible memory corruption and can trigger a panic. All other frag-transfer helpers in the kernel (skb_try_coalesce, skb_gro_receive, __pskb_copy_fclone, skb_shift, skb_segment) correctly propagate SKBFL_SHARED_FRAG; align iptfs_skb_add_frags() with this convention by setting the flag inside the loop immediately after __skb_frag_ref() and nr_frags++, so every exit path that attaches a frag unconditionally propagates SKBFL_SHARED_FRAG.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.8.

Versioni da aggiornare

  • Linux Linux Kernel: vulnerabili le versioni dalla 6.14 precedenti alla 6.18.42 → aggiornare alla 6.18.42 o successiva.
  • Linux Linux Kernel: vulnerabili le versioni dalla 6.19 precedenti alla 7.1.6 → aggiornare alla 7.1.6 o successiva.
  • 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

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

  1. Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
  2. Confrontare la versione installata con quelle indicate sopra.
  3. Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
  4. Ripetere la scansione per confermare la correzione.

Configurazioni interessate

VendorProdottoVersioni vulnerabiliCorretta in
Linux Linux Kernel ≥ 6.14 < 6.18.42 6.18.42
Linux Linux Kernel ≥ 6.19 < 7.1.6 7.1.6
Linux Linux Kernel 7.2 rc1 —
Linux Linux Kernel 7.2 rc2 —
Linux Linux Kernel 7.2 rc3 —

Riferimenti