CVE-2024-35813

mmc: core: Avoid negative index with array access

State
Published
Severity
7.8 High
Published
May 17, 2024
Updated
Oct 15, 2026
Reserved
May 17, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f49f9e802785291149bdc9c824414de4604226b4 to before b9a7339ae403035ffe7fc37cb034b36947910f68Affected
  • 59020bf0999ff7da8aedcd00ef8f0d75d93b6d20 to before 2b539c88940e22494da80a93ee1c5a28bbad10f6Affected
  • 50b8b7a22e90bab9f1949b64a88ff17ab10913ec to before 81b8645feca08a54c7c4bf36e7b176f4983b2f28Affected
  • c4edcd134bb72b3b0acc884612d624e48c9d057f to before ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55Affected
  • 1653a8102868264f3488c298a9f20af2add9a288 to before 4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2Affected
  • eed9119f8f8e8fbf225c08abdbb58597fba807e0 to before 064db53f9023a2d5877a2d12de6bc27995f6ca56Affected
  • 4d0c8d0aef6355660b6775d57ccd5d4ea2e15802 to before 7d0e8a6147550aa058fa6ade8583ad252aa61304Affected
  • 4d0c8d0aef6355660b6775d57ccd5d4ea2e15802 to before cf55a7acd1ed38afe43bba1c8a0935b51d1dc014Affected
  • 5.4.269 to before 5.4.274Affected
  • 5.10.210 to before 5.10.215Affected
  • 5.15.149 to before 5.15.154Affected
  • 6.1.76 to before 6.1.84Affected
  • 6.6.15 to before 6.6.24Affected
  • 6.7.3 to before 6.7.12Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 5.4.274 through 5.4.*Not affected
  • 5.10.215 through 5.10.*Not affected
  • 5.15.154 through 5.15.*Not affected
  • 6.1.84 through 6.1.*Not affected
  • 6.6.24 through 6.6.*Not affected
  • 6.7.12 through 6.7.*Not affected
  • 6.8.3 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.