Vulnerabilities · 2024 · Linux
CVE-2024-50051
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: spi: mpc52xx: Add cancel_work_sync before module remove If we remove the module which will call mpc52xx_spi_remove it will free 'ms' through spi_unregister_controller. while the work ms->work will be used. The sequence of operations that may lead to a UAF bug. Fix it by ensuring that the work is canceled before proceeding with the cleanup in mpc52xx_spi_remove.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/373d55a47dc662e5e30d12ad5d334312f757c1f1 · Patch
- git.kernel.org/stable/c/90b72189de2cddacb26250579da0510b29a8b82b · Patch
- git.kernel.org/stable/c/984836621aad98802d92c4a3047114cf518074c8 · Patch
- git.kernel.org/stable/c/cd5106c77d6d6828aa82449f01f4eb436d602a21 · Patch
- git.kernel.org/stable/c/d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1 · Patch
- git.kernel.org/stable/c/e0c6ce8424095c2da32a063d3fc027494c689817 · Patch
- git.kernel.org/stable/c/f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59 · Patch
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- nvd.nist.gov/vuln/detail/CVE-2024-50051
- cve.org/CVERecord?id=CVE-2024-50051
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.