Description
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.
Metrics
CVSS 3.1 10.0/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| FreeBSD | FreeBSD | >= 14.1-RELEASE, < p4; >= 14.0-RELEASE, < p10; >= 13.3-RELEASE, < p6 |
| freebsd | freebsd | >= 14.1, < 14.1_p4; >= 14.0, < 14.0_p10; >= 13.3, < 13.3_p6 |
References
Timeline
- Published
- Sep 5, 2024
- Last modified
- Nov 4, 2026
- NVD status
- Modified