CVE-2024-43102

Summary

Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of UMTX_OP_SHM can lead to decreasing the reference count of the object representing the mapping too many times, causing it to be freed too early.

A malicious code exercizing the UMTX_SHM_DESTROY sub-request in parallel can panic the kernel or enable further Use-After-Free attacks, potentially including code execution or Capsicum sandbox escape.

Affected Software

VendorProductVersion RangeStatus
FreeBSDFreeBSD14.1-RELEASE < p4affected
FreeBSDFreeBSD14.0-RELEASE < p10affected
FreeBSDFreeBSD13.3-RELEASE < p6affected

Weaknesses

  • CWE-416: CWE-416 Use After Free
  • CWE-911: CWE-911 Improper Update of Reference Count

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

CVE Program Container

Additional References

References