CVE-2024-26620

Description

This linux kernel vulnerability occurs in the s390/vfio-ap cryptographic device driver for the IBM S/390 platform. The issue arises within the vfio_ap_mdev_filter_matrix function, which is called whenever a new adapter or domain is assigned to a mediated device (mdev). Because the code failed to consistently filter the entire AP matrix under certain conditions, it creates an out-of-bounds write flaw. This memory corruption bug could potentially be exploited to compromise the system's confidentiality, integrity, and availability. Patched kernel versions resolve the issue by ensuring the driver properly filters the entire AP matrix during these assignment operations, preventing the unsafe out-of-bounds memory access.

Statement

This vulnerability is rated as Low severity because exploitation requires host administrative privileges on IBM Z (s390x) systems configuring VFIO cryptographic coprocessor passthrough. Triggering the improper filtering condition requires an uncommon operational sequence of unbinding and reassigning mediated device queues and domains on the virtualization host. Red Hat Enterprise Linux releases are not affected as the upstream commit introducing the defect was never included in enterprise kernel releases.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.47.58.2
Attack VectorLocalNetworkLocal
Attack ComplexityLowLowLow
Privileges RequiredHighNoneHigh
User InteractionNoneNoneNone
ScopeUnchangedUnchangedChanged
ConfidentialityNoneNoneHigh
Integrity ImpactNoneNoneHigh
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

NVD: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Understanding the Weakness (CWE)

Confidentiality,Integrity

Technical Impact: Read Application Data; Modify Application Data; Read Files or Directories; Modify Files or Directories

An attacker could gain access to or modify sensitive data or system resources. This could allow access to protected files or directories including configuration files and files containing sensitive information.

Frequently Asked Questions

Want to get errata notifications? Sign up here.