Descrizione
In the Linux kernel, the following vulnerability has been resolved: PCI: endpoint: pci-epf-vntb: Remove duplicate resource teardown epf_ntb_epc_destroy() duplicates the teardown that the caller is supposed to perform later. This leads to an oops when .allow_link fails or when .drop_link is performed. The following is an example oops of the former case: Unable to handle kernel paging request at virtual address dead000000000108 [...] [dead000000000108] address between user and kernel address ranges Internal error: Oops: 0000000096000044 [#1] SMP [...] Call trace: pci_epc_remove_epf+0x78/0xe0 (P) pci_primary_epc_epf_link+0x88/0xa8 configfs_symlink+0x1f4/0x5a0 vfs_symlink+0x134/0x1d8 do_symlinkat+0x88/0x138 __arm64_sys_symlinkat+0x74/0xe0 [...] Remove the helper, and drop pci_epc_put(). EPC device refcounting is tied to the configfs EPC group lifetime, and pci_epc_put() in the .drop_link path is sufficient.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
6.0precedenti alla6.6.136→ aggiornare alla6.6.136o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.84→ aggiornare alla6.12.84o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.24→ aggiornare alla6.18.24o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla6.19.14→ aggiornare alla6.19.14o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
7.0precedenti alla7.0.1→ aggiornare alla7.0.1o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/0da63230d3ec1ec5fcc443a2314…
- Patch: git.kernel.org/stable/c/478e776101592eb63298714e968…
- Patch: git.kernel.org/stable/c/73bf218de28d039126dc64281d2…
- Patch: git.kernel.org/stable/c/a7a3cab4d33fd8a8aed864c447d…
- Patch: git.kernel.org/stable/c/cec9ead73ab154a7953f6ab8dd5…
- Patch: git.kernel.org/stable/c/e238ab12556b00f3b4d8b870b32…
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 | ≥ 6.0 < 6.6.136 | 6.6.136 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.84 | 6.12.84 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.24 | 6.18.24 |
| Linux | Linux Kernel | ≥ 6.19 < 6.19.14 | 6.19.14 |
| Linux | Linux Kernel | ≥ 7.0 < 7.0.1 | 7.0.1 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/0da63230d3ec1ec5fcc443a2314233e95bfece54
- Patchhttps://git.kernel.org/stable/c/478e776101592eb63298714e96823ef78a3295ec
- Patchhttps://git.kernel.org/stable/c/73bf218de28d039126dc64281d2b47dd3c46a0a3
- Patchhttps://git.kernel.org/stable/c/a7a3cab4d33fd8a8aed864c447d0d7c99e85404e
- Patchhttps://git.kernel.org/stable/c/cec9ead73ab154a7953f6ab8dd5127e0d6bbf95a
- Patchhttps://git.kernel.org/stable/c/e238ab12556b00f3b4d8b870b32ba1e4f4d4ebc2
- Riferimentohttps://git.kernel.org/stable/c/305a0674bc552bfcc3231e23fb91cf4f62aec168
- Riferimentohttps://git.kernel.org/stable/c/b261027a1a235d8925e332363f23135a0eff2b35