Descrizione
In the Linux kernel, the following vulnerability has been resolved: af_unix: Reject SIOCATMARK on non-stream sockets SIOCATMARK reports whether the receive queue is at the urgent mark for MSG_OOB. In AF_UNIX, MSG_OOB is supported only for SOCK_STREAM sockets. SOCK_DGRAM and SOCK_SEQPACKET reject MSG_OOB in sendmsg() and recvmsg(), so they should not support SIOCATMARK either. Return -EOPNOTSUPP for non-stream sockets before checking the receive queue.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.5.
Versioni da aggiornare
- Linux Linux Kernel: vulnerabili le versioni dalla
5.15precedenti alla5.15.211→ aggiornare alla5.15.211o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
5.16precedenti alla6.1.177→ aggiornare alla6.1.177o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.2precedenti alla6.6.144→ aggiornare alla6.6.144o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.7precedenti alla6.12.88→ aggiornare alla6.12.88o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.13precedenti alla6.18.30→ aggiornare alla6.18.30o successiva. - Linux Linux Kernel: vulnerabili le versioni dalla
6.19precedenti alla7.0.7→ aggiornare alla7.0.7o 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.
Patch e advisory
- Patch: git.kernel.org/stable/c/3147ddf5a41c20c45c2eb69e00b…
- Patch: git.kernel.org/stable/c/645b1ed3259af38b7814242a420…
- Patch: git.kernel.org/stable/c/b741c9c6ef59f17c1f104ddf121…
- Patch: git.kernel.org/stable/c/c34c41446acf6c0d13b5b06c809…
- Patch: git.kernel.org/stable/c/d119775f2bad827edc28071c061…
- Patch: git.kernel.org/stable/c/ec123873fdc83e7244c8ed6d17b…
- Patch: git.kernel.org/stable/c/f085971de6d6b8ef946a5e0bcd7…
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.15 < 5.15.211 | 5.15.211 |
| Linux | Linux Kernel | ≥ 5.16 < 6.1.177 | 6.1.177 |
| Linux | Linux Kernel | ≥ 6.2 < 6.6.144 | 6.6.144 |
| Linux | Linux Kernel | ≥ 6.7 < 6.12.88 | 6.12.88 |
| Linux | Linux Kernel | ≥ 6.13 < 6.18.30 | 6.18.30 |
| Linux | Linux Kernel | ≥ 6.19 < 7.0.7 | 7.0.7 |
| Linux | Linux Kernel | 7.1 rc1 | — |
| Linux | Linux Kernel | 7.1 rc2 | — |
Riferimenti
- Patchhttps://git.kernel.org/stable/c/3147ddf5a41c20c45c2eb69e00b62f10f822056a
- Patchhttps://git.kernel.org/stable/c/645b1ed3259af38b7814242a420bc2081bdd1eb6
- Patchhttps://git.kernel.org/stable/c/b741c9c6ef59f17c1f104ddf1217ef77f79ed29b
- Patchhttps://git.kernel.org/stable/c/c34c41446acf6c0d13b5b06c809be11e0f7f2729
- Patchhttps://git.kernel.org/stable/c/d119775f2bad827edc28071c061fdd4a91f889a5
- Patchhttps://git.kernel.org/stable/c/ec123873fdc83e7244c8ed6d17b8f8ea6c416a67
- Patchhttps://git.kernel.org/stable/c/f085971de6d6b8ef946a5e0bcd73ff24509a0f85
- Riferimentohttps://cert-portal.siemens.com/productcert/html/ssa-784472.html