Skip to content

s390/uv: Various fixes for UV secrets

Steffen Eiden kvm linux-s390 lkml 3 versions – Applied

Status from this message: Thanks applied.

Get series with b4
b4 am [email protected] change-id 20260811-uv_secrets_fix-58a63b4a4ec4

Versions newest first

  1. v3 Latest2 patches 2 repliesApplied
  2. v22 patches 1 replySuperseded
  3. v11 patch 2 repliesSuperseded

Changes in v3 from the cover letter

- Add R-b from Christoph for patch 1
- Improved commit message in patch 1
- Link to v2: https://lore.kernel.org/r/[email protected]

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2s390/uv: Fix loop condition in uv_find_secretsarch/s390/kernel/uv.c+4 -20 replies
2/2s390/uv: Prevent potential out-of-bounds readarch/s390/kernel/uv.c+1 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchClaudio ImbrendaChristoph Schlameuss
1/2A-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

To: Christian Borntraeger <[email protected]>
To: Janosch Frank <[email protected]>
To: Claudio Imbrenda <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Cc: Alexander Gordeev <[email protected]>
Cc: Sven Schnelle <[email protected]>
Cc: Christoph Schlameuss <[email protected]>
Cc: Harald Freudenberger <[email protected]>
Cc: Steffen Eiden <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

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/[email protected]
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/[email protected]

---
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,

Signature · 1 line
Steffen Eiden <[email protected]>