{"id":"CVE-2026-99133","aliases":["CVE-2026-99133"],"related":[],"kind":"vulnerability","state":"published","title":"net/iucv: fix the recvmsg window update","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/iucv: fix the recvmsg window update\n\niucv_sock_recvmsg() sends the HiperSockets-only AF_IUCV_FLAG_WIN without\ntesting the transport, so on a classic z/VM socket iucv_send_ctrl() sizes\nthe skb through a NULL iucv->hs_dev. SO_MSGLIMIT accepts 1, so msglimit / 2\nis zero and one recvmsg() on its own socket is enough for an unprivileged\nprocess to take a spurious disconnect.\n\nIt also calls iucv_send_ctrl() under spin_lock_bh(&message_q.lock), which\nallocates GFP_KERNEL inside a section the code treats as atomic. Sending\noutside that lock lets two recvmsg() reach afiucv_hs_send() at once, where\nmsg_recv is sampled for the advertised window and subtracted after\ndev_queue_xmit() -- and sendmsg reaches that counter under lock_sock()\nwhile recvmsg holds no socket lock, so both can subtract the same value,\nthe counter goes negative and the credit reaches the peer twice.\n\nTest the transport, claim the credit with atomic_xchg() after the last\nerror exit and hand it back if the transmit fails, and send once the lock\nis dropped.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/iucv: fix the recvmsg window update\n\niucv_sock_recvmsg() sends the HiperSockets-only AF_IUCV_FLAG_WIN without\ntesting the transport, so on a classic z/VM socket iucv_send_ctrl() sizes\nthe skb through a NULL iucv->hs_dev. SO_MSGLIMIT accepts 1, so msglimit / 2\nis zero and one recvmsg() on its own socket is enough for an unprivileged\nprocess to take a spurious disconnect.\n\nIt also calls iucv_send_ctrl() under spin_lock_bh(&message_q.lock), which\nallocates GFP_KERNEL inside a section the code treats as atomic. Sending\noutside that lock lets two recvmsg() reach afiucv_hs_send() at once, where\nmsg_recv is sampled for the advertised window and subtracted after\ndev_queue_xmit() -- and sendmsg reaches that counter under lock_sock()\nwhile recvmsg holds no socket lock, so both can subtract the same value,\nthe counter goes negative and the credit reaches the peer twice.\n\nTest the transport, claim the credit with atomic_xchg() after the last\nerror exit and hand it back if the transmit fails, and send once the lock\nis dropped.","source":"cvelist"}],"published":"2026-10-28T10:34:46.398Z","modified":"2026-11-23T08:17:30.933Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3881ac441f642d56503818123446f7298442236b","fixed":"ff8c480210d6e73150f98462983014e52cf3e9a5","status":"affected"},{"type":"git","introduced":"3881ac441f642d56503818123446f7298442236b","fixed":"01123990f59ce32a1a5e690a4aeee002e932bb07","status":"affected"},{"type":"git","introduced":"3881ac441f642d56503818123446f7298442236b","fixed":"1ebe68bbf8e75eeccaca0c7bc9694f5bc0c3f00a","status":"affected"},{"type":"git","introduced":"3881ac441f642d56503818123446f7298442236b","fixed":"23e7fbbdca5aaba2a9a7bb9e4f2dc179c290ee76","status":"affected"},{"type":"git","introduced":"3881ac441f642d56503818123446f7298442236b","fixed":"ce8aac3eb57f5366fa082b7cb8a1ac5652274f37","status":"affected"},{"type":"git","introduced":"3881ac441f642d56503818123446f7298442236b","fixed":"8f2efa742f4cfe7dd756154f8bc07350dbe3ec92","status":"affected"},{"type":"git","introduced":"3881ac441f642d56503818123446f7298442236b","fixed":"fe7393a627db2d093e8c0cae69d619b30fefae5f","status":"affected"},{"type":"git","introduced":"3881ac441f642d56503818123446f7298442236b","fixed":"fa5acd038ea657ad5033713d6916214cbd349151","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.2","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.161","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.115","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.59","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.13","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ff8c480210d6e73150f98462983014e52cf3e9a5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01123990f59ce32a1a5e690a4aeee002e932bb07","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ebe68bbf8e75eeccaca0c7bc9694f5bc0c3f00a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23e7fbbdca5aaba2a9a7bb9e4f2dc179c290ee76","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ce8aac3eb57f5366fa082b7cb8a1ac5652274f37","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f2efa742f4cfe7dd756154f8bc07350dbe3ec92","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fe7393a627db2d093e8c0cae69d619b30fefae5f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fa5acd038ea657ad5033713d6916214cbd349151","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99133","url":"https://www.cve.org/CVERecord?id=CVE-2026-99133","licence":"CVE Terms of Use","modified":"2026-11-23T08:00:37.031Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99133","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99133","licence":"Public domain","modified":"2026-11-23T08:17:30.933Z"}],"updatedAt":"2026-11-25T22:59:47.573Z","epss":{"score":0.0022,"percentile":0.13431,"date":"2026-12-01T12:00:22.000Z"}}