### [CVE-2009-1238](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1238) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description Race condition in the HFS vfs sysctl interface in XNU 1228.8.20 and earlier on Apple Mac OS X 10.5.6 and earlier allows local users to cause a denial of service (kernel memory corruption) by simultaneously executing the same HFS_SET_PKG_EXTENSIONS code path in multiple threads, which is problematic because of lack of mutex locking for an unspecified global variable. ### POC #### Reference - http://www.digit-labs.org/files/exploits/xnu-vfssysctl-dos.c - http://www.digit-labs.org/files/exploits/xnu-vfssysctl-dos.c - https://www.exploit-db.com/exploits/8265 - https://www.exploit-db.com/exploits/8265 #### Github No PoCs found on GitHub currently.