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 5E1D0438FFB for ; Wed, 6 May 2026 11:35:26 +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=1778067326; cv=none; b=taRKL9FHqaDCxRyGoIzdKOASaTv1yCDg85/bWiH11IijCuk+bV2+FjUZZAbJaCqcvUZAMWfG8BBmBUlu7CulZ+ZIq0dWGeYHhvibT70kYzBvHb8jq8xw9amnoTR1bn+FtQ11nndzqi4BXLuVgHiEd5Hx1xkkGXb3Lom0ztluOIY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067326; c=relaxed/simple; bh=S0rH40ScK41NPzrbQInIeVLk7wEoDMuHWenBYMQ8Uak=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=k81zQSlZcpYLPSJjIfd0zlouRuV9Ib1eIsQXqxLXmzB6tt8KcL53TIoW/9ibMH2DQ4gbOh1dPobOUd/i9LDojRS/oz+qTePb+GYPoAKgFnWYORJGL/G4oVTjcMWEbTsxt1HrwPi3SSZid8f8J6XuoMOeD14r+EeB/F5QNKJDTEQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AphWchXz; 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="AphWchXz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8887C2BCB8; Wed, 6 May 2026 11:35:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067326; bh=S0rH40ScK41NPzrbQInIeVLk7wEoDMuHWenBYMQ8Uak=; h=From:To:Cc:Subject:Date:Reply-To:From; b=AphWchXzTYivMjVB/5g+9ffWtYShFOfYVscZ5laAQUd9FGsCii8AlFzcZhy2aELLv udHyAUMbiGsu0umfWE3gA7s54NarLdsOR7r7959F6QZQ01o7uAqO1TNS70wfbNA3Kw Ld6SId426hq4w6gPymxFOSazkXURUjkTyEvFTH00= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43276: net: mana: Fix double destroy_workqueue on service rescan PCI path Date: Wed, 6 May 2026 13:29:52 +0200 Message-ID: <2026050612-CVE-2026-43276-907b@gregkh> X-Mailer: git-send-email 2.54.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=3916; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HLPw9hOv9RqNuEvrgatB1YnJhVMMAsJOmHrBp1CFa8A=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/Vc9IfXDuNu75VeM5m+HOFK4FL37/DLmd8HnbCwNv4 YvV+3fv7ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJlFxmWNDXxbL049+S0LTD O5pey+iWV3w2esEwT3nn5ozFPNsn/bo/3XURT8vtNReX3AcA 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: Fix double destroy_workqueue on service rescan PCI path While testing corner cases in the driver, a use-after-free crash was found on the service rescan PCI path. When mana_serv_reset() calls mana_gd_suspend(), mana_gd_cleanup() destroys gc->service_wq. If the subsequent mana_gd_resume() fails with -ETIMEDOUT or -EPROTO, the code falls through to mana_serv_rescan() which triggers pci_stop_and_remove_bus_device(). This invokes the PCI .remove callback (mana_gd_remove), which calls mana_gd_cleanup() a second time, attempting to destroy the already- freed workqueue. Fix this by NULL-checking gc->service_wq in mana_gd_cleanup() and setting it to NULL after destruction. Call stack of issue for reference: [Sat Feb 21 18:53:48 2026] Call Trace: [Sat Feb 21 18:53:48 2026] [Sat Feb 21 18:53:48 2026] mana_gd_cleanup+0x33/0x70 [mana] [Sat Feb 21 18:53:48 2026] mana_gd_remove+0x3a/0xc0 [mana] [Sat Feb 21 18:53:48 2026] pci_device_remove+0x41/0xb0 [Sat Feb 21 18:53:48 2026] device_remove+0x46/0x70 [Sat Feb 21 18:53:48 2026] device_release_driver_internal+0x1e3/0x250 [Sat Feb 21 18:53:48 2026] device_release_driver+0x12/0x20 [Sat Feb 21 18:53:48 2026] pci_stop_bus_device+0x6a/0x90 [Sat Feb 21 18:53:48 2026] pci_stop_and_remove_bus_device+0x13/0x30 [Sat Feb 21 18:53:48 2026] mana_do_service+0x180/0x290 [mana] [Sat Feb 21 18:53:48 2026] mana_serv_func+0x24/0x50 [mana] [Sat Feb 21 18:53:48 2026] process_one_work+0x190/0x3d0 [Sat Feb 21 18:53:48 2026] worker_thread+0x16e/0x2e0 [Sat Feb 21 18:53:48 2026] kthread+0xf7/0x130 [Sat Feb 21 18:53:48 2026] ? __pfx_worker_thread+0x10/0x10 [Sat Feb 21 18:53:48 2026] ? __pfx_kthread+0x10/0x10 [Sat Feb 21 18:53:48 2026] ret_from_fork+0x269/0x350 [Sat Feb 21 18:53:48 2026] ? __pfx_kthread+0x10/0x10 [Sat Feb 21 18:53:48 2026] ret_from_fork_asm+0x1a/0x30 [Sat Feb 21 18:53:48 2026] The Linux kernel CVE team has assigned CVE-2026-43276 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 505cc26bcae00699bacaee66cd50ede7a9cc89cb and fixed in 6.18.16 with commit fa3c2f8d9152344a478abb847081c1b5f84a94f5 Issue introduced in 6.16 with commit 505cc26bcae00699bacaee66cd50ede7a9cc89cb and fixed in 6.19.6 with commit a9a7c3203fdc4d4a8d8a7a3b1ed05d2bb4c6e77e Issue introduced in 6.16 with commit 505cc26bcae00699bacaee66cd50ede7a9cc89cb and fixed in 7.0 with commit f975a0955276579e2176a134366ed586071c7c6a 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-43276 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 drivers/net/ethernet/microsoft/mana/mana_en.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/fa3c2f8d9152344a478abb847081c1b5f84a94f5 https://git.kernel.org/stable/c/a9a7c3203fdc4d4a8d8a7a3b1ed05d2bb4c6e77e https://git.kernel.org/stable/c/f975a0955276579e2176a134366ed586071c7c6a