Descrizione

In the Linux kernel, the following vulnerability has been resolved: net: limit priority VLAN untag depth The priority VLAN receive path can repeatedly remove VID 0 tags and retry packet processing. Unlike the read-only VLAN protocol parser, this path has no limit on the number of nested tags it consumes. Each skb_vlan_untag() advances skb->data and resets header offsets. The offsets are stored in 16-bit fields. With enough nested tags, the network or transport offset can wrap. A later protocol handler can then derive a large pull length from the wrapped offsets and access memory outside the skb allocation. Apply the existing VLAN_MAX_DEPTH limit to the exceptional VID 0 retry. Count the tag already stored in skb VLAN metadata as the first level, then stop before untagging a ninth level. Keep the accounting inside this uncommon branch so the regular VLAN receive path is unaffected. A single VID 0 priority tag before a real VLAN tag is valid. No normal deployment was found that intentionally emits multiple consecutive VID 0 tags; permitting eight levels is therefore conservative. The issue was found while researching the Linux network receive path for Google kvmCTF, with OpenAI Codex (gpt-5.6-sol) assisting the analysis. The affected path, reproducer and fix were manually reviewed and tested.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: EPSS 0.3% (percentile 16).

Versioni da aggiornare

  • Linux Linux: versione corretta 5.10.275 (o successiva).
  • Linux Linux: versione corretta 5.15.226 (o successiva).
  • Linux Linux: versione corretta 6.1.193 (o successiva).
  • Linux Linux: versione corretta 6.6.163 (o successiva).
  • Linux Linux: versione corretta 6.12.118 (o successiva).
  • Linux Linux: versione corretta 6.18.63 (o successiva).
  • Linux Linux: versione corretta 7.3.4 (o successiva).
  • Linux Linux: versione corretta 7.4-rc1 (o successiva).
  • Linux Linux: vulnerabile la versione 5.2 → installare l'ultima release supportata dal vendor.

Mitigazioni temporanee

Da applicare solo se non è possibile aggiornare subito:

  • Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.

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 — 5.10.275
Linux Linux — 5.15.226
Linux Linux — 6.1.193
Linux Linux — 6.6.163
Linux Linux — 6.12.118
Linux Linux — 6.18.63
Linux Linux — 7.3.4
Linux Linux — 7.4-rc1
Linux Linux 5.2 —

Riferimenti