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 76A3D2D3ECF for ; Sat, 31 Jan 2026 11:41:18 +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=1769859678; cv=none; b=DCtTSApD7Qe7nQW5h8ZfiqO0ZDp96IOSAb3buV3UpmjG5d+yhRL1fEBDLjv7h1ALDktPfiRt89NpX1rQjIcn02qQUaUB8qlzcYaJbLfpcizjDXVwGDz/LF7lhQhZYJjADmf6LBaO9kTfZnzjRATFpnn8V15aBww6CL7nR7351Bg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769859678; c=relaxed/simple; bh=ieZiiQAYNjkzxH8Cf8FvAIEvGijvDfcHlKkiWl/2UoQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qJGwCNMHOYnepUamUjTfDwxvh9We9+/VSodM7ky7bfJR5FrM8mWxzMthYE24MrHsVHfRE7+Cuw5tSNfNeFBUVptO/8KO4ezQXnjYv/T1g8B9MFu/DPKAUet0kOszX1iUpl0YnnbHRlEdoAFqW/Jm0/m/aM+BYPyN4T2HZdPc6AA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=h+FTDgmi; 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="h+FTDgmi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1302C19421; Sat, 31 Jan 2026 11:41:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1769859678; bh=ieZiiQAYNjkzxH8Cf8FvAIEvGijvDfcHlKkiWl/2UoQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=h+FTDgmi57nYgFmadtubRkqbz025oRToE8seBH4SIwuSNMcrj9a+4LoqrK6m+pu7s qIitUJH4HrDaXxGwNxWhCtyAqHaSzfONBH30lzU57WgkhLn32rAHGn55Fthu0QLDqW 4TYroIMvNlTTg/b1qshvavb2URXSTS6sWBWkDNFs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23019: net: marvell: prestera: fix NULL dereference on devlink_alloc() failure Date: Sat, 31 Jan 2026 12:39:40 +0100 Message-ID: <2026013135-CVE-2026-23019-dce2@gregkh> X-Mailer: git-send-email 2.52.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=3035; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2uUBooZDDDbwLO2mgDDG5RgAWLL/+FQDbpgrPyoIjlM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm1L3/ca9VTOHHmxazya3umO9XXvbhks7+L5ZDbl1neh 53rnY3+dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEDp9gmGdlWcEe92Lm0mdb ZlQ1VcvxVkcV1TPML91q1/Vtwd7jHy9IKbpF2L5QZtV7DQA= 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: marvell: prestera: fix NULL dereference on devlink_alloc() failure devlink_alloc() may return NULL on allocation failure, but prestera_devlink_alloc() unconditionally calls devlink_priv() on the returned pointer. This leads to a NULL pointer dereference if devlink allocation fails. Add a check for a NULL devlink pointer and return NULL early to avoid the crash. The Linux kernel CVE team has assigned CVE-2026-23019 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 and fixed in 5.15.198 with commit 8a4333b2818f0d853b43e139936c20659366e4a0 Issue introduced in 5.10 with commit 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 and fixed in 6.1.161 with commit 325aea74be7e192b5c947c782da23b0d19a5fda2 Issue introduced in 5.10 with commit 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 and fixed in 6.6.121 with commit 94e070cd50790317fba7787ae6006934b7edcb6f Issue introduced in 5.10 with commit 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 and fixed in 6.12.66 with commit 3950054c9512add0cc79ab7e72b6d2f9f675e25b Issue introduced in 5.10 with commit 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 and fixed in 6.18.6 with commit 326a4b7e61d01db3507f71c8bb5e85362f607064 Issue introduced in 5.10 with commit 34dd1710f5a3c9a7dc78e1ff6de69a19d407db25 and fixed in 6.19-rc5 with commit a428e0da1248c353557970848994f35fd3f005e2 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-23019 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: drivers/net/ethernet/marvell/prestera/prestera_devlink.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/8a4333b2818f0d853b43e139936c20659366e4a0 https://git.kernel.org/stable/c/325aea74be7e192b5c947c782da23b0d19a5fda2 https://git.kernel.org/stable/c/94e070cd50790317fba7787ae6006934b7edcb6f https://git.kernel.org/stable/c/3950054c9512add0cc79ab7e72b6d2f9f675e25b https://git.kernel.org/stable/c/326a4b7e61d01db3507f71c8bb5e85362f607064 https://git.kernel.org/stable/c/a428e0da1248c353557970848994f35fd3f005e2