CVE-2026-99124

s390/pci: Fix leak of uninitialized kernel data in SCLP report

Published Oct 28, 2026 CVSS 3.1 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

s390/pci: Fix leak of uninitialized kernel data in SCLP report

While report_error_write() checks that the provided buffer is at least
as large as the header struct, but not that it is large enough to
contain the report with the length claimed by report->length. If
user-space provides a short buffer, meaning a larger report->length than
the actually written payload, up to around 4K of kernel data from past
the kmalloc(len + 1) sized buffer allocated in kernfs_fop_write_iter()
will leak into the SCLP report.

However, as the entity processing the SCLP is privileged and able to
access at least the page including the report, this does not leak data
that entity could not access but it is still an out of bounds read and
a malformed error report that should be rejected.

Analysis

AI-generated

Technical impact

An out-of-bounds read occurs in the Linux kernel when generating an SCLP report on s390 platforms. The function report_error_write() verifies that the supplied buffer is large enough to hold a header, but it does not ensure the buffer can accommodate the payload specified by report->length. If a user supplies a short buffer, data from a larger kmalloc allocation can be read and included in the report, leaking up to around four kilobytes of kernel memory. This does not expose data that the privileged entity cannot already access, but it still represents an information disclosure and an improper handling of error reports. The flaw is a classic out-of-bounds read that is triggered by a malformed input.

Affected Systems

All Linux kernel implementations running on IBM S/390 (s390) architecture that contain the s390/pci subsystem before the patch. The affected code is present in the Linux kernel source tree and is noted by the vendor as part of the Linux kernel distribution.

Risk and Exploitability

The vulnerability can be triggered only by a privileged entity that can generate an SCLP report, such as an operating system component or kernel module with the required permissions. Because the leak is limited to data already accessible by that entity, the risk is confined to privileged-level information disclosure rather than system compromise. The EPSS score of < 1% indicates a low probability of exploitation and the vulnerability is not listed in CISA’s KEV catalog, indicating no known active exploitation at this time. The CVSS score of 5.1 indicates moderate severity. Nonetheless, it represents an out-of-bounds read that should be mitigated before the privileged component accepts user-controlled report size values.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the fix for CVE-2026-99124, ensuring the commit that addressed the buffer size check is present.
  • Verify that the kernel configuration for the s390/pci subsystem is unchanged and that no custom patches re‑introduce the unverified buffer handling.
  • If an immediate update is not possible, restrict or disable the generation of custom SCLP reports from untrusted contexts, or ensure that any buffers passed to report_error_write() are pre‑validated for sufficient length.

Generated by OpenCVE AI on October 30, 2026 at 02:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
History
Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-131
CWE-254
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: s390/pci: Fix leak of uninitialized kernel data in SCLP report While report_error_write() checks that the provided buffer is at least as large as the header struct, but not that it is large enough to contain the report with the length claimed by report->length. If user-space provides a short buffer, meaning a larger report->length than the actually written payload, up to around 4K of kernel data from past the kmalloc(len + 1) sized buffer allocated in kernfs_fop_write_iter() will leak into the SCLP report. However, as the entity processing the SCLP is privileged and able to access at least the page including the report, this does not leak data that entity could not access but it is still an out of bounds read and a malformed error report that should be rejected.
Title s390/pci: Fix leak of uninitialized kernel data in SCLP report
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:41 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Oct 30, 2026, 1:21 PM
Severity
Moderate
Public date
Oct 28, 2026, 10:34 AM