Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793187536; b=RyMRBc3ii8BOe69oRG2dYT8p+59276RpKAY+yMAyXiup4SHq1Rjsdw23r8TMs5PSCdn9 Vx9Pc2acupvlmv6vfYyG64KOlwmK9oRmRkfMmu82c+WtpVHwVT2XDagCY49tq49AFuEKi 02pNUCDuJfjYxg8d6kRFbueBfvuoIA9d6FOly7gEfjXizewd6uaE4Q+KGn6vDaYnP5ziu 8feXVgyll/jgBvk8OZPWBN32/jeVldTC+SgYF1vaRR70TFTLQgGQuI01anKlf2nT1QATa xFwRcNDyOLRBJdlF7WWou/ZifJeNvCCVXSwy1bEscYBA0tFY224qq+ra9pcbKDg97RQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187536; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=bPdmZ1VRMycIwyt54yJkMRqEh3y2FiSyuBUm4mkHH/o=; b=egph93GKUdrrFgu7MzLEEDYh5xUm06RTUI1Vyiz7QWtgv1EV2dsnC3IuLCkKs1MpB2Cx gFDrdLwbsVfW/jAWlUy//T5W+fYIjm6reqqJdL1IHisVlkJdiycE7M3QjEqi4dzV5l9d9 6rCvGw+0Hs/TIp+OKdKglAMjqJAUTIJCUSdt9Z8mKuWmPJgZQgl07ojkWw0DfexLRdsOD ucd2qlvJI2xZiLfAS42cwyFEFo9rFt95SiWoWPapgx7oMhfWQnSxF5u8yMJXbHIXBwbRj mmkiZcjgHWPT6WWiqVlEQErgxnBjLGQ9HRju7kjn3iSKMDTuA9o1gEy7SQxXUgRqqdQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ZjSlEehR; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E61C1606A31A for ; Wed, 28 Oct 2026 11:38:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=ZjSlEehR Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19A6B1F01825; Wed, 28 Oct 2026 11:38:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187535; bh=bPdmZ1VRMycIwyt54yJkMRqEh3y2FiSyuBUm4mkHH/o=; h=From:To:Cc:Subject:Date:Reply-To; b=ZjSlEehR2mn+NNglvxlVmwjLp5cpQvYth+7Q6ueVbcvQlnBKwXahMy5y19azRfJ/y u4Z3GENfF3abE6lv9P4K+71ubKzZbslG74dL/FDsCKsfq6B87UhoU+L6FsAo+pVr+u atVfkIDpIHFk50bwoYWjUj5rGkTcE7EQy64Amy+0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99133: net/iucv: fix the recvmsg window update Date: Wed, 28 Oct 2026 11:35:20 +0100 Message-ID: <2026102859-CVE-2026-99133-b9b5@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2974; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bPpG0XcickEQF3ClrFRQHcZKfLeRFJjFBWl1fxKef60=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz1/uFfH8nn6xJcpd9PJctc2tFbtrSk/Y2Dxfp6ZyK 8di+s9dHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRqEsMC5Y8+fF+/o1bohWv 5ky9p77/uJ2w2zeGuWI9Nzgfrfpjc2KT4cualQFr7zI+SAQA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-99133 to this issue. Affected and fixed versions =========================== Issue introduced in 3.2 with commit 3881ac441f642d56503818123446f7298442236b and fixed in 6.18.59 with commit 8f2efa742f4cfe7dd756154f8bc07350dbe3ec92 Issue introduced in 3.2 with commit 3881ac441f642d56503818123446f7298442236b and fixed in 7.2.13 with commit fe7393a627db2d093e8c0cae69d619b30fefae5f Issue introduced in 3.2 with commit 3881ac441f642d56503818123446f7298442236b and fixed in 7.3 with commit fa5acd038ea657ad5033713d6916214cbd349151 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99133 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/iucv/af_iucv.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/8f2efa742f4cfe7dd756154f8bc07350dbe3ec92 https://git.kernel.org/stable/c/fe7393a627db2d093e8c0cae69d619b30fefae5f https://git.kernel.org/stable/c/fa5acd038ea657ad5033713d6916214cbd349151