7.8high
mmc: core: Avoid negative index with array access
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.25% (higher than 17% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: mmc: core: Avoid negative index with array access Commit 4d0c8d0aef63 ("mmc: core: Use mrq.sbc in close-ended ffu") assigns prev_idata = idatas[i - 1], but doesn't check that the iterator i is greater than zero. Let's fix this by adding a check.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from f49f9e802785291149bdc9c824414de4604226b4 before b9a7339ae403035ffe7fc37cb034b36947910f68, from 59020bf0999ff7da8aedcd00ef8f0d75d93b6d20 before 2b539c88940e22494da80a93ee1c5a28bbad10f6, from 50b8b7a22e90bab9f1949b64a88ff17ab10913ec before 81b8645feca08a54c7c4bf36e7b176f4983b2f28, from c4edcd134bb72b3b0acc884612d624e48c9d057f before ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55, from 1653a8102868264f3488c298a9f20af2add9a288 before 4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2, from eed9119f8f8e8fbf225c08abdbb58597fba807e0 before 064db53f9023a2d5877a2d12de6bc27995f6ca56, from 4d0c8d0aef6355660b6775d57ccd5d4ea2e15802 before 7d0e8a6147550aa058fa6ade8583ad252aa61304, from 4d0c8d0aef6355660b6775d57ccd5d4ea2e15802 before cf55a7acd1ed38afe43bba1c8a0935b51d1dc014 and 7 more Not affected: before 6.8, from 5.4.274 up to 5.4.*, from 5.10.215 up to 5.10.*, from 5.15.154 up to 5.15.*, from 6.1.84 up to 6.1.*, from 6.6.24 up to 6.6.* | CVE List |
| linux linux_kernel | from 5.4.269 before 5.4.274, from 5.10.210 before 5.10.215, from 5.15.149 before 5.15.154, from 6.1.76 before 6.1.84, from 6.6.15 before 6.6.24, from 6.7.3 before 6.7.12, from 6.8 before 6.8.3, 6.9 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: mmc: core: Avoid negative index with array access Commit 4d0c8d0aef63 ("mmc: core: Use mrq.sbc in close-ended ffu") assigns prev_idata = idatas[i - 1], but doesn't check that the iterator i is greater than zero. Let's fix this by adding a check.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mmc: core: evitar índice negativo con acceso a matriz Commit 4d0c8d0aef63 ("mmc: core: usar mrq.sbc en ffu cerrado") asigna prev_idata = idatas[i - 1] , pero no comprueba que el iterador i sea mayor que cero. Arreglemos esto agregando una comprobación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-35813 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-35813 changed 2026-10-15 | Public domain |