### [CVE-2024-50051](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-50051) ![](https://img.shields.io/static/v1?label=Product&message=Linux&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=3.1%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=ca632f556697d45d67ed5cada7cedf3ddfe0db4b%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=blue) ### Description In the Linux kernel, the following vulnerability has been resolved:spi: mpc52xx: Add cancel_work_sync before module removeIf we remove the module which will call mpc52xx_spi_removeit will free 'ms' through spi_unregister_controller.while the work ms->work will be used. The sequence of operationsthat may lead to a UAF bug.Fix it by ensuring that the work is canceled before proceeding withthe cleanup in mpc52xx_spi_remove. ### POC #### Reference No PoCs from references. #### Github - https://github.com/w4zu/Debian_security