## https://sploitus.com/exploit?id=6D094EDB-6BF9-5B97-A127-872DC61EB093
This repository contains a proof-of-concept exploit for the vulnerability in the usb-midi Linux kernel driver (CVE-2016-2384). The exploit targets a use-after-free bug in the driver, which can be exploited to gain root privileges. The exploit consists of two parts: a userspace part (poc.py) and a kernel part (poc.c). The userspace part is a Python script that interacts with the kernel part to exploit the vulnerability. The kernel part is a C program that contains the exploit code.
The exploit works by first allocating a block of memory in the kernel and then freeing it. The freed memory is then reused by the kernel, allowing an attacker to inject malicious code into the kernel. The malicious code is executed when the kernel attempts to access the freed memory, resulting in arbitrary code execution.
The exploit requires a Facedancer21 board to be plugged into the system, which emulates a malicious USB device. The userspace part of the exploit interacts with the kernel part to exploit the vulnerability, and the kernel part contains the exploit code that injects the malicious code into the kernel.
The exploit can be used to gain root privileges on a system running the vulnerable kernel driver. The exploit is a proof-of-concept and should not be used for malicious purposes