{
  "id": "CVE-2025-38401",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38401",
  "published_at": "2025-07-25T12:53:44.961Z",
  "title": "mtk-sd: Prevent memory corruption from DMA map failure",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nmtk-sd: Prevent memory corruption from DMA map failure\n\nIf msdc_prepare_data() fails to map the DMA region, the request is\nnot prepared for data receiving, but msdc_start_data() proceeds\nthe DMA with previous setting.\nSince this will lead a memory corruption, we have to stop the\nrequest operation soon after the msdc_prepare_data() fails to\nprepare it.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 208489032bdd8d4a7de50f3057c175058f271956, \u003c 5ac9e9e2e9cd6247d8c2d99780eae4556049e1cc",
          "\u003e= 208489032bdd8d4a7de50f3057c175058f271956, \u003c d54771571f74a82c59830a32e76af78a8e57ac69",
          "\u003e= 208489032bdd8d4a7de50f3057c175058f271956, \u003c 48bf4f3dfcdab02b22581d8e350a2d23130b72c0",
          "\u003e= 208489032bdd8d4a7de50f3057c175058f271956, \u003c 63e8953f16acdcb23e2d4dd8a566d3c34df3e200",
          "\u003e= 208489032bdd8d4a7de50f3057c175058f271956, \u003c 61cdd663564674ea21ceb50aa9d3697cbe9e45f9",
          "\u003e= 208489032bdd8d4a7de50f3057c175058f271956, \u003c 3419bc6a7b65cbbb91417bb9970208478e034c79",
          "\u003e= 208489032bdd8d4a7de50f3057c175058f271956, \u003c a5f5f67b284d81776d4a3eb1f8607e4b7f91f11c",
          "\u003e= 208489032bdd8d4a7de50f3057c175058f271956, \u003c f5de469990f19569627ea0dd56536ff5a13beaa3"
        ],
        "fixed_in": [
          "5ac9e9e2e9cd6247d8c2d99780eae4556049e1cc",
          "d54771571f74a82c59830a32e76af78a8e57ac69",
          "48bf4f3dfcdab02b22581d8e350a2d23130b72c0",
          "63e8953f16acdcb23e2d4dd8a566d3c34df3e200",
          "61cdd663564674ea21ceb50aa9d3697cbe9e45f9",
          "3419bc6a7b65cbbb91417bb9970208478e034c79",
          "a5f5f67b284d81776d4a3eb1f8607e4b7f91f11c",
          "f5de469990f19569627ea0dd56536ff5a13beaa3"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.2"
        ],
        "fixed_in": [
          "0",
          "5.4.296",
          "5.10.240",
          "5.15.187",
          "6.1.144",
          "6.6.97",
          "6.12.37",
          "6.15.6",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 5ac9e9e2e9cd6247d8c2d99780eae4556049e1cc or d54771571f74a82c59830a32e76af78a8e57ac69 or 48bf4f3dfcdab02b22581d8e350a2d23130b72c0 or 63e8953f16acdcb23e2d4dd8a566d3c34df3e200 or 61cdd663564674ea21ceb50aa9d3697cbe9e45f9 or 3419bc6a7b65cbbb91417bb9970208478e034c79 or a5f5f67b284d81776d4a3eb1f8607e4b7f91f11c or f5de469990f19569627ea0dd56536ff5a13beaa3 or later.",
      "Upgrade Linux to 0 or 5.4.296 or 5.10.240 or 5.15.187 or 6.1.144 or 6.6.97 or 6.12.37 or 6.15.6 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
