On Thu, 2026-07-09 at 16:29 +0200, Christian Borntraeger wrote:
> A guest might send a too short SCCB with SCLP_EVENT_CTRL_PGM_ID. QEMU
> would fill its data structures with garbage data. Check for the precise
> length of the CBI data structure and reject otherwise.
>
> Fixes: f345978f24be ("hw/s390x: add Control-Program Identification to QOM")
> Cc: [email protected]
> Signed-off-by: Christian Borntraeger <[email protected]>
> Reviewed-by: Matthew Rosato <[email protected]>
> Reviewed-by: Janosch Frank <[email protected]>
> ---
> hw/s390x/sclpcpi.c | 5 +++++
> 1 file changed, 5 insertions(+)
Reviewed-by: Eric Farman <[email protected]>