# CVE-2024-35813: mmc: core: Avoid negative index with array access

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-17 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2024-35813, DEBIAN-CVE-2024-35813
- Record: https://cvemate.com/vulnerability/CVE-2024-35813 · JSON: https://cvemate.com/vulnerability/CVE-2024-35813/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.248%, percentile 17.153%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 115)

- debian linux (Debian): \< 6.1.85-1 \| \< 6.7.12-1
- ubuntu linux (Ubuntu): \< 5.4.0-189.209 \| \< 5.15.0-116.126 \| \< 6.8.0-35.35
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1128.138 \| \< 5.15.0-1065.71 \| \< 6.8.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1065.71~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1128.138~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1128.138+fips1 \| \< 5.15.0-1065.71+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1133.140 \| \< 5.15.0-1068.77 \| \< 6.8.0-1008.8
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1068.77~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 32)

- <https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68>
- <https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6>
- <https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28>
- <https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55>
- <https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2>
- <https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56>
- <https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304>
- <https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://ubuntu.com/security/CVE-2024-35813>
- <https://www.cve.org/CVERecord?id=CVE-2024-35813>
- <https://git.kernel.org/linus/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014>
- <https://ubuntu.com/security/notices/USN-6816-1>
- <https://ubuntu.com/security/notices/USN-6817-1>
- <https://ubuntu.com/security/notices/USN-6817-2>
- <https://ubuntu.com/security/notices/USN-6817-3>
- <https://ubuntu.com/security/notices/USN-6878-1>
- <https://ubuntu.com/security/notices/USN-6896-1>
- <https://ubuntu.com/security/notices/USN-6898-1>

---

Data as of 2026-12-05T04:19:41.477Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
