{"id":"CVE-2024-35813","published":"2024-05-17T13:23:18Z","modified":"2026-10-15T00:40:55Z","title":"mmc: core: Avoid negative index with array access","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: core: Avoid negative index with array access\n\nCommit 4d0c8d0aef63 (\"mmc: core: Use mrq.sbc in close-ended ffu\") assigns\nprev_idata = idatas[i - 1], but doesn't check that the iterator i is\ngreater than zero. Let's fix this by adding a check.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00248,"percentile":0.16392,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68","tags":[]},{"url":"https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6","tags":[]},{"url":"https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28","tags":[]},{"url":"https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55","tags":[]},{"url":"https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2","tags":[]},{"url":"https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56","tags":[]},{"url":"https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304","tags":[]},{"url":"https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":3.28},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f49f9e802785291149bdc9c824414de4604226b4, < b9a7339ae403035ffe7fc37cb034b36947910f68",">= 59020bf0999ff7da8aedcd00ef8f0d75d93b6d20, < 2b539c88940e22494da80a93ee1c5a28bbad10f6",">= 50b8b7a22e90bab9f1949b64a88ff17ab10913ec, < 81b8645feca08a54c7c4bf36e7b176f4983b2f28",">= c4edcd134bb72b3b0acc884612d624e48c9d057f, < ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55",">= 1653a8102868264f3488c298a9f20af2add9a288, < 4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2",">= eed9119f8f8e8fbf225c08abdbb58597fba807e0, < 064db53f9023a2d5877a2d12de6bc27995f6ca56",">= 4d0c8d0aef6355660b6775d57ccd5d4ea2e15802, < 7d0e8a6147550aa058fa6ade8583ad252aa61304",">= 4d0c8d0aef6355660b6775d57ccd5d4ea2e15802, < cf55a7acd1ed38afe43bba1c8a0935b51d1dc014",">= 5.4.269, < 5.4.274",">= 5.10.210, < 5.10.215"]},{"vendor":"Linux","product":"Linux","versions":["6.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-17T17:39:23.725113Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35804","exploited":false,"provenance":"source"}}