CVE-2024-47658
Description
From CVE.org
In the Linux kernel, the following vulnerability has been resolved: crypto: stm32/cryp - call finalize with bh disabled The finalize operation in interrupt mode produce a produces a spinlock recursion warning. The reason is the fact that BH must be disabled during this process.
Statement
A LOW impact flaw was found in the Linux kernel STM32 CRYP cryptographic driver. When the driver's finalize operation runs in interrupt mode, bottom halves (BH) are not disabled, which triggers a spinlock recursion warning. This is a local availability issue only; confidentiality and integrity are not affected (Red Hat CVSS 5.5, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H). The CVE.org record scores this issue higher (7.5 with a network attack vector); Red Hat's assessment differs because the flaw resides in the hardware-specific STM32 CRYP driver (drivers/crypto/stm32/stm32-cryp.c), where the affected code path is reached through local use of the STM32 cryptographic hardware and the consequence is a kernel locking warning rather than remote compromise. Within Red Hat's product portfolio, only Fedora (community kernel) is affected, and a fix is being pursued through the community kernel (DELEGATED resolution). All Red Hat Enterprise Linux 6 through 9 kernel and kernel-rt streams, as well as the Hosted OpenShift Clusters offerings (ARO and OSD), have been assessed as not affected.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. For the affected Fedora community kernel, updating to the latest kernel packages released by the Fedora community, which include the upstream fix, addresses this issue.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.5 | 5.5 | 7.5 |
| Attack Vector | Local | Local | Network |
| Attack Complexity | Low | Low | Low |
| Privileges Required | Low | Low | None |
| User Interaction | None | None | None |
| Scope | Unchanged | Unchanged | Unchanged |
| Confidentiality | None | None | None |
| Integrity Impact | None | None | None |
| Availability Impact | High | High | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Availability,Integrity
Technical Impact: DoS: Crash, Exit, or Restart; Modify Memory; Unexpected State
When the product is operating in a concurrent environment and repeatedly unlocks a critical resource, the consequences will vary based on the type of lock, the lock's implementation, and the resource being protected. In some situations such as with semaphores, the resources are pooled and extra calls to unlock will increase the count for the number of available resources, likely resulting in a crash or unpredictable behavior when the system nears capacity.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.