CVE-2024-50051: Linux kernel · spi: mpc52xx: Add cancel_work_sync before module remove
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 00:58 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 11 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix is available that adds cancel_work_sync before module removal in the mpc52xx_spi_remove function to prevent use-after-free. Users should apply the official kernel update that includes this patch once released. No other mitigations are indicated.
Description
CVE-2024-50051 is a use-after-free vulnerability in the Linux kernel's spi mpc52xx driver. The flaw occurs during module removal when a work item is used after its associated memory has been freed. This can lead to high impact including confidentiality, integrity, and availability loss. The issue is fixed by canceling the work synchronously before cleanup in the module removal function.
References
- nvd.nist.gov/vuln/detail/CVE-2024-50051 (opens in a new tab)
- git.kernel.org/stable/c/373d55a47dc662e5e30d12ad5d334312f757c1f1 (opens in a new tab)
- git.kernel.org/stable/c/90b72189de2cddacb26250579da0510b29a8b82b (opens in a new tab)
- git.kernel.org/stable/c/984836621aad98802d92c4a3047114cf518074c8 (opens in a new tab)
- git.kernel.org/stable/c/cd5106c77d6d6828aa82449f01f4eb436d602a21 (opens in a new tab)
- git.kernel.org/stable/c/d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1 (opens in a new tab)
- git.kernel.org/stable/c/e0c6ce8424095c2da32a063d3fc027494c689817 (opens in a new tab)
- git.kernel.org/stable/c/f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)