kernel_samsung_a53x/drivers/s390
Peter Oberparleiter 2dc2b91249 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-11-23 23:20:24 +01:00
..
block s390/scm: fix virtual vs physical address confusion 2024-11-18 12:12:16 +01:00
char s390/sclp: Prevent release of buffer in I/O 2024-11-23 23:20:24 +01:00
cio s390/cio: fix tracepoint subchannel type field 2024-11-19 12:26:52 +01:00
crypto s390/pkey: Wipe sensitive data on failure 2024-11-19 14:19:41 +01:00
net s390/qeth: Fix potential loss of L3-IP@ in case of network issues 2024-11-18 12:13:33 +01:00
scsi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virtio Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00