Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-35813

HIGH 7.8EPSS 21%

mmc: core: Avoid negative index with array access

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 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; …
  • Anyone running Linux 6.8

Vulnerability facts

Affected
Linux >= 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; …; Linux 6.8
Fixed in
Linux 2b539c88940e22494da80a93ee1c5a28bbad10f6, Linux 81b8645feca08a54c7c4bf36e7b176f4983b2f28, Linux 4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2, Linux 064db53f9023a2d5877a2d12de6bc27995f6ca56, Linux 7d0e8a6147550aa058fa6ade8583ad252aa61304, Linux 5.4.274, Linux 5.10.215
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 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; …—cvelist
Linux6.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-35813. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35813.md
Affected: Linux >= f49f9e802785291149bdc9c824414de4604226b4, < b9a7339ae403035ffe7fc37cb034b36947910f68; >= 59020bf0999ff7da8aedcd00ef8f0d75d93b6d20, < 2b539c88940e22494da80a93ee1c5a28bbad10f6; >= 50b8b7a22e90bab9f1949b64a88ff17ab10913ec, < 81b8645feca08a54c7c4bf36e7b176f4983b2f28; >= c4edcd134bb72b3b0acc884…
Fixed in: Linux 2b539c88940e22494da80a93ee1c5a28bbad10f6, Linux 81b8645feca08a54c7c4bf36e7b176f4983b2f28, Linux 4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2, Linux 064db53f9023a2d5877a2d12de6bc27995f6ca56, Linux 7d0e8a6147550aa058fa6ade8583ad252aa61304, Linux 5.4.274, Linux 5.10.215

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-35813 being exploited?

There is no confirmed exploitation: CVE-2024-35813 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-35813?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-35813?

Linux >= 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; …; Linux 6.8.

Is there a fix for CVE-2024-35813?

Yes. Fixed in Linux 2b539c88940e22494da80a93ee1c5a28bbad10f6, Linux 81b8645feca08a54c7c4bf36e7b176f4983b2f28, Linux 4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2, Linux 064db53f9023a2d5877a2d12de6bc27995f6ca56, Linux 7d0e8a6147550aa058fa6ade8583ad252aa61304, Linux 5.4.274, Linux 5.10.215. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-35813?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors