CVE-2024-47658
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-47658 affects the Linux kernel's crypto subsystem, specifically the STM32/CRYP driver. The vulnerability was discovered and disclosed on October 9, 2024, and involves a spinlock recursion warning that occurs during the finalize operation in interrupt mode. This issue affects Linux kernel versions up to (excluding) 6.6.50 and versions from (including) 6.7 up to (excluding) 6.10.9 (NVD).

Technical details

The vulnerability stems from a synchronization issue in the STM32/CRYP driver where the finalize operation in interrupt mode produces a spinlock recursion warning. The root cause is identified as the bottom-half (BH) handler not being disabled during the finalization process. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a denial of service condition due to the spinlock recursion warning in the kernel's crypto subsystem. This primarily affects systems utilizing the STM32/CRYP hardware crypto device driver (NVD).

Mitigation and workarounds

The issue has been patched in the Linux kernel. The fix involves adding localbhdisable() and localbhenable() calls around the stm32crypfinish_req() function in the interrupt handler. Fixed versions are available in Linux kernel 6.6.50 and 6.10.9. Users are advised to upgrade to these or later versions (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-gcp-5.15
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-64k-debug-core
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-debug-kvm
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-fde-6.14
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management