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 DF62C31B123 for ; Wed, 24 Dec 2025 12:26:54 +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=1766579215; cv=none; b=rNWWVUMa9ytkyCb1QQWIkwYFbl3K2wR2HNFc82pQIeply3XBx000GydFrxWIDhHxbUbPhcUOW/DF7DtxWUVKipYf2M2sFKUOBQj84sb5gE/ynwWLwI2vQ6s7ZpDvvrAdk0YCBhB8MYPh40cPtKQjVvy2Y7qcOIS+/JHIMStWBGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766579215; c=relaxed/simple; bh=klsojeQQ90ceTOWTNnxc3kbR0DQy6ohi7C/P5pCDhTg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SY4pC7bynfdcgYNYpdpzQMJcQfKDhxntA8K+YgsBuptigrXmmjg2OKXqFJFVDb3RX8ZWy4+gEUv5ghlxxWJ2GUP99y2QStTyciaMXmYduYO2AlfyPSHyd2R/cBKpDagxVxnSk9O1jinDihhQ+XFG+zJ0u2GABwGPQiSwg7GxqQM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gG/Btzfr; 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="gG/Btzfr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC0F3C4CEFB; Wed, 24 Dec 2025 12:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766579214; bh=klsojeQQ90ceTOWTNnxc3kbR0DQy6ohi7C/P5pCDhTg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=gG/BtzfrE0ixY0CqptdcVxkX+DYg0dGNK8RTm6JIgVqPIDy5jtSxKg470Vly4unbG DONZoOgMtsBOOm/ewBC3UrBGBA7GexplknrLtdSn26bVSwGRMdOBRjewnm2hLBRACH gJ0QF6GFFXBWTsqigT4Y8ykXtO5NSYM862H6W3Bo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50723: bnxt_en: fix memory leak in bnxt_nvm_test() Date: Wed, 24 Dec 2025 13:26:22 +0100 Message-ID: <2025122417-CVE-2022-50723-a62d@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=1836; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2aJTMrENFjNsbYCyfsPKq5feSQzxU/vyyPzIJTiry04=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnet18JiHQaH3VTbVcy1GHLdH5ZapBy7cfb/PXWGqYn5 I9+MNnREcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOpeM+w4MQL4zVHP/B6lyd9 2LX+zya9ov2/JzIsuCIRsyEpNWVRoOxfI8/DyYfs/DeJAgA= 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: bnxt_en: fix memory leak in bnxt_nvm_test() Free the kzalloc'ed buffer before returning in the success path. The Linux kernel CVE team has assigned CVE-2022-50723 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 5b6ff128fdf60b08c67b9b50addadc8fb8da4410 and fixed in 6.0.6 with commit be083d97031712a2e16fd915ddb8fe1a6cb1fbc5 Issue introduced in 6.0 with commit 5b6ff128fdf60b08c67b9b50addadc8fb8da4410 and fixed in 6.1 with commit ba077d683d45190afc993c1ce45bcdbfda741a40 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-2022-50723 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/broadcom/bnxt/bnxt_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/be083d97031712a2e16fd915ddb8fe1a6cb1fbc5 https://git.kernel.org/stable/c/ba077d683d45190afc993c1ce45bcdbfda741a40