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 9D8B44E4C31 for ; Thu, 17 Sep 2026 16:17: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=1789661881; cv=none; b=KrVJo/68kjPi5r1pNJqGf7GBKLL/9Ecf9zZaOs4SFPznTeNtc/hcwiu97BibuEeNW4c75VLd4vzHO6iWBExNmSeusrBSBsbfUijFSb4eBPXfrGl133ys+Mi+IJxiHyY0QEOQBwcuEHFQ392x/bYpBQTrk5LoatFtXw4nlqzQVCw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661881; c=relaxed/simple; bh=pDk1mXGTm4Z/JOTzpOE62vQl6BHSO293OClpIh9wtpE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=S/JhjCIVuzOnM3kPcsAR9QK9mVzwUMClPyzS8kpQg/dM6DLzPURhQx+tBauxXFoDYgT/SC0F0J3gQIN3SdsaMwAO3D8+gMXe1N0Plw0WEPAbV7JLLbCBFwTlVS2Q0NtYliYUJ7lsyr+RfYDSp6+l6WxSn4BGJsfbqwum2cALp6c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lVZGDjRZ; 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="lVZGDjRZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02B281F000FF; Thu, 17 Sep 2026 16:17:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661879; bh=bY90wKKucIreqqUYldL80WYJG2PForslhbNhvQ8wj2g=; h=From:To:Cc:Subject:Date:Reply-To; b=lVZGDjRZMpKYZjMYCIVcEYtLVJGCuxzBOgRT+H7lL1VRmGaqYDRaoL9gbPrwHUkmX j6jRnEYgVwUeoz+dBcsp9L+BLTH6l58SO3ZiL/K585CnjadbS3nFkYAslEzyPA6c99 NBXeTDDKjaZc6yrbZdKC+7jdBNfE6I1Yj/XQiGaU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90130: vdpa_sim: fix cleanup after worker creation failure Date: Thu, 17 Sep 2026 17:09:20 +0100 Message-ID: <2026091719-CVE-2026-90130-51b5@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=3186; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Js5gPvw3H2yPoTw0DtJz430PXgbPewD8bLnlXKknhFc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBIp3/01jXX59y+K3MjHnDOSKlH2EDh7cUD11ctf7p MPs5xIaOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAihycxzDOfMqOlUKjpqum2 N1uMev7cXPSdbRvDgrPmj3cffn1vjgVX64rIHR5PJrgtFwIA 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: vdpa_sim: fix cleanup after worker creation failure vdpasim_create() leaves vdpasim->worker as an ERR_PTR when kthread_run_worker() fails. The error path then drops the device reference, which releases the partially initialized simulator. vdpasim_free() unconditionally passes the worker pointer to kthread_destroy_worker(), so the ERR_PTR is dereferenced and can trigger a general protection fault. Store the worker error, clear the pointer, and only clean up the worker when it was successfully initialized. Also make the release path tolerate partially initialized objects by guarding virtqueue and IOTLB cleanup, since the same release path can be reached from other initialization failures. I found this bug myself, though the patch was written with AI assistance. The Linux kernel CVE team has assigned CVE-2026-90130 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 76acfa7bc54f1e3b9dde396e0a3534493419fd6f and fixed in 6.6.157 with commit feafa109f031ed111f7f968e447c13985db498e0 Issue introduced in 6.4 with commit 76acfa7bc54f1e3b9dde396e0a3534493419fd6f and fixed in 6.12.110 with commit 05ddc94afb69e36df59e88cfa9e5c7bf9d10cfd0 Issue introduced in 6.4 with commit 76acfa7bc54f1e3b9dde396e0a3534493419fd6f and fixed in 6.18.52 with commit 68b726b3a01fb02a68843781b17d05ef3d759987 Issue introduced in 6.4 with commit 76acfa7bc54f1e3b9dde396e0a3534493419fd6f and fixed in 7.2.6 with commit ca6f3fa599cb764518df595368b743f856fdb516 Issue introduced in 6.4 with commit 76acfa7bc54f1e3b9dde396e0a3534493419fd6f and fixed in 7.3-rc1 with commit bd670e5dfd2b01fd9692f61fa1456434c54026a4 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-90130 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/vdpa/vdpa_sim/vdpa_sim.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/feafa109f031ed111f7f968e447c13985db498e0 https://git.kernel.org/stable/c/05ddc94afb69e36df59e88cfa9e5c7bf9d10cfd0 https://git.kernel.org/stable/c/68b726b3a01fb02a68843781b17d05ef3d759987 https://git.kernel.org/stable/c/ca6f3fa599cb764518df595368b743f856fdb516 https://git.kernel.org/stable/c/bd670e5dfd2b01fd9692f61fa1456434c54026a4