OpenCloudOS-Kernel/drivers/s390
Peter Oberparleiter 1e8b7fb427 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-14 13:58:47 +02:00
..
block s390/dasd: fix error checks in dasd_copy_pair_store() 2024-08-03 08:54:10 +02:00
char s390/sclp: Prevent release of buffer in I/O 2024-08-14 13:58:47 +02:00
cio s390/cio: fix tracepoint subchannel type field 2024-06-12 11:11:32 +02:00
crypto s390/pkey: Wipe sensitive data on failure 2024-07-11 12:49:09 +02:00
net s390/qeth: Fix kernel panic after setting hsuid 2024-05-17 12:02:06 +02:00
scsi
virtio
Makefile