{"id":"CVE-2026-93238","aliases":["CVE-2026-93238"],"related":[],"kind":"vulnerability","state":"published","title":"s390/vfio-ap: fix potential use of uninitialized apm_filtered bitmap","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/vfio-ap: fix potential use of uninitialized apm_filtered bitmap\n\nThe DECLARE_BITMAP(apm_filtered, AP_DEVICES) macro allocates the bitmap\non the stack without zero-initializing it.\n\nIn vfio_ap_mdev_hot_plug_cfg(), the vfio_ap_mdev_filter_matrix() function\nis only called to initialize and populate apm_filtered if either\nfilter_adapters or filter_domains is true. If the hot plug configuration\nchange only adds control domains (meaning filter_cdoms is true, but\nfilter_adapters and filter_domains are both false),\nvfio_ap_mdev_filter_matrix() is bypassed.\n\nConsequently, apm_filtered is passed to reset_queues_for_apids() with\nuninitialized stack garbage. This can cause reset_queues_for_apids() to\ninterpret arbitrary stack garbage bits as valid APIDs to reset, potentially\nperforming unintended guest hardware queue resets.\n\nFix this by zero-initializing the apm_filtered bitmap at the beginning of\nvfio_ap_mdev_hot_plug_cfg() using bitmap_zero().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/vfio-ap: fix potential use of uninitialized apm_filtered bitmap\n\nThe DECLARE_BITMAP(apm_filtered, AP_DEVICES) macro allocates the bitmap\non the stack without zero-initializing it.\n\nIn vfio_ap_mdev_hot_plug_cfg(), the vfio_ap_mdev_filter_matrix() function\nis only called to initialize and populate apm_filtered if either\nfilter_adapters or filter_domains is true. If the hot plug configuration\nchange only adds control domains (meaning filter_cdoms is true, but\nfilter_adapters and filter_domains are both false),\nvfio_ap_mdev_filter_matrix() is bypassed.\n\nConsequently, apm_filtered is passed to reset_queues_for_apids() with\nuninitialized stack garbage. This can cause reset_queues_for_apids() to\ninterpret arbitrary stack garbage bits as valid APIDs to reset, potentially\nperforming unintended guest hardware queue resets.\n\nFix this by zero-initializing the apm_filtered bitmap at the beginning of\nvfio_ap_mdev_hot_plug_cfg() using bitmap_zero().","source":"cvelist"}],"published":"2026-09-24T15:34:11.543Z","modified":"2026-10-19T10:17:14.913Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"eeb386aeb5b7c8d2dae6a3ba49255d8a97803182","fixed":"4ba8a08f5f26ed59f356a6318bca3aa7cc0af3e2","status":"affected"},{"type":"git","introduced":"eeb386aeb5b7c8d2dae6a3ba49255d8a97803182","fixed":"f73db632524320d2b93bc8534be8ea875053502d","status":"affected"},{"type":"git","introduced":"eeb386aeb5b7c8d2dae6a3ba49255d8a97803182","fixed":"6d554f2571e6b4db242593ba561efd6a6d1f99a9","status":"affected"},{"type":"git","introduced":"eeb386aeb5b7c8d2dae6a3ba49255d8a97803182","fixed":"09548edc6114f1eb1035b30795e893204ef45b85","status":"affected"},{"type":"git","introduced":"eeb386aeb5b7c8d2dae6a3ba49255d8a97803182","fixed":"bf09b9d7cd7890bc3a3b7eb63d5ece15f88bfde7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4ba8a08f5f26ed59f356a6318bca3aa7cc0af3e2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f73db632524320d2b93bc8534be8ea875053502d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d554f2571e6b4db242593ba561efd6a6d1f99a9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09548edc6114f1eb1035b30795e893204ef45b85","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bf09b9d7cd7890bc3a3b7eb63d5ece15f88bfde7","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93238","url":"https://www.cve.org/CVERecord?id=CVE-2026-93238","licence":"CVE Terms of Use","modified":"2026-10-19T09:07:49.811Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93238","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93238","licence":"Public domain","modified":"2026-10-19T10:17:14.913Z"}],"updatedAt":"2026-11-25T22:59:40.790Z","epss":{"score":0.00216,"percentile":0.12766,"date":"2026-12-01T12:00:22.000Z"}}