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 875B837F73E for ; Sat, 15 Aug 2026 06:31:59 +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=1786775520; cv=none; b=lv03vUIier5xb6n7W8AI5yNxaolK9PJmGFCK3NhFptkLd8NR2JUJHCHIlcETDbY40UcSEpIUwHABclrqjutcC7po/8eFhmmrkh2+kCi+siBXF+JqRBuRY6CPDFZcyIYlmc9XeNmVnipH5iu8RRuf/S5YySgWHpw5VfWSW2Dlaow= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775520; c=relaxed/simple; bh=t4RnQAKALjiNJZxfL9iNcmdS6bKJeZhTOdTI4DT7sIk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Q9pwvM/Gf3C/R4PsdFBmEvosX1fpjAzQLNZ7EQzyOJVJlYyqjbQgKpldnfEH61gNSlA7mgcXnEb/TO8LMMIg/oZgt1k5dIA+yr/kaFkEOPiOj28RY9ribKF7dZpTBFIqLtDdMQ3WjGQq9zP5YLr8wA3M7m2ZTLluOILevc9UlOs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CNcki+0X; 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="CNcki+0X" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D80A41F000E9; Sat, 15 Aug 2026 06:31:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775519; bh=iGAFApibCInMv3HfxpTf79VLxoP7AfMW3VAOBymi2D4=; h=From:To:Cc:Subject:Date:Reply-To; b=CNcki+0XyLyjwixiSbPNMQnf148j01d0Q+yTkNlfYnH3T4dHf4WLHUo6ZyLDaMc1b MaSfj9VmaZXh6me2plDEDq0Cneas1oaL+qH47k0bbidvkqm9O8rGKsmY/B+EaaNdPf n4XrfZ+n0k+oMOU+ZVNwBjh7V5o8yml6RvkfIQrk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74265: net: mana: initialize gdma queue id to INVALID_QUEUE_ID Date: Sat, 15 Aug 2026 15:09:52 +0900 Message-ID: <2026081543-CVE-2026-74265-12c6@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=3393; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hlP2SKgKPtU3otrxPUkfQkFWkiF8ob9gCmEzOx1Gq9A=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjMzWrgdzj03YzHP58PoJX/9UsitPvmt6tK8nWeZmU u0r2WLbjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIIR6GBcuXCIt/1BGy9N6g oJgRPMW9JbHrDcP8iKfiOn8N/z0ovvbv7tZyJ0E1bo7lAA== 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: mana: initialize gdma queue id to INVALID_QUEUE_ID mana_gd_create_mana_wq_cq() leaves queue->id as 0 (from kzalloc_obj()) until mana_create_wq_obj() assigns the firmware-returned id. If creation fails before that, cleanup calls mana_gd_destroy_cq() with id 0, NULLing gc->cq_table[0] and silently breaking whichever real CQ owns that slot. Initialize queue->id to INVALID_QUEUE_ID right after allocation, matching mana_gd_create_eq(). The existing (id >= max_num_cqs) guard then short-circuits cleanly. The Linux kernel CVE team has assigned CVE-2026-74265 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f and fixed in 5.15.212 with commit 372e7318af379eee29ab6e60848ce7d7db76c85a Issue introduced in 5.13 with commit ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f and fixed in 6.1.178 with commit c6662f3ad1c7c3549a1c39545651833220b0de89 Issue introduced in 5.13 with commit ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f and fixed in 6.6.145 with commit 8e52a247d9aa979d43eb9ff1e445b9b3bf229d4d Issue introduced in 5.13 with commit ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f and fixed in 6.12.97 with commit a493cbb6b11acd4adc93397a4b12bd460d47620d Issue introduced in 5.13 with commit ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f and fixed in 6.18.40 with commit 62ce489acb428a936bdf243e7b92b3eb341447cf Issue introduced in 5.13 with commit ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f and fixed in 7.1.5 with commit 150590d9ab0dbeb0087193058363819d4c82a00f Issue introduced in 5.13 with commit ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f and fixed in 7.2-rc1 with commit 5985474e1cb4034680fac2145497a94b0860be50 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-74265 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/microsoft/mana/gdma_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/372e7318af379eee29ab6e60848ce7d7db76c85a https://git.kernel.org/stable/c/c6662f3ad1c7c3549a1c39545651833220b0de89 https://git.kernel.org/stable/c/8e52a247d9aa979d43eb9ff1e445b9b3bf229d4d https://git.kernel.org/stable/c/a493cbb6b11acd4adc93397a4b12bd460d47620d https://git.kernel.org/stable/c/62ce489acb428a936bdf243e7b92b3eb341447cf https://git.kernel.org/stable/c/150590d9ab0dbeb0087193058363819d4c82a00f https://git.kernel.org/stable/c/5985474e1cb4034680fac2145497a94b0860be50