mmc: core: Avoid negative index with array access

Summary

CVECVE-2024-35813
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-05-17 14:15:15 UTC
Updated2026-05-12 12:16:36 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: NVD-CWE-noinfo

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected f49f9e802785291149bdc9c824414de4604226b4 b9a7339ae403035ffe7fc37cb034b36947910f68 git Not specified
CNA Linux Linux affected 59020bf0999ff7da8aedcd00ef8f0d75d93b6d20 2b539c88940e22494da80a93ee1c5a28bbad10f6 git Not specified
CNA Linux Linux affected 50b8b7a22e90bab9f1949b64a88ff17ab10913ec 81b8645feca08a54c7c4bf36e7b176f4983b2f28 git Not specified
CNA Linux Linux affected c4edcd134bb72b3b0acc884612d624e48c9d057f ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55 git Not specified
CNA Linux Linux affected 1653a8102868264f3488c298a9f20af2add9a288 4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2 git Not specified
CNA Linux Linux affected eed9119f8f8e8fbf225c08abdbb58597fba807e0 064db53f9023a2d5877a2d12de6bc27995f6ca56 git Not specified
CNA Linux Linux affected 4d0c8d0aef6355660b6775d57ccd5d4ea2e15802 7d0e8a6147550aa058fa6ade8583ad252aa61304 git Not specified
CNA Linux Linux affected 4d0c8d0aef6355660b6775d57ccd5d4ea2e15802 cf55a7acd1ed38afe43bba1c8a0935b51d1dc014 git Not specified
CNA Linux Linux affected 6.8 Not specified
CNA Linux Linux unaffected 6.8 semver Not specified
CNA Linux Linux unaffected 5.4.274 5.4.* semver Not specified
CNA Linux Linux unaffected 5.10.215 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.154 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.84 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.24 6.6.* semver Not specified
CNA Linux Linux unaffected 6.7.12 6.7.* semver Not specified
CNA Linux Linux unaffected 6.8.3 6.8.* semver Not specified
CNA Linux Linux unaffected 6.9 * original_commit_for_fix Not specified
ADP Siemens SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem affected * custom Not specified

References

ReferenceSourceLinkTags
lists.debian.org/debian-lts-announce/2024/06/msg00017.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Third Party Advisory
git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
cert-portal.siemens.com/productcert/html/ssa-265688.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report