CVE-2024-50051

Source
https://cve.org/CVERecord?id=CVE-2024-50051
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50051.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50051
Downstream
Related
Published
2025-01-11T12:25:20.277Z
Modified
2026-05-13T03:52:43.076872137Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
spi: mpc52xx: Add cancel_work_sync before module remove
Details

In the Linux kernel, the following vulnerability has been resolved:

spi: mpc52xx: Add cancelworksync before module remove

If we remove the module which will call mpc52xxspiremove it will free 'ms' through spiunregistercontroller. 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 mpc52xxspiremove.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50051.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ca632f556697d45d67ed5cada7cedf3ddfe0db4b
Fixed
d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1
Fixed
e0c6ce8424095c2da32a063d3fc027494c689817
Fixed
cd5106c77d6d6828aa82449f01f4eb436d602a21
Fixed
373d55a47dc662e5e30d12ad5d334312f757c1f1
Fixed
f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59
Fixed
90b72189de2cddacb26250579da0510b29a8b82b
Fixed
984836621aad98802d92c4a3047114cf518074c8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50051.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.1.0
Fixed
5.4.287
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.231
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.174
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.120
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.66
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50051.json"