{"id":"CVE-2024-50051","published":"2025-01-11T12:25:20Z","modified":"2026-05-11T20:44:31Z","title":"spi: mpc52xx: Add cancel_work_sync before module remove","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: mpc52xx: Add cancel_work_sync before module remove\n\nIf we remove the module which will call mpc52xx_spi_remove\nit will free 'ms' through spi_unregister_controller.\nwhile the work ms->work will be used. The sequence of operations\nthat may lead to a UAF bug.\n\nFix it by ensuring that the work is canceled before proceeding with\nthe cleanup in mpc52xx_spi_remove.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00322,"percentile":0.17628,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1","tags":[]},{"url":"https://git.kernel.org/stable/c/e0c6ce8424095c2da32a063d3fc027494c689817","tags":[]},{"url":"https://git.kernel.org/stable/c/cd5106c77d6d6828aa82449f01f4eb436d602a21","tags":[]},{"url":"https://git.kernel.org/stable/c/373d55a47dc662e5e30d12ad5d334312f757c1f1","tags":[]},{"url":"https://git.kernel.org/stable/c/f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59","tags":[]},{"url":"https://git.kernel.org/stable/c/90b72189de2cddacb26250579da0510b29a8b82b","tags":[]},{"url":"https://git.kernel.org/stable/c/984836621aad98802d92c4a3047114cf518074c8","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":3.53},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1",">= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < e0c6ce8424095c2da32a063d3fc027494c689817",">= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < cd5106c77d6d6828aa82449f01f4eb436d602a21",">= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 373d55a47dc662e5e30d12ad5d334312f757c1f1",">= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59",">= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 90b72189de2cddacb26250579da0510b29a8b82b",">= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 984836621aad98802d92c4a3047114cf518074c8"]},{"vendor":"Linux","product":"Linux","versions":["3.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-10T17:12:07.926078Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-44765","exploited":false,"provenance":"source"}}