{"id":"CVE-2024-50051","aliases":["CVE-2024-50051"],"related":[],"kind":"vulnerability","state":"published","title":"spi: mpc52xx: Add cancel_work_sync before module remove","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: mpc52xx: Add cancel_work_sync before module remove\n\nIf we remove the module which will call mpc52xx_spi_remove\nit will free 'ms' through spi_unregister_controller.\nwhile the work ms->work will be used. The sequence of operations\nthat may lead to a UAF bug.\n\nFix it by ensuring that the work is canceled before proceeding with\nthe cleanup in mpc52xx_spi_remove.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: mpc52xx: Add cancel_work_sync before module remove\n\nIf we remove the module which will call mpc52xx_spi_remove\nit will free 'ms' through spi_unregister_controller.\nwhile the work ms->work will be used. The sequence of operations\nthat may lead to a UAF bug.\n\nFix it by ensuring that the work is canceled before proceeding with\nthe cleanup in mpc52xx_spi_remove.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: spi: mpc52xx: Agregar cancel_work_sync antes de eliminar el módulo Si eliminamos el módulo que llamará a mpc52xx_spi_remove, liberará 'ms' a través de spi_unregister_controller. mientras que se utilizará el trabajo ms-&gt;work. La secuencia de operaciones que puede provocar un error de UAF. Arréglelo asegurándose de que el trabajo se cancele antes de continuar con la desinfección en mpc52xx_spi_remove.","source":"nvd"}],"published":"2025-01-11T12:25:20.277Z","modified":"2026-06-17T08:03:27.993Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"ca632f556697d45d67ed5cada7cedf3ddfe0db4b","fixed":"d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1","status":"affected"},{"type":"git","introduced":"ca632f556697d45d67ed5cada7cedf3ddfe0db4b","fixed":"e0c6ce8424095c2da32a063d3fc027494c689817","status":"affected"},{"type":"git","introduced":"ca632f556697d45d67ed5cada7cedf3ddfe0db4b","fixed":"cd5106c77d6d6828aa82449f01f4eb436d602a21","status":"affected"},{"type":"git","introduced":"ca632f556697d45d67ed5cada7cedf3ddfe0db4b","fixed":"373d55a47dc662e5e30d12ad5d334312f757c1f1","status":"affected"},{"type":"git","introduced":"ca632f556697d45d67ed5cada7cedf3ddfe0db4b","fixed":"f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59","status":"affected"},{"type":"git","introduced":"ca632f556697d45d67ed5cada7cedf3ddfe0db4b","fixed":"90b72189de2cddacb26250579da0510b29a8b82b","status":"affected"},{"type":"git","introduced":"ca632f556697d45d67ed5cada7cedf3ddfe0db4b","fixed":"984836621aad98802d92c4a3047114cf518074c8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.1","status":"unaffected"},{"type":"semver","introduced":"5.4.287","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.231","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.174","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.120","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.66","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.5","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.1","fixed":"5.4.287"},{"status":"affected","introduced":"5.5","fixed":"5.10.231"},{"status":"affected","introduced":"5.11","fixed":"5.15.174"},{"status":"affected","introduced":"5.16","fixed":"6.1.120"},{"status":"affected","introduced":"6.2","fixed":"6.6.66"},{"status":"affected","introduced":"6.7","fixed":"6.12.5"},{"status":"affected","version":"6.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e0c6ce8424095c2da32a063d3fc027494c689817","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd5106c77d6d6828aa82449f01f4eb436d602a21","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/373d55a47dc662e5e30d12ad5d334312f757c1f1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90b72189de2cddacb26250579da0510b29a8b82b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/984836621aad98802d92c4a3047114cf518074c8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-02-10T17:12:07.926Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50051","url":"https://www.cve.org/CVERecord?id=CVE-2024-50051","licence":"CVE Terms of Use","modified":"2026-05-11T20:44:31.692Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50051","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50051","licence":"Public domain","modified":"2026-06-17T08:03:27.993Z"}],"updatedAt":"2026-11-25T22:58:50.921Z","epss":{"score":0.00258,"percentile":0.18653,"date":"2026-12-01T12:00:22.000Z"}}