CVE-2024-26620: Linux kernel · s390/vfio-ap: always filter entire AP matrix
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 8.2 High · fixed in 6.5.0-1022.23~22.04.1 : patch Linux kernel soon.
Data as of 24 Nov 2026, 21:14 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.5.0-1022.23~22.04.1, 6.5.0-1022.24~22.04.1, 6.5.0-41.41~22.04.2 +7
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 11 Mar 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-6818-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6819-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6818-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6819-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6819-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6818-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6818-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6819-4 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro Realtime 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=realtime/nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.5pkg:deb/ubuntu/linux-aws-6.5?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-azure-5.19pkg:deb/ubuntu/linux-azure-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
In the Linux kernel, the following vulnerability has been resolved: s390/vfio-ap: always filter entire AP matrix The vfio_ap_mdev_filter_matrix function is called whenever a new adapter or domain is assigned to the mdev. The purpose of the function is to update the guest's AP configuration by filtering the matrix of adapters and domains assigned to the mdev. When an adapter or domain is assigned, only the APQNs associated with the APID of the new adapter or APQI of the new domain are inspected. If an APQN does not reference a queue device bound to the vfio_ap device driver, then it's APID will be filtered from the mdev's matrix when updating the guest's AP configuration. Inspecting only the APID of the new adapter or APQI of the new domain will result in passing AP queues through to a guest that are not bound to the vfio_ap device driver under certain circumstances. Consider the following: guest's AP configuration (all also assigned to the mdev's matrix): 14.0004 14.0005 14.0006 16.0004 16.0005 16.0006 unassign domain 4 unbind queue 16.0005 assign domain 4 When domain 4 is re-assigned, since only domain 4 will be inspected, the APQNs that will be examined will be: 14.0004 16.0004 Since both of those APQNs reference queue devices that are bound to the vfio_ap device driver, nothing will get filtered from the mdev's matrix when updating the guest's AP configuration. Consequently, queue 16.0005 will get passed through despite not being bound to the driver. This violates the linux device model requirement that a guest shall only be given access to devices bound to the device driver facilitating their pass-through. To resolve this problem, every adapter and domain assigned to the mdev will be inspected when filtering the mdev's matrix.
References
- ubuntu.com/security/CVE-2024-26620 (opens in a new tab)
- git.kernel.org/linus/850fb7fa8c684a4c6bf0e4b6978f4ddcc5d43d11 (opens in a new tab)
- git.kernel.org/stable/c/d6b8d034b576f406af920a7bee81606c027b24c6 (opens in a new tab)
- git.kernel.org/stable/c/c69d821197611678533fb3eb784fc823b921349a (opens in a new tab)
- git.kernel.org/stable/c/cdd134d56138302976685e6c7bc4755450b3880e (opens in a new tab)
- git.kernel.org/stable/c/850fb7fa8c684a4c6bf0e4b6978f4ddcc5d43d11 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-26620 (opens in a new tab)
- ubuntu.com/security/notices/USN-6818-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6819-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6818-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6819-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6819-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6818-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6818-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6819-4 (opens in a new tab)