Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 A8DD73CA4A9 for ; Mon, 10 Aug 2026 12:03:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363385; cv=none; b=J0ABiYH169wS64LO309IZCAjf4c48nuPTKig1c3HbvT+YxquZeSw1NWJ2d+GkSRoroWU4urxYTjH6BEEJaoUejk8b2lN41bwqDZ8pu0RBHDk5CfiWKI9qx7oGWcca3HiP06poaNVr5szeXkpJ/1j/5X6hVuo1Uy65uuZPU/uVtM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363385; c=relaxed/simple; bh=X3L0ySsQvQTDcw7EPm7GA5PAd3JFHxT8pdUzz6/UU9o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ccClOmUbnrwOYtIzrfkbXNnuN8Ngn28GIk+2L/danm2xSE2hH3yBFeBU4d4hEAsize4C6f8FsAn0yUnNVazq9NKHZTKZkfzCbx5DxZPJ55S3I4oinhWkw2N2OOSYloIb9zlIyeGHkGAlkiUFsbi7yVzN20mVMNOwfFIETRWsUvI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Y/SCAcEl; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Y/SCAcEl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F20591F00A3A; Mon, 10 Aug 2026 12:02:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363379; bh=JwmqYRaL0rtjzXP23E9kQiuhwcMcrh+YdFAnp6bXzg4=; h=From:To:Cc:Subject:Date:Reply-To; b=Y/SCAcEloOyy9t7ON4kzO/dDLdajAKgJrLcJoUty5WNZrv/m2IgzaTzN8IAc2tOjp 09ZT84JtBD/4emd/8p0oWxa3Nqs8gWZHD4EYSVinKdEwV/U7zZCXUqFKFTGJ7QIVwY PF8k2mZWNVOLMV/1y2eb7OicA1Mr6QoDmKko2uYk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68139: net/mlx5e: Use sender devcom for MPV master-up Date: Mon, 10 Aug 2026 13:57:36 +0200 Message-ID: <2026081059-CVE-2026-68139-276e@gregkh> X-Mailer: git-send-email 2.55.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=3833; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1GIhoCr/sPKnCR0PsPcZkdqyagIpYsi3Sn+aH2LQrLs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe7pNH7pYL4jmP6d2/kZafu+P+qNefxsv6z5iXvO9z NGmYJJuRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk5zyGBZ0tq6uSC0w9nwSd O3KaU3CPjMmndoYF3Q57TypM052hw662n+/16VUi/B78AA== 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/mlx5e: Use sender devcom for MPV master-up After PCIe DPC recovery, mlx5 reloads the affected functions and replays multiport affiliation events. In the reported failure, the first relevant device error was: pcieport 0000:10:01.1: DPC: containment event pcieport 0000:10:01.1: PCIe Bus Error: severity=Uncorrected (Fatal) pcieport 0000:10:01.1: [ 5] SDES (First) mlx5 recovered the PCI functions and resumed 0000:11:00.1. During that resume, RDMA multiport binding replayed MLX5_DRIVER_EVENT_AFFILIATION_DONE and mlx5e sent MPV_DEVCOM_MASTER_UP. The host then panicked with: BUG: kernel NULL pointer dereference, address: 0000000000000010 RIP: mlx5_devcom_comp_set_ready+0x5/0x40 [mlx5_core] RDI: 0000000000000000 Call trace included: mlx5_devcom_comp_set_ready mlx5e_devcom_event_mpv mlx5_devcom_send_event mlx5_ib_bind_slave_port mlx5r_mp_probe mlx5_pci_resume MPV devcom registration publishes mlx5e private data to the component peer list before mlx5e_devcom_init_mpv() stores the returned component device in priv->devcom. A concurrent master-up event can therefore reach a peer whose private data is visible but whose priv->devcom backpointer is still NULL. MPV_DEVCOM_MASTER_UP already carries the sender/master mlx5e private data as event_data. The ready bit is stored on the shared devcom component, not on an individual peer. Use the sender devcom when marking the MPV component ready. This preserves the readiness transition while avoiding a NULL dereference of the peer devcom pointer during affiliation replay after PCI error recovery. The Linux kernel CVE team has assigned CVE-2026-68139 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit bf11485f8419f90ffaa3804fd01d8468fcc56e23 and fixed in 6.12.101 with commit c698b2735613f1f35c55688bd2252f75f31c49ad Issue introduced in 6.7 with commit bf11485f8419f90ffaa3804fd01d8468fcc56e23 and fixed in 6.18.42 with commit 40f9a124ebbe0d60fe165fb3f87515c35b2d72f5 Issue introduced in 6.7 with commit bf11485f8419f90ffaa3804fd01d8468fcc56e23 and fixed in 7.1.6 with commit a60c81f168c9fe4f5d84302d1e32b717f5a8a933 Issue introduced in 6.7 with commit bf11485f8419f90ffaa3804fd01d8468fcc56e23 and fixed in 7.2-rc5 with commit e32649b4bad90a6216d8e93cd7dd050af8ac9740 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-68139 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/en_main.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/c698b2735613f1f35c55688bd2252f75f31c49ad https://git.kernel.org/stable/c/40f9a124ebbe0d60fe165fb3f87515c35b2d72f5 https://git.kernel.org/stable/c/a60c81f168c9fe4f5d84302d1e32b717f5a8a933 https://git.kernel.org/stable/c/e32649b4bad90a6216d8e93cd7dd050af8ac9740