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 AC26B157478 for ; Wed, 3 Apr 2024 17:32: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=1712165547; cv=none; b=erp26QyAnp8fM5XjWcbTcVWylfeZaOYGbv1SQOKrvRKUBR81R3c5DFWxUl2N2lbTLGzhYOBjyKaC6u0mKwz2GJi7IHzLFg9Q0cYV94aODUCL0kM3k/w4nfJ67oD/YeuKbcr8/skzR3z9bEPDZ+ywMgxuLohj2dWYRzPhGPxpAC8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712165547; c=relaxed/simple; bh=Q4wBh3oezCkuP/V9cmFAs99CXaVga9rxg5Z7yNub2Vg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rxMdTcsDtIqcyWlZ5SeHszyc/bOjV7Js2Gf/RoVM3LXnsyYHDY8jzkrOhDfBnkEKwvAxfZ69P9lTyipbM/+sMdWVX4FC9MK+GykLlBOxEYg2RDC4x1ivh6ibrrlg9owfCxaYYNaW6yk31WItCmeTJqgpDmtWVg+TvtS9KQ7Doh4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fvw6HUoF; 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="fvw6HUoF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 020F1C433F1; Wed, 3 Apr 2024 17:32:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712165547; bh=Q4wBh3oezCkuP/V9cmFAs99CXaVga9rxg5Z7yNub2Vg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=fvw6HUoF3TypWcoTM665A+c3DqQ/joSE8zsz4x7bNiJtiEQSfX9eRt2cqjW1p+o3M jBoFqv8LZU2k/ysJzIH0Id2orCS8Po/2gBKgECNNEaxIUmy9n4ZVGj3+8TnEE3y6vB GV3zx99nw3BztfPzsj4ahN80m1QvBTCp/Ho86PKU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26735: ipv6: sr: fix possible use-after-free and null-ptr-deref Date: Wed, 3 Apr 2024 19:31:05 +0200 Message-ID: <2024040359-CVE-2024-26735-462f@gregkh> X-Mailer: git-send-email 2.44.0 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=2796; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Q4wBh3oezCkuP/V9cmFAs99CXaVga9rxg5Z7yNub2Vg=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm8k4IbsgJWLJ0w3T/b+u2LyV5pG1TvXzv/c9KW9549T bGZKlpnOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiP3IZ5jsKnPdL3b9eYNoH PZvf0x82hp0x5mGYw8XUUL/xXZCEM1d2Z/KO1WpNX361AAA= 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: sr: fix possible use-after-free and null-ptr-deref The pernet operations structure for the subsystem must be registered before registering the generic netlink family. The Linux kernel CVE team has assigned CVE-2024-26735 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit 915d7e5e5930 and fixed in 4.19.308 with commit 953f42934533 Issue introduced in 4.10 with commit 915d7e5e5930 and fixed in 5.4.270 with commit 82831e3ff76e Issue introduced in 4.10 with commit 915d7e5e5930 and fixed in 5.10.211 with commit 65c38f23d10f Issue introduced in 4.10 with commit 915d7e5e5930 and fixed in 5.15.150 with commit 91b020aaa1e5 Issue introduced in 4.10 with commit 915d7e5e5930 and fixed in 6.1.80 with commit 8391b9b651cf Issue introduced in 4.10 with commit 915d7e5e5930 and fixed in 6.6.19 with commit 9e02973dbc6a Issue introduced in 4.10 with commit 915d7e5e5930 and fixed in 6.7.7 with commit 02b08db594e8 Issue introduced in 4.10 with commit 915d7e5e5930 and fixed in 6.8 with commit 5559cea2d5aa 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-26735 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/seg6.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/953f42934533c151f440cd32390044d2396b87aa https://git.kernel.org/stable/c/82831e3ff76ef09fb184eb93b79a3eb3fb284f1d https://git.kernel.org/stable/c/65c38f23d10ff79feea1e5d50b76dc7af383c1e6 https://git.kernel.org/stable/c/91b020aaa1e59bfb669d34c968e3db3d5416bcee https://git.kernel.org/stable/c/8391b9b651cfdf80ab0f1dc4a489f9d67386e197 https://git.kernel.org/stable/c/9e02973dbc6a91e40aa4f5d87b8c47446fbfce44 https://git.kernel.org/stable/c/02b08db594e8218cfbc0e4680d4331b457968a9b https://git.kernel.org/stable/c/5559cea2d5aa3018a5f00dd2aca3427ba09b386b