CVE-2024-50051

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedJan 11, 2025
First seenJan 11, 2025

How to fix

Update
  • linux linux_kernel5.4.287, 5.10.231, 5.15.174, 6.1.120, 6.6.66, 6.12.5 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel3.1 ≤ v < 5.4.287, 5.5 ≤ v < 5.10.231, 5.11 ≤ v < 5.15.174, 5.16 ≤ v < 6.1.120, 6.2 ≤ v < 6.6.66, 6.7 ≤ v < 6.12.5, 6.135.4.287, 5.10.231, 5.15.174, 6.1.120, 6.6.66, 6.12.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.