Descrizione
In the Linux kernel, the following vulnerability has been resolved: HID: asus: avoid memory leak in asus_report_fixup() The asus_report_fixup() function was returning a newly allocated kmemdup()-allocated buffer, but never freeing it. Switch to devm_kzalloc() to ensure the memory is managed and freed automatically when the device is removed. The caller of report_fixup() does not take ownership of the returned pointer, but it is permitted to return a pointer whose lifetime is at least that of the input buffer. Also fix a harmless out-of-bounds read by copying only the original descriptor size.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
4.14precedenti alla5.10.253→ aggiornare alla5.10.253o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.11precedenti alla5.15.203→ aggiornare alla5.15.203o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.16precedenti alla6.1.168→ aggiornare alla6.1.168o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.131→ aggiornare alla6.6.131o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.80→ aggiornare alla6.12.80o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.21→ aggiornare alla6.18.21o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla6.19.11→ aggiornare alla6.19.11o successiva. - Linux Linux Kernel: vulnerabile la versione
7.0 rc1→ installare l'ultima release supportata dal vendor. - Linux Linux Kernel: vulnerabile la versione
7.0 rc2→ installare l'ultima release supportata dal vendor.
Patch e advisory
- Patch: git.kernel.org/stable/c/2bad24c17742fc88973d6aea526…
- Patch: git.kernel.org/stable/c/2e4fe6b15c2f390c023b20d728b…
- Patch: git.kernel.org/stable/c/726765b43deb2b4723869d673cc…
- Patch: git.kernel.org/stable/c/7a6d6e4d8af044f94fa97e97af5…
- Patch: git.kernel.org/stable/c/84724ac4821a160d47b84289adf…
- Patch: git.kernel.org/stable/c/a41cc7c1668e44ff2c2d36f9a63…
- Patch: git.kernel.org/stable/c/ede95cfcab8064d9a08813fbd7e…
- Patch: git.kernel.org/stable/c/f20f17cffbe34fb330267e0f808…
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.14 < 5.10.253 | 5.10.253 |
| Linux | Linux Kernel | ≥ 5.11 < 5.15.203 | 5.15.203 |
| Linux | Linux Kernel | ≥ 5.16 < 6.1.168 | 6.1.168 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.131 | 6.6.131 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.80 | 6.12.80 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.21 | 6.18.21 |
| Linux | Linux Kernel | ≥ 6.19 < 6.19.11 | 6.19.11 |
| Linux | Linux Kernel | 7.0 rc1 | — |
| Linux | Linux Kernel | 7.0 rc2 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/2bad24c17742fc88973d6aea526ce1353f5334a3
- Patchhttps://git.kernel.org/stable/c/2e4fe6b15c2f390c023b20d728b1a3fe7ea4f973
- Patchhttps://git.kernel.org/stable/c/726765b43deb2b4723869d673cc5fc6f7a3b2059
- Patchhttps://git.kernel.org/stable/c/7a6d6e4d8af044f94fa97e97af5ff2771e1fbebd
- Patchhttps://git.kernel.org/stable/c/84724ac4821a160d47b84289adf139023027bdbb
- Patchhttps://git.kernel.org/stable/c/a41cc7c1668e44ff2c2d36f9a6353253ffc43e3c
- Patchhttps://git.kernel.org/stable/c/ede95cfcab8064d9a08813fbd7ed42cea8843dcf
- Patchhttps://git.kernel.org/stable/c/f20f17cffbe34fb330267e0f8084f5565f807444