CVE-2024-50051
Last modified
CVE-2024-50051 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| 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 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-50051?
How severe is CVE-2024-50051?
How do I fix CVE-2024-50051?
Are you affected by CVE-2024-50051?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
