CVE-2024-47664:CVE-2024-47664 is a vulnerability in the Linux kernel's spi-hisi-kunpeng driver that could lead to a division by zero error due to lack of verification for the max_frequency provided by the firmware.

splash
Back

Description Preview

In the Linux kernel, specifically in the spi-hisi-kunpeng driver, a vulnerability has been identified where the max_speed_hz value provided by the firmware is not properly validated. If the value of max_speed_hz is set to 0, it can trigger a division by zero error in the hisi_calc_effective_speed() function. This vulnerability could potentially lead to system failure. To mitigate this issue, proper validation for the max_frequency value provided by the firmware has been added to prevent the occurrence of division by zero errors.

Overview

The vulnerability affects the Linux kernel's spi-hisi-kunpeng driver, potentially leading to a division by zero error if the max_speed_hz value is set to 0. The issue arises due to lack of verification for the max_frequency provided by the firmware.

Remediation

To remediate this vulnerability, users are advised to update their Linux kernel to versions that include the fix for the spi-hisi-kunpeng driver. The affected versions are:

  • c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c (less than 16ccaf581da4fcf1e4d66086cf37263f9a656d43)
  • c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c (less than ee73a15d4a8ce8fb02d7866f7cf78fcdd16f0fcc)
  • c770d8631e1810d8f1ce21b18ad5dd67eeb39e5c (less than 5127c42c77de18651aa9e8e0a3ced190103b449c) Additionally, users should ensure that the max_speed_hz value provided by the firmware is properly validated to prevent division by zero errors.

References

  1. Git commit for fixing the vulnerability: https://git.kernel.org/stable/c/16ccaf581da4fcf1e4d66086cf37263f9a656d43
  2. Git commit for fixing the vulnerability: https://git.kernel.org/stable/c/ee73a15d4a8ce8fb02d7866f7cf78fcdd16f0fcc
  3. Git commit for fixing the vulnerability: https://git.kernel.org/stable/c/5127c42c77de18651aa9e8e0a3ced190103b449c

Industry ExposureMost to least
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.

  1. Manufacturing
    Manufacturing
  2. Health Care & Social Assistance
    Health Care & Social Assistance
  3. Professional, Scientific, & Technical Services
    Professional, Scientific, & Technical Services
  4. Public Administration
    Public Administration
  5. Finance and Insurance
    Finance and Insurance
  6. Management of Companies & Enterprises
    Management of Companies & Enterprises
  7. Educational Services
    Educational Services
  8. Information
    Information
  9. Arts, Entertainment & Recreation
    Arts, Entertainment & Recreation
  10. Other Services (except Public Administration)
    Other Services (except Public Administration)
  11. Retail Trade
    Retail Trade
  12. Transportation & Warehousing
    Transportation & Warehousing
  13. Agriculture, Forestry Fishing & Hunting
    Agriculture, Forestry Fishing & Hunting
  14. Mining
    Mining
  15. Real Estate Rental & Leasing
    Real Estate Rental & Leasing
  16. Utilities
    Utilities
  17. Accommodation & Food Services
    Accommodation & Food Services
  18. Administrative, Support, Waste Management & Remediation Services
    Administrative, Support, Waste Management & Remediation Services
  19. Construction
    Construction
  20. Wholesale Trade
    Wholesale Trade

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background
Armis Vulnerability Intelligence Database