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 01C0B2E2DD8 for ; Wed, 1 Oct 2025 11:53:29 +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=1759319610; cv=none; b=ZkIB4QHmsDXuZj2ZnPKRhA6panlW3HWc8IrHtmm7+vI2nd+vQlc4uq2V9xM5PBDiHE9GnYOFIf9VoeL8lmDogoV6LzRLV/VSGsBtCLeELwGKejkyG1PR19ITRUz3ezDpHCi0xtrz76NU9v6NJe0F71+uVQo7ReGT3kxn9GKQf/Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319610; c=relaxed/simple; bh=eIFyDajmXG014YIC8ZNBu9zmG1wZO2eTENtHa+08iBc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SwF31IEalnyFsIBALeZvVYa5YkYYPRWa7aJPFfGdZgb13OOiK0ggz+8cuMUt4dVTX3IiAp2SCIkJ4dk31jexNVNSezau9CLOAR1B3d/S3OILOra8RnWev41pXBUyTA5RuBydaZSlixozBKuUu26JHmuWiVp9gsIl2YcAsmI3gXE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hbm65R3+; 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="hbm65R3+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67F32C4CEF4; Wed, 1 Oct 2025 11:53:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319609; bh=eIFyDajmXG014YIC8ZNBu9zmG1wZO2eTENtHa+08iBc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=hbm65R3+LSxqoH97/e7dwcWP7Sk0kniFyOaT5o6ZQksW6Nsq2cQoZWBEe45TOnOo/ MMe+2bGOuJnuK5cpr8sgkDhbDuzlnQ78VQVHhlV33v5jBFBqfJ55ptxeKYK4OGqti5 KKGK/nvYLT0SnpzeT58mainssYzOzDreopbD0rfw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53470: ionic: catch failure from devlink_alloc Date: Wed, 1 Oct 2025 13:42:40 +0200 Message-ID: <2025100109-CVE-2023-53470-8c6a@gregkh> X-Mailer: git-send-email 2.51.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=2705; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MxcCfhJSaUyt8RFX0JuJl7C2dtUlsvM40qK0tuVIVbg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3hSfO+py0tv6jzEnm407TDrQJMXCwCUtclEnQmHBNb UuyxMKIjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIhgbDPCM7VXn5hLNi2w5t 27h/f4b6kunXexkWLPRoED/IJX5a383CweW04rY47kVbAA== 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: ionic: catch failure from devlink_alloc Add a check for NULL on the alloc return. If devlink_alloc() fails and we try to use devlink_priv() on the NULL return, the kernel gets very unhappy and panics. With this fix, the driver load will still fail, but at least it won't panic the kernel. The Linux kernel CVE team has assigned CVE-2023-53470 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit df69ba43217d3cf4215c83c0627ce98a26e56e7c and fixed in 5.15.112 with commit c177dd465f5c1e5f242cdb9258826c591c257e9a Issue introduced in 5.4 with commit df69ba43217d3cf4215c83c0627ce98a26e56e7c and fixed in 6.1.29 with commit 0d02efe7f25158c93146e3bb827bc7bb3cd5e71a Issue introduced in 5.4 with commit df69ba43217d3cf4215c83c0627ce98a26e56e7c and fixed in 6.2.16 with commit 5325f50de5b1433b27dda7ccff5cb7283722a3f1 Issue introduced in 5.4 with commit df69ba43217d3cf4215c83c0627ce98a26e56e7c and fixed in 6.3.3 with commit 0020c16c8af7f4bc9503a2088fb30793b6771fac Issue introduced in 5.4 with commit df69ba43217d3cf4215c83c0627ce98a26e56e7c and fixed in 6.4 with commit 4a54903ff68ddb33b6463c94b4eb37fc584ef760 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-2023-53470 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/pensando/ionic/ionic_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/c177dd465f5c1e5f242cdb9258826c591c257e9a https://git.kernel.org/stable/c/0d02efe7f25158c93146e3bb827bc7bb3cd5e71a https://git.kernel.org/stable/c/5325f50de5b1433b27dda7ccff5cb7283722a3f1 https://git.kernel.org/stable/c/0020c16c8af7f4bc9503a2088fb30793b6771fac https://git.kernel.org/stable/c/4a54903ff68ddb33b6463c94b4eb37fc584ef760