CVE-2026-139564: s390/ism: Zerorize dmb at allocation
In the Linux kernel, the following vulnerability has been resolved:
s390/ism: Zerorize dmb at allocation
Sashiko reported [1] that 'Missing GFPZERO in folioalloc() 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 dmazalloccoherent()") dmaalloccoherent no longer required the GFPZERO flag, but when commit 83781384a96b ("s390/ism: Properly fix receive message buffer allocation") switched to folioalloc(), it should have added back the GFPZERO flag.
Add GFPZERO flag and state in dibs.h that registerdbm() provides a zerorized buffer (dibslo already does).
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Add the __GFP_ZERO flag to folio_alloc() when allocating ISM DMB receive buffers, so the buffers are zeroed at allocation.
Event History
Frequently Asked Questions
Can this issue leak kernel memory to a remote peer?
No. The affected ISM DMB is receive-only, and the description states that its contents are not leaked to a remote peer.
What systems are most relevant to assess?
Assessment should focus on Linux systems using the s390/ism receive-message-buffer path, particularly where the SMC kernel module operates as a DIBS client. The issue concerns receive buffers that may contain uninitialized kernel memory before the fix.
What change resolves the issue?
The fix allocates the relevant folio with the __GFP_ZERO flag and documents that register_dbm() provides a zeroed buffer.