CVE-2024-53127 (GCVE-0-2024-53127)
Vulnerability from cvelistv5
Published
2024-12-04 14:20
Modified
2026-08-05 11:43
Summary
In the Linux kernel, the following vulnerability has been resolved: Revert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K" The commit 8396c793ffdf ("mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K") increased the max_req_size, even for 4K pages, causing various issues: - Panic booting the kernel/rootfs from an SD card on Rockchip RK3566 - Panic booting the kernel/rootfs from an SD card on StarFive JH7100 - "swiotlb buffer is full" and data corruption on StarFive JH7110 At this stage no fix have been found, so it's probably better to just revert the change. This reverts commit 8396c793ffdf28bb8aee7cfe0891080f8cab7890.
Impacted products
Vendor Product Version
Linux Linux Version: 32bd402f6760d57127d58a9888553b2db574bba6
Version: b9ee16a20d9976686185d7e59cd006c328b6a1e0
Version: 2793f423893579b35dc1fc24dd7c1ce58fa0345a
Version: 9d715a234dd8f01af970b78ae2144a2fd3ead21c
Version: 373f8f5b087f010dddae3306a79c6fdd5c2f8953
Version: 5b4bf3948875064a9adcda4b52b59e0520a8c576
Version: 8396c793ffdf28bb8aee7cfe0891080f8cab7890
Version: 8396c793ffdf28bb8aee7cfe0891080f8cab7890
Version: 5b1ef10f7d49f3320b0faa894204259e590ce588
Version: 4.19.322   
Version: 5.4.284   
Version: 5.10.226   
Version: 5.15.167   
Version: 6.1.110   
Version: 6.6.51   
Version: 6.10.10   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T22:29:31.953Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"
          },
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/mmc/host/dw_mmc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "00bff71745bc3583bd5ca59be91e0ee1d27f1944",
              "status": "affected",
              "version": "32bd402f6760d57127d58a9888553b2db574bba6",
              "versionType": "git"
            },
            {
              "lessThan": "47693ba35bccaa16efa465159a1c12d78258349e",
              "status": "affected",
              "version": "b9ee16a20d9976686185d7e59cd006c328b6a1e0",
              "versionType": "git"
            },
            {
              "lessThan": "938c13740f8b555986e53c0fcbaf00dcd1fabd4c",
              "status": "affected",
              "version": "2793f423893579b35dc1fc24dd7c1ce58fa0345a",
              "versionType": "git"
            },
            {
              "lessThan": "f701eb601470bfc0a551913ce5f6ebaa770f0ce0",
              "status": "affected",
              "version": "9d715a234dd8f01af970b78ae2144a2fd3ead21c",
              "versionType": "git"
            },
            {
              "lessThan": "8f9416147d7ed414109d3501f1cb3d7a1735b25a",
              "status": "affected",
              "version": "373f8f5b087f010dddae3306a79c6fdd5c2f8953",
              "versionType": "git"
            },
            {
              "lessThan": "56de724c58c07a7ca3aac027cfd2ccb184ed9e4e",
              "status": "affected",
              "version": "5b4bf3948875064a9adcda4b52b59e0520a8c576",
              "versionType": "git"
            },
            {
              "lessThan": "a4685366f07448420badb710ff5c12aaaadf63ad",
              "status": "affected",
              "version": "8396c793ffdf28bb8aee7cfe0891080f8cab7890",
              "versionType": "git"
            },
            {
              "lessThan": "1635e407a4a64d08a8517ac59ca14ad4fc785e75",
              "status": "affected",
              "version": "8396c793ffdf28bb8aee7cfe0891080f8cab7890",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "5b1ef10f7d49f3320b0faa894204259e590ce588",
              "versionType": "git"
            },
            {
              "lessThan": "4.19.325",
              "status": "affected",
              "version": "4.19.322",
              "versionType": "semver"
            },
            {
              "lessThan": "5.4.287",
              "status": "affected",
              "version": "5.4.284",
              "versionType": "semver"
            },
            {
              "lessThan": "5.10.231",
              "status": "affected",
              "version": "5.10.226",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.174",
              "status": "affected",
              "version": "5.15.167",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.119",
              "status": "affected",
              "version": "6.1.110",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.63",
              "status": "affected",
              "version": "6.6.51",
              "versionType": "semver"
            },
            {
              "lessThan": "6.11",
              "status": "affected",
              "version": "6.10.10",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/mmc/host/dw_mmc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.11"
            },
            {
              "lessThan": "6.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.325",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.287",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.231",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.174",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.119",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.12",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.325",
                  "versionStartIncluding": "4.19.322",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.287",
                  "versionStartIncluding": "5.4.284",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.231",
                  "versionStartIncluding": "5.10.226",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.174",
                  "versionStartIncluding": "5.15.167",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.119",
                  "versionStartIncluding": "6.1.110",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.63",
                  "versionStartIncluding": "6.6.51",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11.10",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.10.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRevert \"mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K\"\n\nThe commit 8396c793ffdf (\"mmc: dw_mmc: Fix IDMAC operation with pages\nbigger than 4K\") increased the max_req_size, even for 4K pages, causing\nvarious issues:\n- Panic booting the kernel/rootfs from an SD card on Rockchip RK3566\n- Panic booting the kernel/rootfs from an SD card on StarFive JH7100\n- \"swiotlb buffer is full\" and data corruption on StarFive JH7110\n\nAt this stage no fix have been found, so it\u0027s probably better to just\nrevert the change.\n\nThis reverts commit 8396c793ffdf28bb8aee7cfe0891080f8cab7890."
        }
      ],
      "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 flaw is in the dw_mmc SD/eMMC host controller DMA path, reached only through local block I/O (syscalls to a mounted mmc filesystem or the block device); it is not exposed over any network protocol.\nAC:L - On the affected DesignWare-MMC platforms the corruption/panic is triggered reliably by ordinary large sequential I/O, and the boot-from-SD panics are deterministic, so no attacker-uncontrolled condition is required.\nPR:L - An unprivileged local user issuing large I/O to a mounted mmc/SD device drives the vulnerable DMA descriptor path; no elevated capability is needed.\nUI:N - The condition is reached by the attacker\u0027s own I/O (or automatically during boot); no action by another user is required.\nS:U - The DMA data corruption and crash occur within the kernel\u0027s own memory and security authority; no VM/IOMMU/sandbox boundary is crossed.\nC:H - The oversized-segment DMA path causes memory/data corruption during bounce-buffered transfers that can pull stale or adjacent memory into the transfer, a corruption primitive leverageable for information disclosure.\nI:H - The bug produces DMA data corruption (misdirected/truncated transfers) of kernel memory and stored data, an unbounded integrity impact.\nA:H - The defect causes kernel panics booting from SD card and swiotlb-exhaustion crashes, a full denial of service."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:43:57.321Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/00bff71745bc3583bd5ca59be91e0ee1d27f1944"
        },
        {
          "url": "https://git.kernel.org/stable/c/47693ba35bccaa16efa465159a1c12d78258349e"
        },
        {
          "url": "https://git.kernel.org/stable/c/938c13740f8b555986e53c0fcbaf00dcd1fabd4c"
        },
        {
          "url": "https://git.kernel.org/stable/c/f701eb601470bfc0a551913ce5f6ebaa770f0ce0"
        },
        {
          "url": "https://git.kernel.org/stable/c/8f9416147d7ed414109d3501f1cb3d7a1735b25a"
        },
        {
          "url": "https://git.kernel.org/stable/c/56de724c58c07a7ca3aac027cfd2ccb184ed9e4e"
        },
        {
          "url": "https://git.kernel.org/stable/c/a4685366f07448420badb710ff5c12aaaadf63ad"
        },
        {
          "url": "https://git.kernel.org/stable/c/1635e407a4a64d08a8517ac59ca14ad4fc785e75"
        }
      ],
      "title": "Revert \"mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K\"",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-53127",
    "datePublished": "2024-12-04T14:20:31.547Z",
    "dateReserved": "2024-11-19T17:17:24.995Z",
    "dateUpdated": "2026-08-05T11:43:57.321Z",
    "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…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…