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.
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
368704a65be8620df795ccbeb44e025dafbc3e1f to < ba5001db9bb23ff7d2ea328c405c287ffb07786faffected368704a65be8620df795ccbeb44e025dafbc3e1f to < 126a7c227d8543e13903dd5622640c1f0fcc5a16affected368704a65be8620df795ccbeb44e025dafbc3e1f to < 8ac60ae2a307a50b599bf5d300b448d638f3ba29affected
Linux Linux
Default version status: affected
4.7affected0 to < 4.7unaffected6.18.59 to ≤ 6.18.*unaffected7.2.13 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected