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.
Metrics
Affected Vendors & Products
References
History
Tue, 14 Jan 2025 08:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
cvssV3_1
|
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 |
|
|
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
Vulnrichment
No data.
NVD
Status : Received
Published: 2025-01-11T13:15:24.427
Modified: 2025-01-11T13:15:24.427
Link: CVE-2024-50051
Redhat