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.

Affected products

VendorProductVersions
LinuxLinux3881ac441f642d56503818123446f7298442236b to <8f2efa742f4cfe7dd756154f8bc07350dbe3ec92 [affected]; 3881ac441f642d56503818123446f7298442236b to <fe7393a627db2d093e8c0cae69d619b30fefae5f [affected]; 3881ac441f642d56503818123446f7298442236b to <fa5acd038ea657ad5033713d6916214cbd349151 [affected]
LinuxLinux3.2 [affected]; 0 to <3.2 [unaffected]; 6.18.59 to <=6.18.* [unaffected]; 7.2.13 to <=7.2.* [unaffected]; 7.3 to <=* [unaffected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 29 Oct 2026 07:02 UTC.