net/iucv: fix the recvmsg window update (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 13 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: net/iucv: fix the recvmsg window update iucv_sock_recvmsg() sends the HiperSockets-only AF_IUCV_FLAG_WIN without testing the transport, so on a classic z/VM socket iucv_send_ctrl() sizes the skb through a NULL iucv->hs_dev. SO_MSGLIMIT accepts 1, so msglimit / 2 is zero and one recvmsg() on its own socket is enough for an unprivileged process to take a spurious disconnect. It also calls iucv_send_ctrl() under spin_lock_bh(&message_q.lock), which allocates GFP_KERNEL inside a section the code treats as atomic. Sending outside that lock lets two recvmsg() reach afiucv_hs_send() at once, where msg_recv is sampled for the advertised window and subtracted after dev_queue_xmit() -- and sendmsg reaches that counter under lock_sock() while recvmsg holds no socket lock, so both can subtract the same value, the counter goes negative and the credit reaches the peer twice. Test the transport, claim the credit with atomic_xchg() after the last error exit and hand it back if the transmit fails, and send once the lock is dropped.
References
- https://git.kernel.org/stable/c/ff8c480210d6e73150f98462983014e52cf3e9a5
- https://git.kernel.org/stable/c/01123990f59ce32a1a5e690a4aeee002e932bb07
- https://git.kernel.org/stable/c/1ebe68bbf8e75eeccaca0c7bc9694f5bc0c3f00a
- https://git.kernel.org/stable/c/23e7fbbdca5aaba2a9a7bb9e4f2dc179c290ee76
- https://git.kernel.org/stable/c/ce8aac3eb57f5366fa082b7cb8a1ac5652274f37
- https://git.kernel.org/stable/c/8f2efa742f4cfe7dd756154f8bc07350dbe3ec92
- https://git.kernel.org/stable/c/fe7393a627db2d093e8c0cae69d619b30fefae5f
- https://git.kernel.org/stable/c/fa5acd038ea657ad5033713d6916214cbd349151
European references
- ENISA EUVD · EUVD-2026-111885
- GCVE · GCVE-0-2026-99133
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 3881ac441f642d56503818123446f7298442236b < ff8c480210d6e73150f98462983014e52cf3e9a5 affected : ≥ 3881ac441f642d56503818123446f7298442236b < 01123990f59ce32a1a5e690a4aeee002e932bb07 affected : ≥ 3881ac441f642d56503818123446f7298442236b < 1ebe68bbf8e75eeccaca0c7bc9694f5bc0c3f00a affected : ≥ 3881ac441f642d56503818123446f7298442236b < 23e7fbbdca5aaba2a9a7bb9e4f2dc179c290ee76 affected : ≥ 3881ac441f642d56503818123446f7298442236b < ce8aac3eb57f5366fa082b7cb8a1ac5652274f37 affected : ≥ 3881ac441f642d56503818123446f7298442236b < 8f2efa742f4cfe7dd756154f8bc07350dbe3ec92 affected : ≥ 3881ac441f642d56503818123446f7298442236b < fe7393a627db2d093e8c0cae69d619b30fefae5f affected : ≥ 3881ac441f642d56503818123446f7298442236b < fa5acd038ea657ad5033713d6916214cbd349151 Other versions : unaffected |
| Linux · Linux | affected : 3.2 unaffected : ≥ 0 < 3.2 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.224 ≤ 5.15.* unaffected : ≥ 6.1.191 ≤ 6.1.* unaffected : ≥ 6.6.161 ≤ 6.6.* unaffected : ≥ 6.12.115 ≤ 6.12.* unaffected : ≥ 6.18.59 ≤ 6.18.* unaffected : ≥ 7.2.13 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |