CVE-2024-35813
mmc: core: Avoid negative index with array access
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.
INFO
Published Date :
May 17, 2024, 2:15 p.m.
Last Modified :
Dec. 16, 2025, 8:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the affected kernel packages.
- Reboot the system after updating.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-35813.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-35813 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-35813
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-35813 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-35813 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Reanalysis by [email protected]
Dec. 16, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
Initial Analysis by [email protected]
Dec. 15, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.8 up to (excluding) 6.8.3 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.10.210 up to (excluding) 5.10.215 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15.149 up to (excluding) 5.15.154 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4.269 up to (excluding) 5.4.274 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1.76 up to (excluding) 6.1.84 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6.15 up to (excluding) 6.6.24 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7.3 up to (excluding) 6.7.12 Added Reference Type kernel.org: https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56 Types: Patch Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Types: Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56 Added Reference https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6 Added Reference https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2 Added Reference https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304 Added Reference https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28 Added Reference https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55 Added Reference https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68 Added Reference https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014 Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 05, 2024
Action Type Old Value New Value Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 17, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014 [No types assigned]