CVE-2024-50051

spi: mpc52xx: Add cancel_work_sync before module remove

HIGH
7.8
CVSS Score
Published: January 11, 2025 at 12:25 PM UTC
Updated: June 17, 2026 at 08:03 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.1 ≤ v < 5.10.2313.1 ≤ v < 5.15.1743.1 ≤ v < 5.4.2873.1 ≤ v < 6.1.1203.1 ≤ v < 6.12.53.1 ≤ v < 6.133.1 ≤ v < 6.6.665.11 ≤ v < 5.15.1745.16 ≤ v < 6.1.1205.5 ≤ v < 5.10.2316.2 ≤ v < 6.6.666.7 ≤ v < 6.12.56.13 rc1ca632f556697d45d67ed5cada7cedf3ddfe0db4b
Vendor states this is fixed in 373d55a47dc662e5e30d12ad5d334312f757c1f1 (fixed)
Vendor states this is fixed in 90b72189de2cddacb26250579da0510b29a8b82b (fixed)
Vendor states this is fixed in 984836621aad98802d92c4a3047114cf518074c8 (fixed)
Vendor states this is fixed in cd5106c77d6d6828aa82449f01f4eb436d602a21 (fixed)
Vendor states this is fixed in d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1 (fixed)
Vendor states this is fixed in e0c6ce8424095c2da32a063d3fc027494c689817 (fixed)
Vendor states this is fixed in f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59 (fixed)
Vendor states this is fixed in 3.1 (unaffected)
Vendor states this is fixed in 5.10.231 (unaffected)
Vendor states this is fixed in 5.15.174 (unaffected)
Vendor states this is fixed in 5.4.287 (unaffected)
Vendor states this is fixed in 6.1.120 (unaffected)
Vendor states this is fixed in 6.12.5 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.6.66 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/373d55a47dc662e5e30d12ad5d334312f757c1f1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/90b72189de2cddacb26250579da0510b29a8b82b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/984836621aad98802d92c4a3047114cf518074c8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cd5106c77d6d6828aa82449f01f4eb436d602a21
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e0c6ce8424095c2da32a063d3fc027494c689817
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card