CVE-2024-38662:CVE-2024-38662 is a vulnerability in the Linux kernel related to BPF programs attached to tracepoints triggering a locking rule violation by performing a map_delete on a sockmap/sockhash.

splash
Back

Description Preview

In the Linux kernel, a vulnerability has been identified where BPF programs attached to tracepoints can trigger a locking rule violation by attempting to delete from a sockmap/sockhash. This vulnerability arises from an artificial use scenario not intended to be supported. The issue has been addressed by extending the existing verifier allowed-program-type check for updating sockmap/sockhash to also cover deleting from a map. Moving forward, only BPF programs previously allowed to update sockmap/sockhash can delete from these map types.

Overview

The vulnerability allows BPF programs attached to tracepoints to trigger a locking rule violation by performing a map_delete operation on a sockmap/sockhash in the Linux kernel.

Remediation

To remediate this vulnerability, users are advised to update their Linux kernel to versions that include the fix for this issue. Specifically, ensure that BPF programs are only allowed to delete from sockmap/sockhash if they were previously permitted to update these map types. It is recommended to apply the necessary patches provided by the Linux kernel maintainers.

References

  1. CVE-2024-38662: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-38662
  2. Linux kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
  3. Patch for affected versions:
    • https://git.kernel.org/stable/c/29467edc23818dc5a33042ffb4920b49b090e63d
    • https://git.kernel.org/stable/c/11e8ecc5b86037fec43d07b1c162e233e131b1d9
    • https://git.kernel.org/stable/c/6693b172f008846811f48a099f33effc26068e1e
    • https://git.kernel.org/stable/c/000a65bf1dc04fb2b65e2abf116f0bc0fc2ee7b1
    • https://git.kernel.org/stable/c/b81e1c5a3c70398cf76631ede63a03616ed1ba3c
    • https://git.kernel.org/stable/c/98e948fb60d41447fd8d2d0c3b8637fc6b6dc26d

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. Arts, Entertainment & Recreation
    Arts, Entertainment & Recreation
  8. Educational Services
    Educational Services
  9. Other Services (except Public Administration)
    Other Services (except Public Administration)
  10. Transportation & Warehousing
    Transportation & Warehousing
  11. Retail Trade
    Retail Trade
  12. Information
    Information
  13. Agriculture, Forestry Fishing & Hunting
    Agriculture, Forestry Fishing & Hunting
  14. Construction
    Construction
  15. Real Estate Rental & Leasing
    Real Estate Rental & Leasing
  16. Wholesale Trade
    Wholesale Trade
  17. Accommodation & Food Services
    Accommodation & Food Services
  18. Administrative, Support, Waste Management & Remediation Services
    Administrative, Support, Waste Management & Remediation Services
  19. Mining
    Mining
  20. Utilities
    Utilities

Focus on What Matters

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

Let's talk!

background
Armis Vulnerability Intelligence Database