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).
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
83781384a96b95e2b6403d3c8a002b2c89031770 to < 16836fe17059c66c18c784cc2bc3ee2365dbd2eeaffected83781384a96b95e2b6403d3c8a002b2c89031770 to < 366cc3951cde5d4c94ca996c84f3c5e84c49860eaffected83781384a96b95e2b6403d3c8a002b2c89031770 to < bad6f3692c39f1a655d7c61dc4e28d4607b11182affected83781384a96b95e2b6403d3c8a002b2c89031770 to < a0227fa24e8a2a0397cc4eb669731ff8d9161bbdaffected121fb75414ab8debafd548bded9d888cd5a8f165affectedf3e23edc4917f72139b805f208aeadf23376a0b5affected6.6.29 to < 6.7affected6.8.8 to < 6.9affected
Linux Linux
Default version status: affected
6.9affected0 to < 6.9unaffected6.12.120 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected