GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2024-35813 (GCVE-0-2024-35813)

Vulnerability from cvelistv5 – Published: 2024-05-17 13:23 – Updated: 2026-08-05 11:30
VLAI
Title
mmc: core: Avoid negative index with array access
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-06-17 17:39 UTC
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: f49f9e802785291149bdc9c824414de4604226b4 , < b9a7339ae403035ffe7fc37cb034b36947910f68 (git)
Affected: 59020bf0999ff7da8aedcd00ef8f0d75d93b6d20 , < 2b539c88940e22494da80a93ee1c5a28bbad10f6 (git)
Affected: 50b8b7a22e90bab9f1949b64a88ff17ab10913ec , < 81b8645feca08a54c7c4bf36e7b176f4983b2f28 (git)
Affected: c4edcd134bb72b3b0acc884612d624e48c9d057f , < ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55 (git)
Affected: 1653a8102868264f3488c298a9f20af2add9a288 , < 4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2 (git)
Affected: eed9119f8f8e8fbf225c08abdbb58597fba807e0 , < 064db53f9023a2d5877a2d12de6bc27995f6ca56 (git)
Affected: 4d0c8d0aef6355660b6775d57ccd5d4ea2e15802 , < 7d0e8a6147550aa058fa6ade8583ad252aa61304 (git)
Affected: 4d0c8d0aef6355660b6775d57ccd5d4ea2e15802 , < cf55a7acd1ed38afe43bba1c8a0935b51d1dc014 (git)
Affected: 5.4.269 , < 5.4.274 (semver)
Affected: 5.10.210 , < 5.10.215 (semver)
Affected: 5.15.149 , < 5.15.154 (semver)
Affected: 6.1.76 , < 6.1.84 (semver)
Affected: 6.6.15 , < 6.6.24 (semver)
Affected: 6.7.3 , < 6.7.12 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.8
Unaffected: 0 , < 6.8 (semver)
Unaffected: 5.4.274 , ≤ 5.4.* (semver)
Unaffected: 5.10.215 , ≤ 5.10.* (semver)
Unaffected: 5.15.154 , ≤ 5.15.* (semver)
Unaffected: 6.1.84 , ≤ 6.1.* (semver)
Unaffected: 6.6.24 , ≤ 6.6.* (semver)
Unaffected: 6.7.12 , ≤ 6.7.* (semver)
Unaffected: 6.8.3 , ≤ 6.8.* (semver)
Unaffected: 6.9 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Affected: 0 , < * (custom)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-35813",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-17T17:39:23.725113Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-17T17:43:26.196Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T03:21:47.575Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "affected": [
          {
            "defaultStatus": "unknown",
            "product": "SIMATIC S7-1500 TM MFP - GNU/Linux subsystem",
            "vendor": "Siemens",
            "versions": [
              {
                "lessThan": "*",
                "status": "affected",
                "version": "0",
                "versionType": "custom"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-05-12T11:52:10.428Z",
          "orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
          "shortName": "siemens-SADP"
        },
        "references": [
          {
            "url": "https://cert-portal.siemens.com/productcert/html/ssa-265688.html"
          }
        ],
        "x_adpType": "supplier"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/mmc/core/block.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b9a7339ae403035ffe7fc37cb034b36947910f68",
              "status": "affected",
              "version": "f49f9e802785291149bdc9c824414de4604226b4",
              "versionType": "git"
            },
            {
              "lessThan": "2b539c88940e22494da80a93ee1c5a28bbad10f6",
              "status": "affected",
              "version": "59020bf0999ff7da8aedcd00ef8f0d75d93b6d20",
              "versionType": "git"
            },
            {
              "lessThan": "81b8645feca08a54c7c4bf36e7b176f4983b2f28",
              "status": "affected",
              "version": "50b8b7a22e90bab9f1949b64a88ff17ab10913ec",
              "versionType": "git"
            },
            {
              "lessThan": "ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55",
              "status": "affected",
              "version": "c4edcd134bb72b3b0acc884612d624e48c9d057f",
              "versionType": "git"
            },
            {
              "lessThan": "4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2",
              "status": "affected",
              "version": "1653a8102868264f3488c298a9f20af2add9a288",
              "versionType": "git"
            },
            {
              "lessThan": "064db53f9023a2d5877a2d12de6bc27995f6ca56",
              "status": "affected",
              "version": "eed9119f8f8e8fbf225c08abdbb58597fba807e0",
              "versionType": "git"
            },
            {
              "lessThan": "7d0e8a6147550aa058fa6ade8583ad252aa61304",
              "status": "affected",
              "version": "4d0c8d0aef6355660b6775d57ccd5d4ea2e15802",
              "versionType": "git"
            },
            {
              "lessThan": "cf55a7acd1ed38afe43bba1c8a0935b51d1dc014",
              "status": "affected",
              "version": "4d0c8d0aef6355660b6775d57ccd5d4ea2e15802",
              "versionType": "git"
            },
            {
              "lessThan": "5.4.274",
              "status": "affected",
              "version": "5.4.269",
              "versionType": "semver"
            },
            {
              "lessThan": "5.10.215",
              "status": "affected",
              "version": "5.10.210",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.154",
              "status": "affected",
              "version": "5.15.149",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.84",
              "status": "affected",
              "version": "6.1.76",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.24",
              "status": "affected",
              "version": "6.6.15",
              "versionType": "semver"
            },
            {
              "lessThan": "6.7.12",
              "status": "affected",
              "version": "6.7.3",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/mmc/core/block.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.274",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.215",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.154",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.84",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.24",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.274",
                  "versionStartIncluding": "5.4.269",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.215",
                  "versionStartIncluding": "5.10.210",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.154",
                  "versionStartIncluding": "5.15.149",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.84",
                  "versionStartIncluding": "6.1.76",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.24",
                  "versionStartIncluding": "6.6.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.7.12",
                  "versionStartIncluding": "6.7.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8.3",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027t check that the iterator i is\ngreater than zero. Let\u0027s fix this by adding a check."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is reached only via the MMC_IOC_CMD / MMC_IOC_MULTI_CMD ioctls on the local /dev/mmcblkN block device or the /dev/mmcblkNrpmb character device. There is no remote or adjacent-network path into drivers/mmc/core/block.c.\nAC:L - Triggering requires the uninitialized `flags` field (kmalloc\u0027d throughout the affected range) to have MMC_BLK_IOC_SBC set on the first command, which the attacker controls by grooming the kmalloc-96/128 slab before the ioctl, and which can be retried in a tight loop at no cost. The subsequent `idatas[-1]` neighbor (an adjacent kmalloc-8 object or a live stack slot) is likewise attacker-influenceable via standard heap/stack spraying.\nPR:L - The RPMB character-device entry point (mmc_rpmb_ioctl \u2192 mmc_blk_ioctl_cmd/mmc_blk_ioctl_multi_cmd) performs no capable() check whatsoever \u2014 only DAC permissions on /dev/mmcblkNrpmb gate it \u2014 and on Android and embedded platforms that node is routinely opened by non-root system daemons, so an unprivileged-but-authorized local process suffices.\nUI:N - The attacker issues the ioctl directly from their own process; no victim action, mount, or file open by another user is needed.\nS:U - The out-of-bounds access and the resulting corruption are entirely within the kernel\u0027s own security authority, with no crossing of a VM, IOMMU, or sandbox boundary.\nC:H - The negative index performs an out-of-bounds read of a pointer, and the resulting `prev_idata-\u003eic.arg` dereference reads attacker-chosen kernel memory that is then emitted as the CMD23 argument; more broadly the memory corruption is leverageable for kernel information disclosure.\nI:H - `memcpy(\u0026prev_idata-\u003eic.response, sbc.resp, sizeof(sbc.resp))` performs a 16-byte write through the out-of-bounds-derived pointer, giving a write primitive at a heap-groomable address (or over live kernel pointers on the stack) that is exploitable for privilege escalation.\nA:H - Dereferencing the wild `idatas[-1]` pointer \u2014 read at `prev_idata-\u003eic.arg` and write at `prev_idata-\u003eic.response` \u2014 reliably produces a kernel oops/panic in the common case where the neighboring memory is not a valid object."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:30:06.940Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68"
        },
        {
          "url": "https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6"
        },
        {
          "url": "https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28"
        },
        {
          "url": "https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55"
        },
        {
          "url": "https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2"
        },
        {
          "url": "https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56"
        },
        {
          "url": "https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304"
        },
        {
          "url": "https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014"
        }
      ],
      "title": "mmc: core: Avoid negative index with array access",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-35813",
    "datePublished": "2024-05-17T13:23:18.902Z",
    "dateReserved": "2024-05-17T12:19:12.343Z",
    "dateUpdated": "2026-08-05T11:30:06.940Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-35813",
      "date": "2026-09-16",
      "epss": "0.00248",
      "percentile": "0.16242"
    },
    "fkie_nvd": {
      "descriptions": "[{\"lang\": \"en\", \"value\": \"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\u0027t check that the iterator i is\\ngreater than zero. Let\u0027s fix this by adding a check.\"}, {\"lang\": \"es\", \"value\": \" En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mmc: core: evitar \\u00edndice negativo con acceso a matriz Commit 4d0c8d0aef63 (\\\"mmc: core: usar mrq.sbc en ffu cerrado\\\") asigna prev_idata = idatas[i - 1] , pero no comprueba que el iterador i sea mayor que cero. Arreglemos esto agregando una comprobaci\\u00f3n.\"}]",
      "id": "CVE-2024-35813",
      "lastModified": "2024-11-21T09:20:57.250",
      "published": "2024-05-17T14:15:15.617",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Awaiting Analysis"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-35813\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-17T14:15:15.617\",\"lastModified\":\"2026-08-04T11:17:55.627\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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\u0027t check that the iterator i is\\ngreater than zero. Let\u0027s fix this by adding a check.\"},{\"lang\":\"es\",\"value\":\" En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mmc: core: evitar \u00edndice negativo con acceso a matriz Commit 4d0c8d0aef63 (\\\"mmc: core: usar mrq.sbc en ffu cerrado\\\") asigna prev_idata = idatas[i - 1] , pero no comprueba que el iterador i sea mayor que cero. Arreglemos esto agregando una comprobaci\u00f3n.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/mmc/core/block.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"f49f9e802785291149bdc9c824414de4604226b4\",\"lessThan\":\"b9a7339ae403035ffe7fc37cb034b36947910f68\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"59020bf0999ff7da8aedcd00ef8f0d75d93b6d20\",\"lessThan\":\"2b539c88940e22494da80a93ee1c5a28bbad10f6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"50b8b7a22e90bab9f1949b64a88ff17ab10913ec\",\"lessThan\":\"81b8645feca08a54c7c4bf36e7b176f4983b2f28\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c4edcd134bb72b3b0acc884612d624e48c9d057f\",\"lessThan\":\"ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"1653a8102868264f3488c298a9f20af2add9a288\",\"lessThan\":\"4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"eed9119f8f8e8fbf225c08abdbb58597fba807e0\",\"lessThan\":\"064db53f9023a2d5877a2d12de6bc27995f6ca56\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4d0c8d0aef6355660b6775d57ccd5d4ea2e15802\",\"lessThan\":\"7d0e8a6147550aa058fa6ade8583ad252aa61304\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4d0c8d0aef6355660b6775d57ccd5d4ea2e15802\",\"lessThan\":\"cf55a7acd1ed38afe43bba1c8a0935b51d1dc014\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5.4.269\",\"lessThan\":\"5.4.274\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.10.210\",\"lessThan\":\"5.10.215\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.15.149\",\"lessThan\":\"5.15.154\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.1.76\",\"lessThan\":\"6.1.84\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.6.15\",\"lessThan\":\"6.6.24\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.7.3\",\"lessThan\":\"6.7.12\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/mmc/core/block.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.8\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.8\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.274\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.215\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.154\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.84\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.24\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.7.12\",\"lessThanOrEqual\":\"6.7.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.8.3\",\"lessThanOrEqual\":\"6.8.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.9\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]},{\"source\":\"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e\",\"affectedData\":[{\"vendor\":\"Siemens\",\"product\":\"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem\",\"defaultStatus\":\"unknown\",\"versions\":[{\"version\":\"0\",\"lessThan\":\"*\",\"versionType\":\"custom\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-06-17T17:39:23.725113Z\",\"id\":\"CVE-2024-35813\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.4.269\",\"versionEndExcluding\":\"5.4.274\",\"matchCriteriaId\":\"112F11AD-F7FB-4E81-AFE1-089E73396EAD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.10.210\",\"versionEndExcluding\":\"5.10.215\",\"matchCriteriaId\":\"CAE5B705-A8D9-4689-86EC-63DF4415710C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.15.149\",\"versionEndExcluding\":\"5.15.154\",\"matchCriteriaId\":\"84D3A097-5A42-40BD-97E1-AC833DFC0A5D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.1.76\",\"versionEndExcluding\":\"6.1.84\",\"matchCriteriaId\":\"BD44EBC4-CA19-40E3-A232-56572BE62FDE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.6.15\",\"versionEndExcluding\":\"6.6.24\",\"matchCriteriaId\":\"A5D1D15E-619C-4180-9139-9B7A775737F4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7.3\",\"versionEndExcluding\":\"6.7.12\",\"matchCriteriaId\":\"E65E462C-6FAB-47C7-9B2E-5891AAD31001\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.8\",\"versionEndExcluding\":\"6.8.3\",\"matchCriteriaId\":\"4C59BBC3-6495-4A77-9C82-55EC7CDF5E02\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"22BEDD49-2C6D-402D-9DBF-6646F6ECD10B\"}]}]},{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"07B237A9-69A3-4A9C-9DA0-4E06BD37AE73\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://cert-portal.siemens.com/productcert/html/ssa-265688.html\",\"source\":\"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-04T19:06:06+00:00",
      "cve": "CVE-2024-35813",
      "id": "CVE-2024-35813",
      "initial_release_date": "2024-05-17T00:00:00+00:00",
      "product_status:known_affected": "28",
      "product_status:known_not_affected": "170",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: mmc: core: Avoid negative index with array access",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-35813.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-30T02:38:43Z",
      "cve": "CVE-2024-35813",
      "id": "CVE-2024-35813",
      "initial_release_date": "2024-05-21T02:00:10Z",
      "product_status:known_affected": "315",
      "product_status:known_not_affected": "270",
      "product_status:recommended": "670",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-35813",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-35813.json",
      "version": "92"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T03:21:47.575Z\"}}, {\"affected\": [{\"vendor\": \"Siemens\", \"product\": \"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"*\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unknown\"}], \"x_adpType\": \"supplier\", \"references\": [{\"url\": \"https://cert-portal.siemens.com/productcert/html/ssa-265688.html\"}], \"providerMetadata\": {\"orgId\": \"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e\", \"shortName\": \"siemens-SADP\", \"dateUpdated\": \"2026-05-12T11:52:10.428Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-35813\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-17T17:39:23.725113Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-17T17:39:24.723Z\"}}], \"cna\": {\"title\": \"mmc: core: Avoid negative index with array access\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The bug is reached only via the MMC_IOC_CMD / MMC_IOC_MULTI_CMD ioctls on the local /dev/mmcblkN block device or the /dev/mmcblkNrpmb character device. There is no remote or adjacent-network path into drivers/mmc/core/block.c.\\nAC:L - Triggering requires the uninitialized `flags` field (kmalloc\u0027d throughout the affected range) to have MMC_BLK_IOC_SBC set on the first command, which the attacker controls by grooming the kmalloc-96/128 slab before the ioctl, and which can be retried in a tight loop at no cost. The subsequent `idatas[-1]` neighbor (an adjacent kmalloc-8 object or a live stack slot) is likewise attacker-influenceable via standard heap/stack spraying.\\nPR:L - The RPMB character-device entry point (mmc_rpmb_ioctl \\u2192 mmc_blk_ioctl_cmd/mmc_blk_ioctl_multi_cmd) performs no capable() check whatsoever \\u2014 only DAC permissions on /dev/mmcblkNrpmb gate it \\u2014 and on Android and embedded platforms that node is routinely opened by non-root system daemons, so an unprivileged-but-authorized local process suffices.\\nUI:N - The attacker issues the ioctl directly from their own process; no victim action, mount, or file open by another user is needed.\\nS:U - The out-of-bounds access and the resulting corruption are entirely within the kernel\u0027s own security authority, with no crossing of a VM, IOMMU, or sandbox boundary.\\nC:H - The negative index performs an out-of-bounds read of a pointer, and the resulting `prev_idata-\u003eic.arg` dereference reads attacker-chosen kernel memory that is then emitted as the CMD23 argument; more broadly the memory corruption is leverageable for kernel information disclosure.\\nI:H - `memcpy(\u0026prev_idata-\u003eic.response, sbc.resp, sizeof(sbc.resp))` performs a 16-byte write through the out-of-bounds-derived pointer, giving a write primitive at a heap-groomable address (or over live kernel pointers on the stack) that is exploitable for privilege escalation.\\nA:H - Dereferencing the wild `idatas[-1]` pointer \\u2014 read at `prev_idata-\u003eic.arg` and write at `prev_idata-\u003eic.response` \\u2014 reliably produces a kernel oops/panic in the common case where the neighboring memory is not a valid object.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"f49f9e802785291149bdc9c824414de4604226b4\", \"lessThan\": \"b9a7339ae403035ffe7fc37cb034b36947910f68\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"59020bf0999ff7da8aedcd00ef8f0d75d93b6d20\", \"lessThan\": \"2b539c88940e22494da80a93ee1c5a28bbad10f6\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"50b8b7a22e90bab9f1949b64a88ff17ab10913ec\", \"lessThan\": \"81b8645feca08a54c7c4bf36e7b176f4983b2f28\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c4edcd134bb72b3b0acc884612d624e48c9d057f\", \"lessThan\": \"ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"1653a8102868264f3488c298a9f20af2add9a288\", \"lessThan\": \"4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"eed9119f8f8e8fbf225c08abdbb58597fba807e0\", \"lessThan\": \"064db53f9023a2d5877a2d12de6bc27995f6ca56\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4d0c8d0aef6355660b6775d57ccd5d4ea2e15802\", \"lessThan\": \"7d0e8a6147550aa058fa6ade8583ad252aa61304\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4d0c8d0aef6355660b6775d57ccd5d4ea2e15802\", \"lessThan\": \"cf55a7acd1ed38afe43bba1c8a0935b51d1dc014\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5.4.269\", \"lessThan\": \"5.4.274\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"5.10.210\", \"lessThan\": \"5.10.215\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"5.15.149\", \"lessThan\": \"5.15.154\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.1.76\", \"lessThan\": \"6.1.84\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.6.15\", \"lessThan\": \"6.6.24\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.7.3\", \"lessThan\": \"6.7.12\", \"versionType\": \"semver\"}], \"programFiles\": [\"drivers/mmc/core/block.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.8\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.8\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.4.274\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.215\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.154\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.84\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.24\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.7.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.7.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.8.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/mmc/core/block.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b9a7339ae403035ffe7fc37cb034b36947910f68\"}, {\"url\": \"https://git.kernel.org/stable/c/2b539c88940e22494da80a93ee1c5a28bbad10f6\"}, {\"url\": \"https://git.kernel.org/stable/c/81b8645feca08a54c7c4bf36e7b176f4983b2f28\"}, {\"url\": \"https://git.kernel.org/stable/c/ad9cc5e9e53ab94aa0c7ac65d43be7eb208dcb55\"}, {\"url\": \"https://git.kernel.org/stable/c/4466677dcabe2d70de6aa3d4bd4a4fafa94a71f2\"}, {\"url\": \"https://git.kernel.org/stable/c/064db53f9023a2d5877a2d12de6bc27995f6ca56\"}, {\"url\": \"https://git.kernel.org/stable/c/7d0e8a6147550aa058fa6ade8583ad252aa61304\"}, {\"url\": \"https://git.kernel.org/stable/c/cf55a7acd1ed38afe43bba1c8a0935b51d1dc014\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"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\u0027t check that the iterator i is\\ngreater than zero. Let\u0027s fix this by adding a check.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.274\", \"versionStartIncluding\": \"5.4.269\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.215\", \"versionStartIncluding\": \"5.10.210\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.154\", \"versionStartIncluding\": \"5.15.149\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.84\", \"versionStartIncluding\": \"6.1.76\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.24\", \"versionStartIncluding\": \"6.6.15\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.7.12\", \"versionStartIncluding\": \"6.7.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.8.3\", \"versionStartIncluding\": \"6.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.9\", \"versionStartIncluding\": \"6.8\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T11:30:06.940Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-35813\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T11:30:06.940Z\", \"dateReserved\": \"2024-05-17T12:19:12.343Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-17T13:23:18.902Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…