linux/drivers/s390
Peter Oberparleiter 1ec5ea9e25 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>
2024-08-19 05:33:48 +02:00
..
block s390/scm: fix virtual vs physical address confusion 2024-01-25 14:34:20 -08:00
char s390/sclp: Prevent release of buffer in I/O 2024-08-19 05:33:48 +02:00
cio s390/cio: fix tracepoint subchannel type field 2024-06-16 13:28:32 +02:00
crypto s390/pkey: Wipe sensitive data on failure 2024-07-18 11:40:49 +02:00
net s390/qeth: Fix potential loss of L3-IP@ in case of network issues 2024-03-01 13:13:34 +01:00
scsi scsi: zfcp: Fix a double put in zfcp_port_enqueue() 2023-10-10 21:46:42 +02:00
virtio virtio/s390: implement virtio-ccw revision 2 correctly 2021-03-04 10:26:50 +01:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00