Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-26620

HIGH 8.2EPSS 56%

s390/vfio-ap: always filter entire AP matrix

Mitigation

  • Upgrade Linux to 850fb7fa8c684a4c6bf0e4b6978f4ddcc5d43d11 or later.

Who should check

  • Anyone running Linux >= 48cae940c31d2407d860d87c41d5f9871c0521db, < d6b8d034b576f406af920a7bee81606c027b24c6; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < c69d821197611678533fb3eb784fc823b921349a; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < cdd134d56138302976685e6c7bc4755450b3880e; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < 850fb7fa8c684a4c6bf0e4b6978f4ddcc5d43d11
  • Anyone running Linux 6.0

Vulnerability facts

Affected
Linux >= 48cae940c31d2407d860d87c41d5f9871c0521db, < d6b8d034b576f406af920a7bee81606c027b24c6; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < c69d821197611678533fb3eb784fc823b921349a; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < cdd134d56138302976685e6c7bc4755450b3880e; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < 850fb7fa8c684a4c6bf0e4b6978f4ddcc5d43d11; Linux 6.0
Fixed in
Linux 850fb7fa8c684a4c6bf0e4b6978f4ddcc5d43d11
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.2 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: High
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.87% chance of exploitation in 30 days (percentile 56, 2026-11-26)
CWE
CWE-787
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 48cae940c31d2407d860d87c41d5f9871c0521db, < d6b8d034b576f406af920a7bee81606c027b24c6; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < c69d821197611678533fb3eb784fc823b921349a; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < cdd134d56138302976685e6c7bc4755450b3880e; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < 850fb7fa8c684a4c6bf0e4b6978f4ddcc5d43d11—cvelist
Linux6.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-26620. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26620.md
Affected: Linux >= 48cae940c31d2407d860d87c41d5f9871c0521db, < d6b8d034b576f406af920a7bee81606c027b24c6; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < c69d821197611678533fb3eb784fc823b921349a; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < cdd134d56138302976685e6c7bc4755450b3880e; >= 48cae940c31d2407d860d87…
Fixed in: Linux 850fb7fa8c684a4c6bf0e4b6978f4ddcc5d43d11

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-26620 being exploited?

There is no confirmed exploitation: CVE-2024-26620 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.87% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-26620?

High: CVSS 8.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-26620?

Linux >= 48cae940c31d2407d860d87c41d5f9871c0521db, < d6b8d034b576f406af920a7bee81606c027b24c6; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < c69d821197611678533fb3eb784fc823b921349a; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < cdd134d56138302976685e6c7bc4755450b3880e; >= 48cae940c31d2407d860d87c41d5f9871c0521db, < 850fb7fa8c684a4c6bf0e4b6978f4ddcc5d43d11; Linux 6.0.

Is there a fix for CVE-2024-26620?

Yes. Fixed in Linux 850fb7fa8c684a4c6bf0e4b6978f4ddcc5d43d11. Upgrade Linux to 850fb7fa8c684a4c6bf0e4b6978f4ddcc5d43d11 or later.

How do I check if I'm affected by CVE-2024-26620?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors