CVE-2026-139564

s390/ism: Zerorize dmb at allocation

Published Nov 30, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

s390/ism: Zerorize dmb at allocation

Sashiko reported [1] that 'Missing __GFP_ZERO in folio_alloc() causes
uninitialized kernel memory to be exposed in the receive message buffer'.
An ism dmb is receive-only, so the data is not leaked to a remote peer.
In general the smc kernel module (dibs client) will only push newly
received data to userspace. We still should not have uninitialized data
in a receive buffer.

Since
commit 750afb08ca71 ("cross-tree: phase out dma_zalloc_coherent()")
dma_alloc_coherent no longer required the __GFP_ZERO flag, but when
commit 83781384a96b ("s390/ism: Properly fix receive message buffer allocation")
switched to folio_alloc(), it should have added back the __GFP_ZERO flag.

Add __GFP_ZERO flag and state in dibs.h that register_dbm() provides
a zerorized buffer (dibs_lo already does).

Analysis

AI-generated

Technical impact

The Linux kernel’s s390/ism subsystem allocated a receive buffer without the __GFP_ZERO flag, causing kernel memory to be uninitialized and readable by a userspace component that later accesses the buffer. While the data is not transmitted to external peers, the missing zeroing creates a local information‑disclosure flaw that can be leveraged to read kernel data, potentially aiding further kernel exploitation.

Affected Systems

The flaw affects all Linux kernels that compile the s390/ism driver without the zeroing change, particularly those that include the commit that replaced dma_alloc_coherent with folio_alloc without restoring the __GFP_ZERO flag. The vulnerability is identified only in the Linux kernel product, with no specific version range supplied; kernels prior to the introduction of the fix are at risk.

Risk and Exploitability

This is a local‑only flaw requiring kernel or privileged module access to trigger. The uninitialized buffer can be read by a userspace component, but no remote attack vector exists. EPSS data is unavailable and the vulnerability is not listed in CISA KEV, suggesting no known exploitation in the wild. The overall risk is moderate, as the flaw must be combined with a local foothold to exploit further.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the commit restoring the __GFP_ZERO flag in the s390/ism subsystem
  • Ensure any kernel modules or userspace components that interact with the s390/ism driver explicitly zero buffers before passing data to userspace
  • If an immediate kernel update is infeasible, disable or restrict the smc kernel module or any userspace component that relies on the s390/ism receive buffer until the patch is applied

Generated by OpenCVE AI on December 1, 2026 at 12:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-665
CWE-788
Type Values Removed Values Added
Weaknesses CWE-665
CWE-788
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: s390/ism: Zerorize dmb at allocation Sashiko reported [1] that 'Missing __GFP_ZERO in folio_alloc() causes uninitialized kernel memory to be exposed in the receive message buffer'. An ism dmb is receive-only, so the data is not leaked to a remote peer. In general the smc kernel module (dibs client) will only push newly received data to userspace. We still should not have uninitialized data in a receive buffer. Since commit 750afb08ca71 ("cross-tree: phase out dma_zalloc_coherent()") dma_alloc_coherent no longer required the __GFP_ZERO flag, but when commit 83781384a96b ("s390/ism: Properly fix receive message buffer allocation") switched to folio_alloc(), it should have added back the __GFP_ZERO flag. Add __GFP_ZERO flag and state in dibs.h that register_dbm() provides a zerorized buffer (dibs_lo already does).
Title s390/ism: Zerorize dmb at allocation
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-908

    Use of Uninitialized Resource

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Low
Public date
Nov 30, 2026, 1:35 PM