Descrizione
In the Linux kernel, the following vulnerability has been resolved: netfilter: x_tables: avoid leaking percpu counter pointers The native and compat get-entries paths copy the fixed rule entry header from the kernelized rule blob to userspace before overwriting the entry's counter fields with a sanitized counter snapshot. On SMP kernels, entry->counters.pcnt contains the percpu allocation address used by x_tables rule counters. A caller can provide a userspace buffer that faults during the initial fixed-header copy after pcnt has been copied but before the later sanitized counter copy runs. The syscall then returns -EFAULT while leaving the raw percpu pointer in userspace. Copy only the fixed entry prefix before counters from the kernelized rule blob, then copy the sanitized counter snapshot into the counter field. Apply this ordering to the IPv4, IPv6, and ARP native and compat get-entries implementations so a fault cannot expose the internal percpu counter pointer.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
4.2precedenti alla5.10.259→ aggiornare alla5.10.259o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.11precedenti alla5.15.210→ aggiornare alla5.15.210o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.16precedenti alla6.1.176→ aggiornare alla6.1.176o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.143→ aggiornare alla6.6.143o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.94→ aggiornare alla6.12.94o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.36→ aggiornare alla6.18.36o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.0.13→ aggiornare alla7.0.13o successiva. - Linux Linux Kernel: vulnerabile la versione
7.1 rc1→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc2→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc3→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc4→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc5→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc6→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.1 rc7→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/08a3e218064db11f154ad9ad554…
- Patch: git.kernel.org/stable/c/0b35dc8527ccc16b7dc34e8a316…
- Patch: git.kernel.org/stable/c/8d67e42ad3b1a95a152541015a0…
- Patch: git.kernel.org/stable/c/a0d16941adf3a501956d74aefd8…
- Patch: git.kernel.org/stable/c/b28e2fcad3db7e8687b15bc20bc…
- Patch: git.kernel.org/stable/c/b74ba3343eb44b2cbf7e9665918…
- Patch: git.kernel.org/stable/c/f7f2fbb0e893a0238dc464f8d8c…
- Patch: git.kernel.org/stable/c/fb0521aff1e10e300d89725cc43…
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
- 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 | ≥ 4.2 < 5.10.259 | 5.10.259 |
| Linux | Linux Kernel | ≥ 5.11 < 5.15.210 | 5.15.210 |
| Linux | Linux Kernel | ≥ 5.16 < 6.1.176 | 6.1.176 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.143 | 6.6.143 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.94 | 6.12.94 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.36 | 6.18.36 |
| Linux | Linux Kernel | ≥ 6.19 < 7.0.13 | 7.0.13 |
| Linux | Linux Kernel | 7.1 rc1 | — |
| Linux | Linux Kernel | 7.1 rc2 | — |
| Linux | Linux Kernel | 7.1 rc3 | — |
| Linux | Linux Kernel | 7.1 rc4 | — |
| Linux | Linux Kernel | 7.1 rc5 | — |
| Linux | Linux Kernel | 7.1 rc6 | — |
| Linux | Linux Kernel | 7.1 rc7 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/08a3e218064db11f154ad9ad5541751ea7f34ebe
- Patchhttps://git.kernel.org/stable/c/0b35dc8527ccc16b7dc34e8a3164313e68cd4e45
- Patchhttps://git.kernel.org/stable/c/8d67e42ad3b1a95a152541015a07110e06992d6c
- Patchhttps://git.kernel.org/stable/c/a0d16941adf3a501956d74aefd8d6e217906e79c
- Patchhttps://git.kernel.org/stable/c/b28e2fcad3db7e8687b15bc20bced26b5b7c920e
- Patchhttps://git.kernel.org/stable/c/b74ba3343eb44b2cbf7e9665918c287df1d52ebb
- Patchhttps://git.kernel.org/stable/c/f7f2fbb0e893a0238dc464f8d8c0f5609bec584f
- Patchhttps://git.kernel.org/stable/c/fb0521aff1e10e300d89725cc439d3ea74c828c5
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-019113.html
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-457936.html
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-784472.html