linux/drivers/s390
Peter Oberparleiter 1e8b7fb427 s390/sclp: Prevent release of buffer in I/O
[ Upstream commit bf365071ea ]

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>
History 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 scsi: zfcp: Fix a double put in zfcp_port_enqueue() 2023-09-27 11:31:20 -04:00
virtio s390/airq: remove lsi_mask from airq_struct 2023-08-30 11:03:28 +02:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00