CVE-2024-41026 (GCVE-0-2024-41026)

Vulnerability from cvelistv5 – Published: 2024-07-29 14:31 – Updated: 2026-08-05 11:34
VLAI
Title
mmc: davinci_mmc: Prevent transmitted data size from exceeding sgm's length
Summary
In the Linux kernel, the following vulnerability has been resolved: mmc: davinci_mmc: Prevent transmitted data size from exceeding sgm's length No check is done on the size of the data to be transmiited. This causes a kernel panic when this size exceeds the sg_miter's length. Limit the number of transmitted bytes to sgm->length.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-09-10 16:24 UTC
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: ed01d210fd910f7fa7933638df14ffb8d4aac2a9 , < c561c4ecce712f94b442db5960e281f13b28df2e (git)
Affected: ed01d210fd910f7fa7933638df14ffb8d4aac2a9 , < 16198eef11c1929374381d7f6271b4bf6aa44615 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.9
Unaffected: 0 , < 6.9 (semver)
Unaffected: 6.9.10 , ≤ 6.9.* (semver)
Unaffected: 6.10 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T04:39:56.171Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/c561c4ecce712f94b442db5960e281f13b28df2e"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/16198eef11c1929374381d7f6271b4bf6aa44615"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-41026",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T16:24:09.083090Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:34:04.488Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/mmc/host/davinci_mmc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c561c4ecce712f94b442db5960e281f13b28df2e",
              "status": "affected",
              "version": "ed01d210fd910f7fa7933638df14ffb8d4aac2a9",
              "versionType": "git"
            },
            {
              "lessThan": "16198eef11c1929374381d7f6271b4bf6aa44615",
              "status": "affected",
              "version": "ed01d210fd910f7fa7933638df14ffb8d4aac2a9",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/mmc/host/davinci_mmc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.9"
            },
            {
              "lessThan": "6.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.9.*",
              "status": "unaffected",
              "version": "6.9.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.10",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9.10",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: davinci_mmc: Prevent transmitted data size from exceeding sgm\u0027s length\n\nNo check is done on the size of the data to be transmiited. This causes\na kernel panic when this size exceeds the sg_miter\u0027s length.\n\nLimit the number of transmitted bytes to sgm-\u003elength."
        }
      ],
      "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 vulnerable PIO path is reached through local device I/O \u2014 `MMC_IOC_CMD`/`MMC_IOC_MULTI_CMD` on the mmcblk block device or the RPMB character device \u2014 with no network or physical component required. No remote or adjacent-network protocol touches this driver.\nAC:L - The attacker deterministically selects `blksz`/`blocks` so that `blocks*blksz` is not a multiple of `rw_threshold`, which forces the PIO fallback in `mmc_davinci_prepare_data()` and makes the unclamped 32-byte priming transfer overrun a smaller scatterlist chunk on the first attempt. There is no race, no memory-layout guess, and no condition outside the attacker\u0027s control.\nPR:L - `mmc_rpmb_ioctl()` dispatches `MMC_IOC_CMD` into `mmc_blk_ioctl_cmd()` without any `capable()` check, so any user holding an open descriptor to `/dev/mmcblk*rpmb` \u2014 routinely group-accessible on embedded and Android-class deployments of this SoC family \u2014 can drive arbitrary `blksz`/`blocks` transfers. No administrative capability is needed on that path.\nUI:N - The attacker issues the ioctl directly against an already-present card; no victim action, card insertion, or mount is required.\nS:U - The out-of-bounds access corrupts and discloses kernel heap memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - In the write direction the driver reads far past the end of the kmalloc\u0027d/kmapped buffer and streams that kernel memory into the MMC data register, and the underflowed `bytes_left`/`__remaining` turn this into an effectively unbounded sequential read of kernel memory (data landing inside the programmed transfer window is persisted to attacker-controlled card storage and read back). This is not a bounded few-byte leak.\nI:H - The same missing clamp in the read direction writes card-supplied bytes past the destination chunk, and once `sg_miter`\u0027s `__remaining`/`__offset` and `host-\u003ebytes_left` underflow the driver writes attacker-influenced data far beyond the mapped page \u2014 an out-of-bounds heap write suitable for corrupting adjacent slab objects.\nA:H - The commit message states outright that exceeding the sg_miter length causes a kernel panic; the underflowed `host-\u003ebytes_left` also drives a multi-gigabyte copy loop in hard IRQ context that faults off the end of the mapping, giving a reliable oops/lockup."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:34:48.544Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c561c4ecce712f94b442db5960e281f13b28df2e"
        },
        {
          "url": "https://git.kernel.org/stable/c/16198eef11c1929374381d7f6271b4bf6aa44615"
        }
      ],
      "title": "mmc: davinci_mmc: Prevent transmitted data size from exceeding sgm\u0027s length",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-41026",
    "datePublished": "2024-07-29T14:31:43.056Z",
    "dateReserved": "2024-07-12T12:17:45.616Z",
    "dateUpdated": "2026-08-05T11:34:48.544Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-41026",
      "date": "2026-09-27",
      "epss": "0.00258",
      "percentile": "0.15738"
    },
    "fkie_nvd": {
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: davinci_mmc: Prevent transmitted data size from exceeding sgm\u0027s length\n\nNo check is done on the size of the data to be transmiited. This causes\na kernel panic when this size exceeds the sg_miter\u0027s length.\n\nLimit the number of transmitted bytes to sgm-\u003elength."
        },
        {
          "lang": "es",
          "value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mmc: davinci_mmc: Evita que el tama\u00f1o de los datos transmitidos exceda la longitud de sgm No se realiza ninguna verificaci\u00f3n del tama\u00f1o de los datos a transmitir. Esto provoca un p\u00e1nico en el kernel cuando este tama\u00f1o excede la longitud de sg_miter. Limite el n\u00famero de bytes transmitidos a sgm-\u0026gt;length."
        }
      ],
      "id": "CVE-2024-41026",
      "lastModified": "2024-11-21T09:32:05.570",
      "published": "2024-07-29T15:15:11.413",
      "references": [
        {
          "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
          "url": "https://git.kernel.org/stable/c/16198eef11c1929374381d7f6271b4bf6aa44615"
        },
        {
          "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
          "url": "https://git.kernel.org/stable/c/c561c4ecce712f94b442db5960e281f13b28df2e"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://git.kernel.org/stable/c/16198eef11c1929374381d7f6271b4bf6aa44615"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://git.kernel.org/stable/c/c561c4ecce712f94b442db5960e281f13b28df2e"
        }
      ],
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Awaiting Analysis"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/mmc/host/davinci_mmc.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "c561c4ecce712f94b442db5960e281f13b28df2e",
                    "status": "affected",
                    "version": "ed01d210fd910f7fa7933638df14ffb8d4aac2a9",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "16198eef11c1929374381d7f6271b4bf6aa44615",
                    "status": "affected",
                    "version": "ed01d210fd910f7fa7933638df14ffb8d4aac2a9",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/mmc/host/davinci_mmc.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.9"
                  },
                  {
                    "lessThan": "6.9",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.9.*",
                    "status": "unaffected",
                    "version": "6.9.10",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "6.10",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0F5C3789-472B-40EC-9D2A-48169EDB592B",
                    "versionEndExcluding": "6.9.10",
                    "versionStartIncluding": "6.9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*",
                    "matchCriteriaId": "2EBB4392-5FA6-4DA9-9772-8F9C750109FA",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*",
                    "matchCriteriaId": "331C2F14-12C7-45D5-893D-8C52EE38EA10",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:*",
                    "matchCriteriaId": "3173713D-909A-4DD3-9DD4-1E171EB057EE",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:*",
                    "matchCriteriaId": "79F18AFA-40F7-43F0-BA30-7BDB65F918B9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.10:rc5:*:*:*:*:*:*",
                    "matchCriteriaId": "BD973AA4-A789-49BD-8D57-B2846935D3C7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.10:rc6:*:*:*:*:*:*",
                    "matchCriteriaId": "8F3E9E0C-AC3E-4967-AF80-6483E8AB0078",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.10:rc7:*:*:*:*:*:*",
                    "matchCriteriaId": "11AF4CB9-F697-4EA4-8903-8F9417EFDA8E",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: davinci_mmc: Prevent transmitted data size from exceeding sgm\u0027s length\n\nNo check is done on the size of the data to be transmiited. This causes\na kernel panic when this size exceeds the sg_miter\u0027s length.\n\nLimit the number of transmitted bytes to sgm-\u003elength."
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mmc: davinci_mmc: Evita que el tama\u00f1o de los datos transmitidos exceda la longitud de sgm No se realiza ninguna verificaci\u00f3n del tama\u00f1o de los datos a transmitir. Esto provoca un p\u00e1nico en el kernel cuando este tama\u00f1o excede la longitud de sg_miter. Limite el n\u00famero de bytes transmitidos a sgm-\u0026gt;length."
          }
        ],
        "id": "CVE-2024-41026",
        "lastModified": "2026-08-04T11:19:19.483",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            },
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2024-41026",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T16:24:09.083090Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2024-07-29T15:15:11.413",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/16198eef11c1929374381d7f6271b4bf6aa44615"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/c561c4ecce712f94b442db5960e281f13b28df2e"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/16198eef11c1929374381d7f6271b4bf6aa44615"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/c561c4ecce712f94b442db5960e281f13b28df2e"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "NVD-CWE-noinfo"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-04T18:43:13+00:00",
      "cve": "CVE-2024-41026",
      "id": "CVE-2024-41026",
      "initial_release_date": "2024-07-29T00:00:00+00:00",
      "product_status:known_not_affected": "198",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: mmc: davinci_mmc: Prevent transmitted data size from exceeding sgm\u0027s length",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-41026.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-05T00:43:07Z",
      "cve": "CVE-2024-41026",
      "id": "CVE-2024-41026",
      "initial_release_date": "2024-08-06T02:02:08Z",
      "product_status:known_not_affected": "379",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-41026",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-41026.json",
      "version": "19"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-02T04:39:56.171Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://git.kernel.org/stable/c/c561c4ecce712f94b442db5960e281f13b28df2e"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://git.kernel.org/stable/c/16198eef11c1929374381d7f6271b4bf6aa44615"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-41026",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-09-10T16:24:09.083090Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-09-11T12:42:20.500Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Linux",
              "programFiles": [
                "drivers/mmc/host/davinci_mmc.c"
              ],
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "vendor": "Linux",
              "versions": [
                {
                  "lessThan": "c561c4ecce712f94b442db5960e281f13b28df2e",
                  "status": "affected",
                  "version": "ed01d210fd910f7fa7933638df14ffb8d4aac2a9",
                  "versionType": "git"
                },
                {
                  "lessThan": "16198eef11c1929374381d7f6271b4bf6aa44615",
                  "status": "affected",
                  "version": "ed01d210fd910f7fa7933638df14ffb8d4aac2a9",
                  "versionType": "git"
                }
              ]
            },
            {
              "defaultStatus": "affected",
              "product": "Linux",
              "programFiles": [
                "drivers/mmc/host/davinci_mmc.c"
              ],
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "vendor": "Linux",
              "versions": [
                {
                  "status": "affected",
                  "version": "6.9"
                },
                {
                  "lessThan": "6.9",
                  "status": "unaffected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "6.9.*",
                  "status": "unaffected",
                  "version": "6.9.10",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "*",
                  "status": "unaffected",
                  "version": "6.10",
                  "versionType": "original_commit_for_fix"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "6.9.10",
                      "versionStartIncluding": "6.9",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "6.10",
                      "versionStartIncluding": "6.9",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: davinci_mmc: Prevent transmitted data size from exceeding sgm\u0027s length\n\nNo check is done on the size of the data to be transmiited. This causes\na kernel panic when this size exceeds the sg_miter\u0027s length.\n\nLimit the number of transmitted bytes to sgm-\u003elength."
            }
          ],
          "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 vulnerable PIO path is reached through local device I/O \u2014 `MMC_IOC_CMD`/`MMC_IOC_MULTI_CMD` on the mmcblk block device or the RPMB character device \u2014 with no network or physical component required. No remote or adjacent-network protocol touches this driver.\nAC:L - The attacker deterministically selects `blksz`/`blocks` so that `blocks*blksz` is not a multiple of `rw_threshold`, which forces the PIO fallback in `mmc_davinci_prepare_data()` and makes the unclamped 32-byte priming transfer overrun a smaller scatterlist chunk on the first attempt. There is no race, no memory-layout guess, and no condition outside the attacker\u0027s control.\nPR:L - `mmc_rpmb_ioctl()` dispatches `MMC_IOC_CMD` into `mmc_blk_ioctl_cmd()` without any `capable()` check, so any user holding an open descriptor to `/dev/mmcblk*rpmb` \u2014 routinely group-accessible on embedded and Android-class deployments of this SoC family \u2014 can drive arbitrary `blksz`/`blocks` transfers. No administrative capability is needed on that path.\nUI:N - The attacker issues the ioctl directly against an already-present card; no victim action, card insertion, or mount is required.\nS:U - The out-of-bounds access corrupts and discloses kernel heap memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - In the write direction the driver reads far past the end of the kmalloc\u0027d/kmapped buffer and streams that kernel memory into the MMC data register, and the underflowed `bytes_left`/`__remaining` turn this into an effectively unbounded sequential read of kernel memory (data landing inside the programmed transfer window is persisted to attacker-controlled card storage and read back). This is not a bounded few-byte leak.\nI:H - The same missing clamp in the read direction writes card-supplied bytes past the destination chunk, and once `sg_miter`\u0027s `__remaining`/`__offset` and `host-\u003ebytes_left` underflow the driver writes attacker-influenced data far beyond the mapped page \u2014 an out-of-bounds heap write suitable for corrupting adjacent slab objects.\nA:H - The commit message states outright that exceeding the sg_miter length causes a kernel panic; the underflowed `host-\u003ebytes_left` also drives a multi-gigabyte copy loop in hard IRQ context that faults off the end of the mapping, giving a reliable oops/lockup."
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-08-05T11:34:48.544Z",
            "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "shortName": "Linux"
          },
          "references": [
            {
              "url": "https://git.kernel.org/stable/c/c561c4ecce712f94b442db5960e281f13b28df2e"
            },
            {
              "url": "https://git.kernel.org/stable/c/16198eef11c1929374381d7f6271b4bf6aa44615"
            }
          ],
          "title": "mmc: davinci_mmc: Prevent transmitted data size from exceeding sgm\u0027s length",
          "x_generator": {
            "engine": "bippy-1.2.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "assignerShortName": "Linux",
        "cveId": "CVE-2024-41026",
        "datePublished": "2024-07-29T14:31:43.056Z",
        "dateReserved": "2024-07-12T12:17:45.616Z",
        "dateUpdated": "2026-08-05T11:34:48.544Z",
        "state": "PUBLISHED"
      },
      "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…

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…