This is a note to let you know that I've just added the patch titled Revert "crypto: api - Disallow identical driver names" to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: revert-crypto-api-disallow-identical-driver-names.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 57a7da4939faedd888f41e9c380ff236d7c93e13 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Date: Mon, 29 Apr 2024 12:53:46 +0200 Subject: Revert "crypto: api - Disallow identical driver names" From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> This reverts commit 462c383e732fa99c60aff711c43ec9d6eb27921e which is commit 27016f75f5ed47e2d8e0ca75a8ff1f40bc1a5e27 upstream. It is reported to cause problems in older kernels due to some crypto drivers having the same name, so revert it here to fix the problems. Link: https://lore.kernel.org/r/aceda6e2-cefb-4146-aef8-ff4bafa56e56@xxxxxxxxxxxx Reported-by: Guenter Roeck <linux@xxxxxxxxxxxx> Cc: Ovidiu Panait <ovidiu.panait@xxxxxxxxxxxxx> Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- crypto/algapi.c | 1 - 1 file changed, 1 deletion(-) --- a/crypto/algapi.c +++ b/crypto/algapi.c @@ -258,7 +258,6 @@ static struct crypto_larval *__crypto_re } if (!strcmp(q->cra_driver_name, alg->cra_name) || - !strcmp(q->cra_driver_name, alg->cra_driver_name) || !strcmp(q->cra_name, alg->cra_driver_name)) goto err; } Patches currently in stable-queue which might be from gregkh@xxxxxxxxxxxxxxxxxxx are queue-5.10/speakup-avoid-crash-on-very-long-word.patch queue-5.10/usb-serial-option-add-telit-fn920c04-rmnet-compositions.patch queue-5.10/selftests-timers-fix-abs-warning-in-posix_timers-test.patch queue-5.10/serial-mxs-auart-add-spinlock-around-changing-cts-st.patch queue-5.10/drm-amdgpu-validate-the-parameters-of-bo-mapping-operations-more-clearly.patch queue-5.10/mei-me-disable-rpl-s-on-sps-and-ign-firmwares.patch queue-5.10/fs-sysfs-fix-reference-leak-in-sysfs_break_active_protection.patch queue-5.10/x86-cpu-actually-turn-off-mitigations-by-default-for-speculation_mitigations-n.patch queue-5.10/usb-disable-usb3-lpm-at-shutdown.patch queue-5.10/binder-check-offset-alignment-in-binder_get_object.patch queue-5.10/usb-serial-option-add-rolling-rw101-gl-and-rw135-gl-support.patch queue-5.10/init-main.c-fix-potential-static_command_line-memory-overflow.patch queue-5.10/drm-client-fully-protect-modes-with-dev-mode_config.mutex.patch queue-5.10/usb-serial-option-add-lonsung-u8300-u9300-product.patch queue-5.10/media-cec-core-remove-length-check-of-timer-status.patch queue-5.10/comedi-vmk80xx-fix-incomplete-endpoint-checking.patch queue-5.10/usb-serial-option-add-fibocom-fm135-gl-variants.patch queue-5.10/x86-apic-force-native_apic_mem_read-to-use-the-mov-instruction.patch queue-5.10/nouveau-fix-instmem-race-condition-around-ptr-stores.patch queue-5.10/thunderbolt-fix-wake-configurations-after-device-unplug.patch queue-5.10/kprobes-fix-possible-use-after-free-issue-on-kprobe-registration.patch queue-5.10/revert-usb-cdc-wdm-close-race-between-read-and-workqueue.patch queue-5.10/usb-dwc2-host-fix-dereference-issue-in-ddma-completion-flow.patch queue-5.10/batman-adv-avoid-infinite-loop-trying-to-resize-local-tt.patch queue-5.10/serial-core-provide-port-lock-wrappers.patch queue-5.10/nilfs2-fix-oob-in-nilfs_set_de_type.patch queue-5.10/usb-serial-option-add-support-for-fibocom-fm650-fg650.patch queue-5.10/selftests-ftrace-limit-length-in-subsystem-enable-tests.patch queue-5.10/usb-serial-option-support-quectel-em060k-sub-models.patch queue-5.10/vhost-add-smp_rmb-in-vhost_vq_avail_empty.patch queue-5.10/bluetooth-fix-memory-leak-in-hci_req_sync_complete.patch queue-5.10/mailbox-imx-fix-suspend-failue.patch queue-5.10/thunderbolt-avoid-notify-pm-core-about-runtime-pm-resume.patch queue-5.10/serial-pmac_zilog-remove-flawed-mitigation-for-rx-irq-flood.patch queue-5.10/revert-tracing-trigger-fix-to-return-error-if-failed-to-alloc-snapshot.patch queue-5.10/btrfs-qgroup-correctly-model-root-qgroup-rsv-in-convert.patch queue-5.10/revert-crypto-api-disallow-identical-driver-names.patch queue-5.10/irqflags-explicitly-ignore-lockdep_hrtimer_exit-argument.patch