CVE-2024-35813

mmc: core: Avoid negative index with array access

MEDIUM
5.5
CVSS Score
Published: May 17, 2024 at 01:23 PM UTC
Updated: October 15, 2026 at 01:17 AM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10.210 ≤ v < 5.10.2155.15.149 ≤ v < 5.15.1545.4.269 ≤ v < 5.4.2746.1.76 ≤ v < 6.1.846.6.15 ≤ v < 6.6.246.7.3 ≤ v < 6.7.126.8 ≤ v < 6.8.31653a8102868264f3488c298a9f20af2add9a2884d0c8d0aef6355660b6775d57ccd5d4ea2e158025.10.2105.15.1495.4.26950b8b7a22e90bab9f1949b64a88ff17ab10913ec59020bf0999ff7da8aedcd00ef8f0d75d93b6d206.1.766.6.156.7.36.96.9 rc1c4edcd134bb72b3b0acc884612d624e48c9d057feed9119f8f8e8fbf225c08abdbb58597fba807e0f49f9e802785291149bdc9c824414de4604226b4
Vendor states this is fixed in 064db53f9023a2d5877a2d12de6bc27995f6ca56 (fixed)
Vendor states this is fixed in 2b539c88940e22494da80a93ee1c5a28bbad10f6 (fixed)
Vendor states this is fixed in 4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2 (fixed)
Vendor states this is fixed in 7d0e8a6147550aa058fa6ade8583ad252aa61304 (fixed)
Vendor states this is fixed in 81b8645feca08a54c7c4bf36e7b176f4983b2f28 (fixed)
Vendor states this is fixed in ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55 (fixed)
Vendor states this is fixed in b9a7339ae403035ffe7fc37cb034b36947910f68 (fixed)
Vendor states this is fixed in cf55a7acd1ed38afe43bba1c8a0935b51d1dc014 (fixed)
Vendor states this is fixed in 5.10.215 (unaffected)
Vendor states this is fixed in 5.15.154 (unaffected)
Vendor states this is fixed in 5.4.274 (unaffected)
Vendor states this is fixed in 6.1.84 (unaffected)
Vendor states this is fixed in 6.6.24 (unaffected)
Vendor states this is fixed in 6.7.12 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)
Vendor states this is fixed in 6.8.3 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card