From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796047011; b=qXslWi/EvIMHTfUKuds+lhKJNHFAfD/uNHRrj9s2lUw7woiBl6CRKeBGpNnSh1OYizfA /P0AQqAW96Ju4zUJXWjG0NwSr2SOEUlvb8HkXWwLvtqdyJFATPh/qOKYSJvXiiGIEzz0q 3ujKiz0lxKiMdK+rZWGHUwgPoo68Dy1f34cwcITfioKqYNcKQPfKnQlBb9LGc5lAHo35J TTt9NIBPgGEMkTR+nCOJjr0+QPICUnOTxE1xYH/BtIvEBemsgdI4j3YCyIKiQy1caGyal X85AX3Lao0SlGwoy0Ic7yQ9DCEK4uCk7f/CBkYB6/c5kNTD8eiRB1Nua5d1ZDMsp07A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796047011; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=3qMhrytCuMlytXEhORshpVGJa6nLkylOuQz3DDvvdOs=; b=LMoA39/QFE+J9WaeVHzX6EfpXv+W2tOpxlm+Eflely05wVDLckOw1mUXdWdPJB12/7lY yfkm+/Joxm1VK+zoUQOJAGaOYwpDEcqeapTEiLB9n3dI0vU0kJa7+fJBn6lMeCGbAKOly ScvJ8D4Sb1i2UjYZpy8VLqm4J6HkqauiCUpo6EpP0xf+FUyHwRSkSV77R5TuChtetBcOB WO6q+XoyITV8kVpFyUInajeGwNV4bq5DOrNBuchXYoA654OK8NLGLBYUiKgNdGJbX8P8t dlfumLNqwECH4Gy1XAq463CsfM6Ql9afd1ZoY+Q0f4D+Cr5w1YNLCyDNKI5KF2OSv9A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=NYCbkeDt; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 572B9606A320 for ; Mon, 30 Nov 2026 13:56:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=NYCbkeDt Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01E5A1F00898; Mon, 30 Nov 2026 13:56:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796047010; bh=3qMhrytCuMlytXEhORshpVGJa6nLkylOuQz3DDvvdOs=; h=From:To:Cc:Subject:Date:Reply-To; b=NYCbkeDtE8DHZ5Jwi/kpaRt5UURjeojr9oRXJJ4Ra8qjkwLpvP8qNlnY/dUtvX9Ie NGarJ//ZVImAsTz1NZB76x1uI09/ggxhAKHxUeWB34VW+kENOcN2D+5Voori6zor8m lnCI8FC1rkc0jaCHo1AMCAoHAlCm1rJHcvaggYzc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-139136: net/mlx5: Only set num_doorbells on a fully initialized SF Date: Mon, 30 Nov 2026 14:32:25 +0100 Message-ID: <2026113040-CVE-2026-139136-e508@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2274; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fZc5u14iQgPIWG50VyJemZHWGiG++LEBV1j6Pgh+WO4=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm8VXs6I1sa7m+2j1Q3+x+zaU1CTAon72dXP3ZGW18Zu 01T3BU6YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCLLuxjm+z/a686y/0rAGtH1 Zh7GIYv8r0hVMCw4qN3swmK420WY4YhXyNr/yWWlsccB 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/mlx5: Only set num_doorbells on a fully initialized SF The validation for the num_doorbells devlink param rejects values greater than num_channels. For lightweight SFs, this ends up accessing a NULL priv->eq_table, leading to a crash. Fix that by rejecting setting num_doorbells on uninitialized SFs. The Linux kernel CVE team has assigned CVE-2026-139136 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 11bbcfb7668c6f4d97260f7caaefea22678bc31e and fixed in 6.18.65 with commit 3338ecb532c27af28c7c41eaaab4b0b7795f6a0f Issue introduced in 6.18 with commit 11bbcfb7668c6f4d97260f7caaefea22678bc31e and fixed in 7.3.6 with commit 2dbe2d06ec09a8cc06186cc052217f666f45e9d1 Issue introduced in 6.18 with commit 11bbcfb7668c6f4d97260f7caaefea22678bc31e and fixed in 7.4-rc1 with commit fa503935c2d6603856dafff0a0852631ab6e9503 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-139136 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/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/3338ecb532c27af28c7c41eaaab4b0b7795f6a0f https://git.kernel.org/stable/c/2dbe2d06ec09a8cc06186cc052217f666f45e9d1 https://git.kernel.org/stable/c/fa503935c2d6603856dafff0a0852631ab6e9503