Descrizione
In the Linux kernel, the following vulnerability has been resolved: nfsd: never defer requests during idmap lookup During v4 request compound arg decoding, some ops (e.g. SETATTR) can trigger idmap lookup upcalls. When those upcall responses get delayed beyond the allowed time limit, cache_check() will mark the request for deferral and cause it to be dropped. This prevents nfs4svc_encode_compoundres from being executed, and thus the session slot flag NFSD4_SLOT_INUSE never gets cleared. Subsequent client requests will fail with NFSERR_JUKEBOX, given that the slot will be marked as in-use, making the SEQUENCE op fail. Fix this by making sure that the RQ_USEDEFERRAL flag is always clear during nfs4svc_decode_compoundargs(), since no v4 request should ever be deferred.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
2.6.30precedenti alla5.10.252→ aggiornare alla5.10.252o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.11precedenti alla5.15.202→ aggiornare alla5.15.202o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.16precedenti alla6.1.165→ aggiornare alla6.1.165o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.128→ aggiornare alla6.6.128o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.75→ aggiornare alla6.12.75o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.14→ aggiornare alla6.18.14o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla6.19.4→ aggiornare alla6.19.4o successiva.
Patch e advisory
- Patch: git.kernel.org/stable/c/063a6f22478ef929625000a2caf…
- Patch: git.kernel.org/stable/c/243f71ed873ff3feeb6f9b5cb14…
- Patch: git.kernel.org/stable/c/3a72c7dedc99b321e0f267e4e99…
- Patch: git.kernel.org/stable/c/8dff54fe88c0dcd4c55bff9fc2f…
- Patch: git.kernel.org/stable/c/99e17b20fddac19a228d213e00f…
- Patch: git.kernel.org/stable/c/b9abb760db20504240a7147f279…
- Patch: git.kernel.org/stable/c/d75ec4504a4340b033b15cad030…
- Patch: git.kernel.org/stable/c/f9c206cdc4266caad6a9a7f4634…
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 | ≥ 2.6.30 < 5.10.252 | 5.10.252 |
| Linux | Linux Kernel | ≥ 5.11 < 5.15.202 | 5.15.202 |
| Linux | Linux Kernel | ≥ 5.16 < 6.1.165 | 6.1.165 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.128 | 6.6.128 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.75 | 6.12.75 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.14 | 6.18.14 |
| Linux | Linux Kernel | ≥ 6.19 < 6.19.4 | 6.19.4 |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/063a6f22478ef929625000a2caf54667725c1dfd
- Patchhttps://git.kernel.org/stable/c/243f71ed873ff3feeb6f9b5cb145d63f7188b4c4
- Patchhttps://git.kernel.org/stable/c/3a72c7dedc99b321e0f267e4e999e5baf07c4593
- Patchhttps://git.kernel.org/stable/c/8dff54fe88c0dcd4c55bff9fc2fa6ca968290826
- Patchhttps://git.kernel.org/stable/c/99e17b20fddac19a228d213e00f6b9e1c10daff9
- Patchhttps://git.kernel.org/stable/c/b9abb760db20504240a7147f27934d900cd80b23
- Patchhttps://git.kernel.org/stable/c/d75ec4504a4340b033b15cad0303988b3089dd93
- Patchhttps://git.kernel.org/stable/c/f9c206cdc4266caad6a9a7f46341420a10f03ccb