CVEvulnerability

CVE-2024-50051

7.8 HIGH Published 2025-01-11 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2025-01-11
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-416

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 configurations

• linux linux kernel (>= 3.1 < 5.4.287) • linux linux kernel (>= 5.5 < 5.10.231) • linux linux kernel (>= 5.11 < 5.15.174) • linux linux kernel (>= 5.16 < 6.1.120) • linux linux kernel (>= 6.2 < 6.6.66) • linux linux kernel (>= 6.7 < 6.12.5) • linux linux kernel 6.13

Related

Weakness · CWE (1)

References