Descrizione
In the Linux kernel, the following vulnerability has been resolved: nfsd: reset write verifier on deferred writeback errors nfsd_vfs_write() and nfsd_commit() both call filemap_check_wb_err() to detect deferred writeback errors, but neither rotates the server's write verifier (nn->writeverf) when this check fails. Every other durable-storage-failure path in these functions calls commit_reset_write_verifier() before returning an error. The missing rotation means clients holding UNSTABLE write data under the current verifier will COMMIT, receive the unchanged verifier back, and conclude their data is durable — silently dropping data that failed writeback. This violates the UNSTABLE+COMMIT durability contract (RFC 1813 §3.3.7, RFC 8881 §18.32). Add commit_reset_write_verifier() calls at both filemap_check_wb_err() error sites, matching the pattern used by adjacent error paths in the same functions. The helper already filters -EAGAIN and -ESTALE internally, so the calls are unconditionally safe.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
5.10.124precedenti alla5.10.261→ aggiornare alla5.10.261o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.15.49precedenti alla5.15.212→ aggiornare alla5.15.212o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.17precedenti alla6.1.178→ aggiornare alla6.1.178o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.145→ aggiornare alla6.6.145o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.95→ aggiornare alla6.12.95o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.38→ aggiornare alla6.18.38o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.1.3→ aggiornare alla7.1.3o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/1dd664b39774a9c89b72de8e59b…
- Patch: git.kernel.org/stable/c/2090b05803faab8a9fa62fbff87…
- Patch: git.kernel.org/stable/c/4367afc119c51e17a616f690877…
- Patch: git.kernel.org/stable/c/43b65d2997963e80e8d8d86520b…
- Patch: git.kernel.org/stable/c/666e837b247fcadf2d8d508b9b0…
- Patch: git.kernel.org/stable/c/b027cca33c97354149fcc0ddeed…
- Patch: git.kernel.org/stable/c/b8e5894e56cff70fa245628fe16…
- Patch: git.kernel.org/stable/c/bc2baca02ec56da7707a74ed5d3…
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 | ≥ 5.10.124 < 5.10.261 | 5.10.261 |
| Linux | Linux Kernel | ≥ 5.15.49 < 5.15.212 | 5.15.212 |
| Linux | Linux Kernel | ≥ 5.17 < 6.1.178 | 6.1.178 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.145 | 6.6.145 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.95 | 6.12.95 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.38 | 6.18.38 |
| Linux | Linux Kernel | ≥ 6.19 < 7.1.3 | 7.1.3 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/1dd664b39774a9c89b72de8e59bf9ef4b3aaff2e
- Patchhttps://git.kernel.org/stable/c/2090b05803faab8a9fa62fbff871007862cac1b7
- Patchhttps://git.kernel.org/stable/c/4367afc119c51e17a616f6908772b7e2c2c4013f
- Patchhttps://git.kernel.org/stable/c/43b65d2997963e80e8d8d86520bcb1e0751227de
- Patchhttps://git.kernel.org/stable/c/666e837b247fcadf2d8d508b9b0e49d720393eb4
- Patchhttps://git.kernel.org/stable/c/b027cca33c97354149fcc0ddeede4525c41093cd
- Patchhttps://git.kernel.org/stable/c/b8e5894e56cff70fa245628fe16f0ad6367f8090
- Patchhttps://git.kernel.org/stable/c/bc2baca02ec56da7707a74ed5d340b0a1dff1841