2084AI Security Observatory

CVE

CVE-2024-50051

CVE-2024-50051HIGH 7.8EPSS 18%

CNA 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 versions

All Linux kernel vulnerabilities →

  • 6.13-rc1This version only
  • ≥ 6.7, < 6.12.5Fixed in 6.12.5
  • ≥ 6.2, < 6.6.66Fixed in 6.6.66
  • ≥ 5.16, < 6.1.120Fixed in 6.1.120
  • ≥ 5.11, < 5.15.174Fixed in 5.15.174
  • ≥ 5.5, < 5.10.231Fixed in 5.10.231
  • ≥ 3.1, < 5.4.287Fixed in 5.4.287

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.