WSL2-Linux-Kernel/drivers/s390
Peter Oberparleiter a88a49473c s390/sclp: Prevent release of buffer in I/O
[ Upstream commit bf365071ea92b9579d5a272679b74052a5643e35 ]

When a task waiting for completion of a Store Data operation is
interrupted, an attempt is made to halt this operation. If this attempt
fails due to a hardware or firmware problem, there is a chance that the
SCLP facility might store data into buffers referenced by the original
operation at a later time.

Handle this situation by not releasing the referenced data buffers if
the halt attempt fails. For current use cases, this might result in a
leak of few pages of memory in case of a rare hardware/firmware
malfunction.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-19 05:45:39 +02:00
..
block s390/dasd: fix double module refcount decrement 2024-03-26 18:21:14 -04:00
char s390/sclp: Prevent release of buffer in I/O 2024-08-19 05:45:39 +02:00
cio s390/cio: fix tracepoint subchannel type field 2024-06-16 13:39:17 +02:00
crypto s390/pkey: Wipe sensitive data on failure 2024-07-18 13:07:30 +02:00
net s390/qeth: Fix kernel panic after setting hsuid 2024-05-17 11:50:51 +02:00
scsi scsi: zfcp: Fix a double put in zfcp_port_enqueue() 2023-10-10 21:59:05 +02:00
virtio virtio/s390: get rid of open-coded kvm hypercall 2021-06-28 11:18:28 +02:00
Makefile