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.
History

Tue, 14 Jan 2025 08:45:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Sat, 11 Jan 2025 12:30:00 +0000

Type Values Removed Values Added
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.
Title spi: mpc52xx: Add cancel_work_sync before module remove
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-01-11T12:25:20.277Z

Updated: 2025-01-11T12:25:20.277Z

Reserved: 2025-01-09T09:50:31.785Z

Link: CVE-2024-50051

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-01-11T13:15:24.427

Modified: 2025-01-11T13:15:24.427

Link: CVE-2024-50051

cve-icon Redhat

Severity : Low

Publid Date: 2025-01-11T00:00:00Z

Links: CVE-2024-50051 - Bugzilla