Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-50051

HIGH 7.8EPSS 18%

spi: mpc52xx: Add cancel_work_sync before module remove

Mitigation

  • Upgrade Linux to 984836621aad98802d92c4a3047114cf518074c8 or later.

Who should check

  • Anyone running Linux >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < e0c6ce8424095c2da32a063d3fc027494c689817; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < cd5106c77d6d6828aa82449f01f4eb436d602a21; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 373d55a47dc662e5e30d12ad5d334312f757c1f1; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 90b72189de2cddacb26250579da0510b29a8b82b; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 984836621aad98802d92c4a3047114cf518074c8
  • Anyone running Linux 3.1

Vulnerability facts

Affected
Linux >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < e0c6ce8424095c2da32a063d3fc027494c689817; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < cd5106c77d6d6828aa82449f01f4eb436d602a21; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 373d55a47dc662e5e30d12ad5d334312f757c1f1; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 90b72189de2cddacb26250579da0510b29a8b82b; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 984836621aad98802d92c4a3047114cf518074c8; Linux 3.1
Fixed in
Linux 373d55a47dc662e5e30d12ad5d334312f757c1f1, Linux 90b72189de2cddacb26250579da0510b29a8b82b, Linux 984836621aad98802d92c4a3047114cf518074c8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
CWE
CWE-416
Published
Modified

Description

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 and fixed versions

Package / productAffectedFixedSource
Linux>= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < e0c6ce8424095c2da32a063d3fc027494c689817; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < cd5106c77d6d6828aa82449f01f4eb436d602a21; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 373d55a47dc662e5e30d12ad5d334312f757c1f1; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 90b72189de2cddacb26250579da0510b29a8b82b; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 984836621aad98802d92c4a3047114cf518074c8—cvelist
Linux3.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-50051. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50051.md
Affected: Linux >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < e0c6ce8424095c2da32a063d3fc027494c689817; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < cd5106c77d6d6828aa82449f01f4eb436d602a21; >= ca632f556697d45d67ed5ca…
Fixed in: Linux 373d55a47dc662e5e30d12ad5d334312f757c1f1, Linux 90b72189de2cddacb26250579da0510b29a8b82b, Linux 984836621aad98802d92c4a3047114cf518074c8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-50051 being exploited?

There is no confirmed exploitation: CVE-2024-50051 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-50051?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-50051?

Linux >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < e0c6ce8424095c2da32a063d3fc027494c689817; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < cd5106c77d6d6828aa82449f01f4eb436d602a21; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 373d55a47dc662e5e30d12ad5d334312f757c1f1; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 90b72189de2cddacb26250579da0510b29a8b82b; >= ca632f556697d45d67ed5cada7cedf3ddfe0db4b, < 984836621aad98802d92c4a3047114cf518074c8; Linux 3.1.

Is there a fix for CVE-2024-50051?

Yes. Fixed in Linux 373d55a47dc662e5e30d12ad5d334312f757c1f1, Linux 90b72189de2cddacb26250579da0510b29a8b82b, Linux 984836621aad98802d92c4a3047114cf518074c8. Upgrade Linux to 984836621aad98802d92c4a3047114cf518074c8 or later.

How do I check if I'm affected by CVE-2024-50051?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors