{"id":"CVE-2024-45028","aliases":["CVE-2024-45028"],"related":[],"kind":"vulnerability","state":"published","title":"mmc: mmc_test: Fix NULL dereference on allocation failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: mmc_test: Fix NULL dereference on allocation failure\n\nIf the \"test->highmem = alloc_pages()\" allocation fails then calling\n__free_pages(test->highmem) will result in a NULL dereference.  Also\nchange the error code to -ENOMEM instead of returning success.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: mmc_test: Fix NULL dereference on allocation failure\n\nIf the \"test->highmem = alloc_pages()\" allocation fails then calling\n__free_pages(test->highmem) will result in a NULL dereference.  Also\nchange the error code to -ENOMEM instead of returning success.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mmc: mmc_test: Se corrige la desreferencia NULL en caso de error de asignación. Si la asignación \"test-&gt;highmem = alloc_pages()\" falla, al llamar a __free_pages(test-&gt;highmem) se obtendrá una desreferencia NULL. Cambie también el código de error a -ENOMEM en lugar de devolver un resultado positivo.","source":"nvd"}],"published":"2024-09-11T15:13:59.649Z","modified":"2026-06-17T07:53:27.117Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"2661081f5ab9cb25359d27f88707a018cf4e68e9","fixed":"e97be13a9f51284da450dd2a592e3fa87b49cdc9","status":"affected"},{"type":"git","introduced":"2661081f5ab9cb25359d27f88707a018cf4e68e9","fixed":"2b507b03991f44dfb202fc2a82c9874d1b1f0c06","status":"affected"},{"type":"git","introduced":"2661081f5ab9cb25359d27f88707a018cf4e68e9","fixed":"9b9ba386d7bfdbc38445932c90fa9444c0524bea","status":"affected"},{"type":"git","introduced":"2661081f5ab9cb25359d27f88707a018cf4e68e9","fixed":"e40515582141a9e7c84b269be699c05236a499a6","status":"affected"},{"type":"git","introduced":"2661081f5ab9cb25359d27f88707a018cf4e68e9","fixed":"3b4e76ceae5b5a46c968bd952f551ce173809f63","status":"affected"},{"type":"git","introduced":"2661081f5ab9cb25359d27f88707a018cf4e68e9","fixed":"cac2815f49d343b2f0acc4973d2c14918ac3ab0c","status":"affected"},{"type":"git","introduced":"2661081f5ab9cb25359d27f88707a018cf4e68e9","fixed":"ecb15b8ca12c0cbdab81e307e9795214d8b90890","status":"affected"},{"type":"git","introduced":"2661081f5ab9cb25359d27f88707a018cf4e68e9","fixed":"a1e627af32ed60713941cbfc8075d44cad07f6dd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.27","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.27","status":"unaffected"},{"type":"semver","introduced":"4.19.321","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.283","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.225","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.166","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.107","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.48","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.7","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","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":"2.6.27","fixed":"4.19.321"},{"status":"affected","introduced":"4.20","fixed":"5.4.283"},{"status":"affected","introduced":"5.5","fixed":"5.10.225"},{"status":"affected","introduced":"5.11","fixed":"5.15.166"},{"status":"affected","introduced":"5.16","fixed":"6.1.107"},{"status":"affected","introduced":"6.2","fixed":"6.6.48"},{"status":"affected","introduced":"6.7","fixed":"6.10.7"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e97be13a9f51284da450dd2a592e3fa87b49cdc9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b507b03991f44dfb202fc2a82c9874d1b1f0c06","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b9ba386d7bfdbc38445932c90fa9444c0524bea","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e40515582141a9e7c84b269be699c05236a499a6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b4e76ceae5b5a46c968bd952f551ce173809f63","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cac2815f49d343b2f0acc4973d2c14918ac3ab0c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ecb15b8ca12c0cbdab81e307e9795214d8b90890","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1e627af32ed60713941cbfc8075d44cad07f6dd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-29T15:46:08.195Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45028","url":"https://www.cve.org/CVERecord?id=CVE-2024-45028","licence":"CVE Terms of Use","modified":"2026-05-11T20:34:05.437Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45028","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45028","licence":"Public domain","modified":"2026-06-17T07:53:27.117Z"}],"updatedAt":"2026-11-25T22:58:45.315Z","epss":{"score":0.00246,"percentile":0.17002,"date":"2026-12-01T12:00:22.000Z"}}