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 CA26C4A3F3F for ; Thu, 24 Sep 2026 15:42:25 +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=1790264547; cv=none; b=YbfX3FunrrCkk57jikm37lhLUrP6+nbZ4SrrqI0/7Nx2pzTA24qRqZyxl6IHczF3aGmPLOFu5dONCUoxhd49PcpbRetDTvJvPnYtny0TWg2ZhhakDsWF0jH/PHsgia62zaqQ04AmAVjMHecJbiVMV2ORHbtlZOYzs4MpKip7iDs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790264547; c=relaxed/simple; bh=h9kEpsxxEKconLYrJOWCTx2jZ4mLg7rjXNinyOaPTTs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JWzV3cMxBCSa3JJZCR47HUPN15cniitJJl456DunOE5Q3CjnOWxKftHxuq5jW25kzQ7SEzS+nDuk4XUDVTz4X1UvwKBtzPqMPQV0VjTeIsQ04ogN8wdFOFhG+4zEK6Nps6OKDucT0VM8isrApV2Zdyx62d8UhPI88Uvr6PgHRO8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=i+w7epjE; 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="i+w7epjE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F9191F008A5; Thu, 24 Sep 2026 15:42:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790264545; bh=nwNDgVxvDeaqHMEJv1hhMN/4s9EhpYYQI0CKTG/qXDs=; h=From:To:Cc:Subject:Date:Reply-To; b=i+w7epjErynQDFc46oCbi5Oh17/ZEQWEjstnJxHHM29KTWeIV7iR8PhovuxeJCg/c geA9p6GYJvJF+ONMSP4QVcmyVc7L9ha+Hz2UxcAtJ8MAuYeHfmL6TJNiLNweKpXfEs vESgdZ6NGfnnu/+aN/oraVhmlEZ0DtzZSy11l8gA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93238: s390/vfio-ap: fix potential use of uninitialized apm_filtered bitmap Date: Thu, 24 Sep 2026 17:33:00 +0200 Message-ID: <2026092455-CVE-2026-93238-125e@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=3369; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ssB4VOHYFpFK82ccSCrNoXmb0jNeqT0Eq19CdYQMkok=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbnZabRbHqmZT0Pf9TPMHi+K89hcG2vBP1GyLMudWs/ su069/uiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIn09TEsWPV1Wdk3mSVlz73m 6pZKuDeHhs8uZ1hwdHru0cYEy9tia6ujWsSNqgS3uTADAA== 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: s390/vfio-ap: fix potential use of uninitialized apm_filtered bitmap The DECLARE_BITMAP(apm_filtered, AP_DEVICES) macro allocates the bitmap on the stack without zero-initializing it. In vfio_ap_mdev_hot_plug_cfg(), the vfio_ap_mdev_filter_matrix() function is only called to initialize and populate apm_filtered if either filter_adapters or filter_domains is true. If the hot plug configuration change only adds control domains (meaning filter_cdoms is true, but filter_adapters and filter_domains are both false), vfio_ap_mdev_filter_matrix() is bypassed. Consequently, apm_filtered is passed to reset_queues_for_apids() with uninitialized stack garbage. This can cause reset_queues_for_apids() to interpret arbitrary stack garbage bits as valid APIDs to reset, potentially performing unintended guest hardware queue resets. Fix this by zero-initializing the apm_filtered bitmap at the beginning of vfio_ap_mdev_hot_plug_cfg() using bitmap_zero(). The Linux kernel CVE team has assigned CVE-2026-93238 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 and fixed in 6.6.157 with commit 4ba8a08f5f26ed59f356a6318bca3aa7cc0af3e2 Issue introduced in 6.0 with commit eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 and fixed in 6.12.110 with commit f73db632524320d2b93bc8534be8ea875053502d Issue introduced in 6.0 with commit eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 and fixed in 6.18.51 with commit 6d554f2571e6b4db242593ba561efd6a6d1f99a9 Issue introduced in 6.0 with commit eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 and fixed in 7.2.5 with commit 09548edc6114f1eb1035b30795e893204ef45b85 Issue introduced in 6.0 with commit eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 and fixed in 7.3-rc1 with commit bf09b9d7cd7890bc3a3b7eb63d5ece15f88bfde7 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-93238 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/s390/crypto/vfio_ap_ops.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/4ba8a08f5f26ed59f356a6318bca3aa7cc0af3e2 https://git.kernel.org/stable/c/f73db632524320d2b93bc8534be8ea875053502d https://git.kernel.org/stable/c/6d554f2571e6b4db242593ba561efd6a6d1f99a9 https://git.kernel.org/stable/c/09548edc6114f1eb1035b30795e893204ef45b85 https://git.kernel.org/stable/c/bf09b9d7cd7890bc3a3b7eb63d5ece15f88bfde7