# CVE-2026-93238: s390/vfio-ap: fix potential use of uninitialized apm_filtered bitmap

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-24T15:34:11.543Z
- Modified: 2026-10-19T10:17:14.913Z
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 before 4ba8a08f5f26ed59f356a6318bca3aa7cc0af3e2; from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 before f73db632524320d2b93bc8534be8ea875053502d; from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 before 6d554f2571e6b4db242593ba561efd6a6d1f99a9; from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 before 09548edc6114f1eb1035b30795e893204ef45b85; from eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 before bf09b9d7cd7890bc3a3b7eb63d5ece15f88bfde7; 6.0 (not affected: before 6.0; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2026-93238](https://www.cve.org/CVERecord?id=CVE-2026-93238), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-93238](https://nvd.nist.gov/vuln/detail/CVE-2026-93238), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-93238 · Whole record: https://cve.day/CVE-2026-93238.json · Rebuilt by cve.day 2026-11-25T22:59:40.790Z
