Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH 6.18.y 0/4] libceph: add CEPH_CRYPTO_AES256KRB5 support
@ 2026-11-19  8:57 Jordan DESNOËS via B4 Relay
  2026-11-19  8:57 ` [PATCH 6.18.y 1/4] libceph: generalize ceph_x_encrypt_offset() and ceph_x_encrypt_buflen() Jordan DESNOËS via B4 Relay
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jordan DESNOËS via B4 Relay @ 2026-11-19  8:57 UTC (permalink / raw)
  To: stable
  Cc: Ilya Dryomov, Alex Markuze, Xiubo Li, Viacheslav Dubeyko,
	ceph-devel, Jordan DESNOËS

Backport of the libceph aes256k series from v7.0, as discussed in [1].
Ilya is fine with it going to 6.18.y.

Patches 2 and 4 cherry-pick cleanly. Patches 1 and 3 conflict in
__ceph_x_decrypt() with 821365487aa5 ("libceph: Fix potential
out-of-bounds access in __ceph_x_decrypt()"), which 6.18.y already has;
the resolution gives the same code as mainline.

Tested on 6.18.58 against a Ceph 20.2.4 cluster restricted to aes256k:
rbd and CephFS via ceph-csi, map/unmap, reboot, and 24h of I/O across
ticket renewals. Build-tested on top of 6.18.64.

[1] https://lore.kernel.org/stable/PR1P264MB1805408F7C4A11E6F4D2F6BE887B2@PR1P264MB1805.FRAP264.PROD.OUTLOOK.COM/

Signed-off-by: Jordan DESNOËS <jordan.desnoes@francetv.fr>
---
Ilya Dryomov (4):
      libceph: generalize ceph_x_encrypt_offset() and ceph_x_encrypt_buflen()
      libceph: introduce ceph_crypto_key_prepare()
      libceph: add support for CEPH_CRYPTO_AES256KRB5
      libceph: adapt ceph_x_challenge_blob hashing and msgr1 message signing

 include/linux/ceph/ceph_fs.h |   5 +-
 net/ceph/Kconfig             |   1 +
 net/ceph/auth_x.c            | 195 ++++++++++++++++++++++---------
 net/ceph/auth_x_protocol.h   |  38 ++++++
 net/ceph/crypto.c            | 269 +++++++++++++++++++++++++++++++++++--------
 net/ceph/crypto.h            |  21 +++-
 net/ceph/messenger_v2.c      |  14 +--
 7 files changed, 428 insertions(+), 115 deletions(-)
---
base-commit: fd7cfd39c88596fec816639ad83cbf3e9d316372
change-id: 20261119-aes256k-6-18-y-4bfd567896ec

Best regards,
--  
Jordan DESNOËS <jordan.desnoes@francetv.fr>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-19 16:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19  8:57 [PATCH 6.18.y 0/4] libceph: add CEPH_CRYPTO_AES256KRB5 support Jordan DESNOËS via B4 Relay
2026-11-19  8:57 ` [PATCH 6.18.y 1/4] libceph: generalize ceph_x_encrypt_offset() and ceph_x_encrypt_buflen() Jordan DESNOËS via B4 Relay
2026-11-19  8:57 ` [PATCH 6.18.y 2/4] libceph: introduce ceph_crypto_key_prepare() Jordan DESNOËS via B4 Relay
2026-11-19  8:57 ` [PATCH 6.18.y 3/4] libceph: add support for CEPH_CRYPTO_AES256KRB5 Jordan DESNOËS via B4 Relay
2026-11-19  8:57 ` [PATCH 6.18.y 4/4] libceph: adapt ceph_x_challenge_blob hashing and msgr1 message signing Jordan DESNOËS via B4 Relay
2026-11-19 16:08 ` [PATCH 6.18.y 0/4] libceph: add CEPH_CRYPTO_AES256KRB5 support Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox