Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E353E483807 for ; Fri, 25 Sep 2026 10:41:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332888; cv=none; b=ZJGfyGITCqmXhHHXI3+d9rpv7dRJsITBgYoFcAo+viwa4404ik5zB1RyFbMgQA00US23cJXN4Gq15mLhliotNwCpuVlcd4znxHGVime59mzd3W6zlEfPKwZqeTtfGfE/0efdpbp7m2/9ydWQ5osvrmaZchBlGmTUcEXXq6C40Vg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332888; c=relaxed/simple; bh=qw7PkWNGmUDQkVIedDCHjjuoNa+vQHUvfZUv/+QOH6c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fOklI5NjEdpkh+YSQDTj0GILIxSkGKgbdT5BVf5KS4KV30Gg9XEQBgAiv3Ic/OQmzclIDMUjU5h8YcYtei/ENWcVcDe5TM9GaG+Z5JCKjve0OR5nYBCSYI2BPZaiZLgiBArhZMbk3Yx2sALpH116B/+KwZlEPVOEqhRUSELeEZ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nZ0tR8Yn; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="nZ0tR8Yn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 053031F000FF; Fri, 25 Sep 2026 10:41:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332886; bh=msOWAoYkaCNTWtuC46nIOozPBR3epVLzvcNwYpeV+QI=; h=From:To:Cc:Subject:Date:Reply-To; b=nZ0tR8YnmbTo/rimyP+gHRgSWfezoAKloFrBMse0bFG74t/osVEBZE839yCEtAvMD cVms8pOYBtIaA9tvSMLD+K7FA3kASeM3hPH8MFftKfnuxTCJjZ2ovtBDm7/DGuDL1a t1kJ9cuzsMKl5/xSF6U4hv5xSG9xrB1dhQeGP0TE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98123: sctp: fix soft lockup from unpadded ASCONF-ACK parameter iteration Date: Fri, 25 Sep 2026 12:39:30 +0200 Message-ID: <2026092514-CVE-2026-98123-0d02@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4124; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=byrgZhBjZxW0S0DKd102PEEQfDxT8PZID6wkLQX/g2A=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnb/IOum62fcGYL632XTXdDOjpVJj38fbfP51/z2j1TZ wdm9E0P6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJdHAxLLh0/cVfjXbJU2at cQlmU0IexB+5d4hhfojkDZ3lAVv87Z6unbnusFnziymcswA= 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: sctp: fix soft lockup from unpadded ASCONF-ACK parameter iteration sctp_verify_asconf() walks ASCONF-ACK parameters with sctp_walk_params(), which advances by SCTP_PAD4(length), while the consumer sctp_get_asconf_response() iterates the same parameters advancing by the raw length, without padding. A single odd-length parameter desynchronises the two walks and makes the consumer interpret attacker-controlled bytes at a misaligned offset. When those bytes yield a length of zero, the while loop over asconf_ack_len makes no progress, spinning forever in softirq context, and the watchdog reports a soft lockup. All reads stay within the received skb, so the lockup is a pure remote denial of service. A remote peer can trigger it with a crafted ASCONF-ACK on an ADD-IP enabled association with an outstanding ASCONF (RFC 5061 section 4.1.2 requires the chunk to be authenticated, but the predefined empty key id 0 allows the peer to compute the same association HMAC from publicly exchanged parameters, so the gate does not help). The SCTP_PARAM_ERR_CAUSE case of sctp_verify_asconf() also performs no length check, letting a parameter without a complete error header reach the consumer, which reads errhdr.cause past the end of the parameter, an out-of-bounds read. Reject SCTP_PARAM_ERR_CAUSE parameters shorter than sizeof(struct sctp_addip_param) + sizeof(struct sctp_errhdr) at the verifier, and advance the consumer iterator with the same padding rule as the verifier to keep the two walks in lockstep. The verifier change guarantees a complete error header in every ERR_CAUSE parameter the consumer can see, so the consumer's asconf_ack_len check is dropped and it returns err_param->cause directly. The consumer padding fix is still required because odd lengths remain valid for SCTP_PARAM_ERR_CAUSE per RFC 5061. The issue was found by ZeroHive, a vulnerability hunting agent at Tencent Yunding Lab. The Linux kernel CVE team has assigned CVE-2026-98123 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.111 with commit abf59d7f6fff23227256e8199aca5ade45758f8b Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.53 with commit 3be02999ab9131a4b96eb1eda4ca48b1cea80f03 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.2.7 with commit 7ba84e2971d208a2d6413a334ec28a8a32cdce0f Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.3-rc2 with commit 2cb0b0b1ed69430bf73740377ea0a1c44c50db63 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-98123 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/sctp/sm_make_chunk.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/abf59d7f6fff23227256e8199aca5ade45758f8b https://git.kernel.org/stable/c/3be02999ab9131a4b96eb1eda4ca48b1cea80f03 https://git.kernel.org/stable/c/7ba84e2971d208a2d6413a334ec28a8a32cdce0f https://git.kernel.org/stable/c/2cb0b0b1ed69430bf73740377ea0a1c44c50db63