CVE-2026-93238

s390/vfio-ap: fix potential use of uninitialized apm_filtered bitmap

State
Published
Severity
Not scored
Published
Sep 24, 2026
Updated
Oct 19, 2026
Reserved
Sep 17, 2026

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 to before 4ba8a08f5f26ed59f356a6318bca3aa7cc0af3e2Affected
  • eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 to before f73db632524320d2b93bc8534be8ea875053502dAffected
  • eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 to before 6d554f2571e6b4db242593ba561efd6a6d1f99a9Affected
  • eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 to before 09548edc6114f1eb1035b30795e893204ef45b85Affected
  • eeb386aeb5b7c8d2dae6a3ba49255d8a97803182 to before bf09b9d7cd7890bc3a3b7eb63d5ece15f88bfde7Affected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.51 through 6.18.*Not affected
  • 7.2.5 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.