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 BD92F17625C for ; Thu, 30 May 2024 15:29:27 +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=1717082967; cv=none; b=rTZLysSbaELIjrOLAoJXIALyTH/Fa0eV6t9RzEzDaM1cBheNXwwnr5GCUPtzufn3TmPiywn4z6Swy98gkCcs8ZjpkDj9PqMqG47Gw+1L7971p0Cf8Wgqd8TWjsnpiJrcbOBdDuAO0tcvoBwetAAPAl+7rTEiFup864LRwZEO/aQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717082967; c=relaxed/simple; bh=hW3guBl/PpnTjo8V2FKIWXp7I5uVvh5hF+opCFAD+V4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pbU8fYRVXrTfENq0X4iSxtYjY2882DnwZJWXZzmox27PATMIRYZJrJJbkpKU5tepok0gV9bVDEIApDe8JOQiYw+T1r0lXOKhSneqKbsls+uleeJ+WtOs4gu6uqRPb04eQHFpXhY6QetgJ8ncrHU/XnHTX2olJoPxF91kR8woBxo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WyuFdYuT; 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="WyuFdYuT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53AF2C32782; Thu, 30 May 2024 15:29:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717082967; bh=hW3guBl/PpnTjo8V2FKIWXp7I5uVvh5hF+opCFAD+V4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=WyuFdYuT+Lw+960Gs52WU0B7dLKT9bdSu/P2h0QDF0aTpSnSN0m66DvN9kdxqzQXj HT6qL6JkGklFWoN73y2dxvxrlTXuoW26BSpgVpHlk3lBAnT59psHwxrnb10MbcnuWL DOPjXOVm/5xc+JnwjkocEGjn0hKmdEg6Mto2LVEs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-36903: ipv6: Fix potential uninit-value access in __ip6_make_skb() Date: Thu, 30 May 2024 17:28:55 +0200 Message-ID: <2024053036-CVE-2024-36903-4a60@gregkh> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2458; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hW3guBl/PpnTjo8V2FKIWXp7I5uVvh5hF+opCFAD+V4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkRs1VO/v4zMSVRiz+tbs5GK72ab2yrZwbF1n+Ze7hk2 rFbC4I4OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiy5oYFnTZeq7493uGk0jm zGqbG6fdwjvthRjmcFxRPcGy67rPe535RzgXJ578fmOhFQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: ipv6: Fix potential uninit-value access in __ip6_make_skb() As it was done in commit fc1092f51567 ("ipv4: Fix uninit-value access in __ip_make_skb()") for IPv4, check FLOWI_FLAG_KNOWN_NH on fl6->flowi6_flags instead of testing HDRINCL on the socket to avoid a race condition which causes uninit-value access. The Linux kernel CVE team has assigned CVE-2024-36903 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit ea30388baebc and fixed in 6.6.31 with commit 68c8ba16ab71 Issue introduced in 6.3 with commit ea30388baebc and fixed in 6.8.10 with commit 2367bf254f3a Issue introduced in 6.3 with commit ea30388baebc and fixed in 6.9 with commit 4e13d3a9c25b Issue introduced in 4.14.313 with commit 165370522cc4 Issue introduced in 4.19.281 with commit f394f690a30a Issue introduced in 5.4.241 with commit 0cf600ca1bdf Issue introduced in 5.10.178 with commit 605b056d6330 Issue introduced in 5.15.107 with commit d65ff2fe877c Issue introduced in 6.1.24 with commit 2c9cefc142c1 Issue introduced in 6.2.11 with commit 02ed5700f404 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-2024-36903 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/ipv6/ip6_output.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/68c8ba16ab712eb709c6bab80ff151079d11d97a https://git.kernel.org/stable/c/2367bf254f3a27ecc6e229afd7a8b0a1395f7be3 https://git.kernel.org/stable/c/4e13d3a9c25b7080f8a619f961e943fe08c2672c