Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A82873B775A for ; Wed, 6 May 2026 07:41:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778053307; cv=none; b=nZmZL9zfZtkdawZ6vFgcHt+2/qNdPfhOBlfYCqDgubNLUHwJTi31sxlAQJhIidkdK1INkX2pS55z4poZO8Gl3bKM5wRcakHMC3x4I0cHrRe/HDLiQ5wGfeTEE3HiO87Hf581UFrjMFlB5HF/BQc/RPs1sjtFf8baxePSN/E5bd4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778053307; c=relaxed/simple; bh=3TIBO82KEjanf37kfvHWCtLzp6HdZxz3rgAEF700IAU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cIeC1cxLpY7W77I8KZawH+XI7YlBOj934coR7cxJlWVTqaqsj8OdVBaDaAGWbGqUq9ZPA1xADCpyDBdmsw4/3X478khKMRQBcfwH2mVJG5ChSQr9R6lQ2Ti/f7wkbgFn1m+4aIp/+BlqLtinKNT0zUoOoizxeBX31ye1MjJCBIg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0dx6Ggas; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0dx6Ggas" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB4D8C2BCB8; Wed, 6 May 2026 07:41:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778053307; bh=3TIBO82KEjanf37kfvHWCtLzp6HdZxz3rgAEF700IAU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=0dx6Ggasfb51WIoqtS0n1UHi8iwsrWVKwyQawYr/IaqZN74FNW8BC6W//tpciE5jf xtR1pekVgPS+DG+t6STXEmImiG3H+slxrmilxyj+HNhs3XLkmbOy9weaEl4wN0xz78 Gr9m9COoCfS5zqgOVc/sDSAGZiLjAi9yCfKvz6NY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43088: net: af_key: zero aligned sockaddr tail in PF_KEY exports Date: Wed, 6 May 2026 09:41:22 +0200 Message-ID: <2026050616-CVE-2026-43088-31b9@gregkh> X-Mailer: git-send-email 2.54.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=2467; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YX1rK7Tw6FNFSf7PwRWS/Qs5H9Hu5NoIEvDCS3gK8BM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/Psw9crLvd8JhnbCUxSxJGxfO58hYXup6qvzMvfw5S kf/6wtpdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEFE8xzOHc97y/9nPyEZd1 F703/Fsttcp5lS3D/AAWZt8O4Sm5sq7Htm4+ceRUtZyPCQA= 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: af_key: zero aligned sockaddr tail in PF_KEY exports PF_KEY export paths use `pfkey_sockaddr_size()` when reserving sockaddr payload space, so IPv6 addresses occupy 32 bytes on the wire. However, `pfkey_sockaddr_fill()` initializes only the first 28 bytes of `struct sockaddr_in6`, leaving the final 4 aligned bytes uninitialized. Not every PF_KEY message is affected. The state and policy dump builders already zero the whole message buffer before filling the sockaddr payloads. Keep the fix to the export paths that still append aligned sockaddr payloads with plain `skb_put()`: - `SADB_ACQUIRE` - `SADB_X_NAT_T_NEW_MAPPING` - `SADB_X_MIGRATE` Fix those paths by clearing only the aligned sockaddr tail after `pfkey_sockaddr_fill()`. The Linux kernel CVE team has assigned CVE-2026-43088 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.19.14 with commit 2e74f974359b5382ecbe8536abbb5b837eb6c724 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0 with commit 426c355742f02cf743b347d9d7dbdc1bfbfa31ef 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-43088 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/key/af_key.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/2e74f974359b5382ecbe8536abbb5b837eb6c724 https://git.kernel.org/stable/c/426c355742f02cf743b347d9d7dbdc1bfbfa31ef