From mboxrd@z Thu Jan 1 00:00:00 1970 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 AEB6918E351 for ; Tue, 20 Aug 2024 23:51:14 +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=1724197874; cv=none; b=p97pUbdKBdkCm3esbW8Agt5bmQqxL7X4tWwof1EHlBTZEu1mTf8l6/racIkK1FalAi2FDvGhOfDF1HXi4pIV3Ni9LBA3UgmMkeSxJtDHxz/mkLYCQlLacViP3TfdMkbk3fv+xXHYEL1DeoZqXHD44hozttoR62F61UXKRHpHsrU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724197874; c=relaxed/simple; bh=pf3w4KFNFxES0KFWIqY7gg5ji7EFUH1hyLJZwRkdQzg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Gtnby9ce9y5uUFd4WOazAmrM7SHKwHOGPAjqmxvK+PUmZkM40tiL7BqhYQdsuv2QLLafJWfuSkU269q9+sewoyrYmpHSdy65trwCbLoK++iOU1C1/GlZ4JEtiCHJJlriiEZ7TJiXeGW7wlzDChGYOHHATyjBDuP0d9BoZffobkE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=X+DQFV3O; 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="X+DQFV3O" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF7F8C4AF0B; Tue, 20 Aug 2024 23:51:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724197874; bh=pf3w4KFNFxES0KFWIqY7gg5ji7EFUH1hyLJZwRkdQzg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=X+DQFV3Os9o6U1zbS5OmOEvn5wSbD2BNj2Ky/HLbtZ2bip+aJxszVOljRhG8Ka+u8 97Ri53zWWXfJ7/vQFTLzTX5wdoVGfvzd+XpKI53TeCdz9hdBJ4yFz6Fm60Uq6PRoH/ BFr2/DJk5oPdDGEF3YUG5Vs3FllGk+v7t+eUyydk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43866: net/mlx5: Always drain health in shutdown callback Date: Wed, 21 Aug 2024 07:50:59 +0800 Message-ID: <2024082157-CVE-2024-43866-66ed@gregkh> X-Mailer: git-send-email 2.46.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=2143; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pf3w4KFNFxES0KFWIqY7gg5ji7EFUH1hyLJZwRkdQzg=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlHtR+61D+69DG7ir0peNr16KePYzQnPFJmVf52+If9e 91VW0W/dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBElisyzDN7ekiP9/nL1Lij u9vzmsNP2mb3MDLMFX2SM2vdwp6Y7ULhshG22/lk5d89AQA= 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: net/mlx5: Always drain health in shutdown callback There is no point in recovery during device shutdown. if health work started need to wait for it to avoid races and NULL pointer access. Hence, drain health WQ on shutdown callback. The Linux kernel CVE team has assigned CVE-2024-43866 to this issue. Affected and fixed versions =========================== Issue introduced in 4.14 with commit d2aa060d40fa and fixed in 6.6.45 with commit 6b6c2ebd83f2 Issue introduced in 4.14 with commit d2aa060d40fa and fixed in 6.10.4 with commit 6048dec75455 Issue introduced in 4.14 with commit d2aa060d40fa and fixed in 6.11-rc2 with commit 1b75da22ed1e Issue introduced in 4.13.16 with commit 63d10e93df94 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-43866 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/mellanox/mlx5/core/main.c drivers/net/ethernet/mellanox/mlx5/core/sf/dev/driver.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/6b6c2ebd83f2bf97e8f221479372aaca97a4a9b2 https://git.kernel.org/stable/c/6048dec754554a1303d632be6042d3feb3295285 https://git.kernel.org/stable/c/1b75da22ed1e6171e261bc9265370162553d5393