[PATCH v3 0/2] s390/uv: Various fixes for UV secrets

Steffen Eiden posted 2 patches 1 month, 2 weeks ago
arch/s390/kernel/uv.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
[PATCH v3 0/2] s390/uv: Various fixes for UV secrets
Posted by Steffen Eiden 1 month, 2 weeks ago
To: Christian Borntraeger <borntraeger@linux.ibm.com>
To: Janosch Frank <frankja@linux.ibm.com>
To: Claudio Imbrenda <imbrenda@linux.ibm.com>
Cc: David Hildenbrand <david@kernel.org>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Christoph Schlameuss <schlameuss@linux.ibm.com>
Cc: Harald Freudenberger <freude@linux.ibm.com>
Cc: Steffen Eiden <seiden@linux.ibm.com>
Cc: kvm@vger.kernel.org
Cc: linux-s390@vger.kernel.org
Cc: linux-kernel@vger.kernel.org

Fix some issues in the retrieve secret infrastructure. First, fix the
issue that the loop in uv_find_secret cannot ran more that one round.
Second, fix a potential out of bounds issue in find_secret_in_page.

---
Changes in v3:
- Add R-b from Christoph for patch 1
- Improved commit message in patch 1
- Link to v2: https://lore.kernel.org/r/20260811-uv_secrets_fix-v2-0-64444968ec55@linux.ibm.com
Changes in v2:
- Add Ack from Claudio
- Add patch that fixes a potential out-of-bounds access in find_secret_in_page
- Link to v1: https://lore.kernel.org/r/20260811-uv_secrets_fix-v1-1-940a421a9292@linux.ibm.com

---
Steffen Eiden (2):
      s390/uv: Fix loop condition in uv_find_secrets
      s390/uv: Prevent potential out-of-bounds read

 arch/s390/kernel/uv.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
base-commit: d58772d8520c7ef247c4b95c9bd76d3a25da9ff5
change-id: 20260811-uv_secrets_fix-58a63b4a4ec4

Best regards,
-- 
Steffen Eiden <seiden@linux.ibm.com>
Re: [PATCH v3 0/2] s390/uv: Various fixes for UV secrets
Posted by Christian Borntraeger 1 month, 1 week ago
Am 12.08.26 um 17:55 schrieb Steffen Eiden:
> To: Christian Borntraeger <borntraeger@linux.ibm.com>
> To: Janosch Frank <frankja@linux.ibm.com>
> To: Claudio Imbrenda <imbrenda@linux.ibm.com>
> Cc: David Hildenbrand <david@kernel.org>
> Cc: Heiko Carstens <hca@linux.ibm.com>
> Cc: Vasily Gorbik <gor@linux.ibm.com>
> Cc: Alexander Gordeev <agordeev@linux.ibm.com>
> Cc: Sven Schnelle <svens@linux.ibm.com>
> Cc: Christoph Schlameuss <schlameuss@linux.ibm.com>
> Cc: Harald Freudenberger <freude@linux.ibm.com>
> Cc: Steffen Eiden <seiden@linux.ibm.com>
> Cc: kvm@vger.kernel.org
> Cc: linux-s390@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> 
> Fix some issues in the retrieve secret infrastructure. First, fix the
> issue that the loop in uv_find_secret cannot ran more that one round.
> Second, fix a potential out of bounds issue in find_secret_in_page.
> 
> ---
> Changes in v3:
> - Add R-b from Christoph for patch 1
> - Improved commit message in patch 1
> - Link to v2: https://lore.kernel.org/r/20260811-uv_secrets_fix-v2-0-64444968ec55@linux.ibm.com
> Changes in v2:
> - Add Ack from Claudio
> - Add patch that fixes a potential out-of-bounds access in find_secret_in_page
> - Link to v1: https://lore.kernel.org/r/20260811-uv_secrets_fix-v1-1-940a421a9292@linux.ibm.com
> 
> ---
> Steffen Eiden (2):
>        s390/uv: Fix loop condition in uv_find_secrets
>        s390/uv: Prevent potential out-of-bounds read
> 
>   arch/s390/kernel/uv.c | 8 +++++---
>   1 file changed, 5 insertions(+), 3 deletions(-)
> ---
> base-commit: d58772d8520c7ef247c4b95c9bd76d3a25da9ff5
> change-id: 20260811-uv_secrets_fix-58a63b4a4ec4
> 
> Best regards,


Thanks applied.