CVE-2024-41011 (GCVE-0-2024-41011)

Vulnerability from cvelistv5 – Published: 2024-07-18 07:04 – Updated: 2025-11-03 21:59
VLAI?
Title
drm/amdkfd: don't allow mapping the MMIO HDP page with large pages
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: don't allow mapping the MMIO HDP page with large pages We don't get the right offset in that case. The GPU has an unused 4K area of the register BAR space into which you can remap registers. We remap the HDP flush registers into this space to allow userspace (CPU or GPU) to flush the HDP when it updates VRAM. However, on systems with >4K pages, we end up exposing PAGE_SIZE of MMIO space.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: d8e408a82704c86ba87c3d58cfe69dcdb758aa07 , < 009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884 (git)
Affected: d8e408a82704c86ba87c3d58cfe69dcdb758aa07 , < f7276cdc1912325b64c33fcb1361952c06e55f63 (git)
Affected: d8e408a82704c86ba87c3d58cfe69dcdb758aa07 , < 8ad4838040e5515939c071a0f511ce2661a0889d (git)
Affected: d8e408a82704c86ba87c3d58cfe69dcdb758aa07 , < 89fffbdf535ce659c1a26b51ad62070566e33b28 (git)
Affected: d8e408a82704c86ba87c3d58cfe69dcdb758aa07 , < 4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724 (git)
Affected: d8e408a82704c86ba87c3d58cfe69dcdb758aa07 , < 6186c93560889265bfe0914609c274eff40bbeb5 (git)
Affected: d8e408a82704c86ba87c3d58cfe69dcdb758aa07 , < be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7 (git)
Create a notification for this product.
    Linux Linux Affected: 5.3
Unaffected: 0 , < 5.3 (semver)
Unaffected: 5.4.283 , ≤ 5.4.* (semver)
Unaffected: 5.10.225 , ≤ 5.10.* (semver)
Unaffected: 5.15.166 , ≤ 5.15.* (semver)
Unaffected: 6.1.91 , ≤ 6.1.* (semver)
Unaffected: 6.6.31 , ≤ 6.6.* (semver)
Unaffected: 6.8.10 , ≤ 6.8.* (semver)
Unaffected: 6.9 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T21:59:14.566Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/89fffbdf535ce659c1a26b51ad62070566e33b28"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/6186c93560889265bfe0914609c274eff40bbeb5"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7"
          },
          {
            "url": "https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-41011",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T16:25:05.897243Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:34:06.529Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884",
              "status": "affected",
              "version": "d8e408a82704c86ba87c3d58cfe69dcdb758aa07",
              "versionType": "git"
            },
            {
              "lessThan": "f7276cdc1912325b64c33fcb1361952c06e55f63",
              "status": "affected",
              "version": "d8e408a82704c86ba87c3d58cfe69dcdb758aa07",
              "versionType": "git"
            },
            {
              "lessThan": "8ad4838040e5515939c071a0f511ce2661a0889d",
              "status": "affected",
              "version": "d8e408a82704c86ba87c3d58cfe69dcdb758aa07",
              "versionType": "git"
            },
            {
              "lessThan": "89fffbdf535ce659c1a26b51ad62070566e33b28",
              "status": "affected",
              "version": "d8e408a82704c86ba87c3d58cfe69dcdb758aa07",
              "versionType": "git"
            },
            {
              "lessThan": "4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724",
              "status": "affected",
              "version": "d8e408a82704c86ba87c3d58cfe69dcdb758aa07",
              "versionType": "git"
            },
            {
              "lessThan": "6186c93560889265bfe0914609c274eff40bbeb5",
              "status": "affected",
              "version": "d8e408a82704c86ba87c3d58cfe69dcdb758aa07",
              "versionType": "git"
            },
            {
              "lessThan": "be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7",
              "status": "affected",
              "version": "d8e408a82704c86ba87c3d58cfe69dcdb758aa07",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdkfd/kfd_chardev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.3"
            },
            {
              "lessThan": "5.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.283",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.225",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.166",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.91",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.31",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.10",
              "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.283",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.225",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.166",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.91",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.31",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8.10",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: don\u0027t allow mapping the MMIO HDP page with large pages\n\nWe don\u0027t get the right offset in that case.  The GPU has\nan unused 4K area of the register BAR space into which you can\nremap registers.  We remap the HDP flush registers into this\nspace to allow userspace (CPU or GPU) to flush the HDP when it\nupdates VRAM.  However, on systems with \u003e4K pages, we end up\nexposing PAGE_SIZE of MMIO space."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T09:20:03.246Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884"
        },
        {
          "url": "https://git.kernel.org/stable/c/f7276cdc1912325b64c33fcb1361952c06e55f63"
        },
        {
          "url": "https://git.kernel.org/stable/c/8ad4838040e5515939c071a0f511ce2661a0889d"
        },
        {
          "url": "https://git.kernel.org/stable/c/89fffbdf535ce659c1a26b51ad62070566e33b28"
        },
        {
          "url": "https://git.kernel.org/stable/c/4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724"
        },
        {
          "url": "https://git.kernel.org/stable/c/6186c93560889265bfe0914609c274eff40bbeb5"
        },
        {
          "url": "https://git.kernel.org/stable/c/be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7"
        }
      ],
      "title": "drm/amdkfd: don\u0027t allow mapping the MMIO HDP page with large pages",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-41011",
    "datePublished": "2024-07-18T07:04:04.823Z",
    "dateReserved": "2024-07-12T12:17:45.610Z",
    "dateUpdated": "2025-11-03T21:59:14.566Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"cna\": {\"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-09-04T12:02:04.809Z\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/amdkfd: don\u0027t allow mapping the MMIO HDP page with large pages\\n\\nWe don\u0027t get the right offset in that case.  The GPU has\\nan unused 4K area of the register BAR space into which you can\\nremap registers.  We remap the HDP flush registers into this\\nspace to allow userspace (CPU or GPU) to flush the HDP when it\\nupdates VRAM.  However, on systems with \u003e4K pages, we end up\\nexposing PAGE_SIZE of MMIO space.\"}], \"affected\": [{\"product\": \"Linux\", \"vendor\": \"Linux\", \"defaultStatus\": \"unaffected\", \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"programFiles\": [\"drivers/gpu/drm/amd/amdkfd/kfd_chardev.c\"], \"versions\": [{\"version\": \"d8e408a82704\", \"lessThan\": \"009c4d78bcf0\", \"status\": \"affected\", \"versionType\": \"git\"}, {\"version\": \"d8e408a82704\", \"lessThan\": \"f7276cdc1912\", \"status\": \"affected\", \"versionType\": \"git\"}, {\"version\": \"d8e408a82704\", \"lessThan\": \"8ad4838040e5\", \"status\": \"affected\", \"versionType\": \"git\"}, {\"version\": \"d8e408a82704\", \"lessThan\": \"89fffbdf535c\", \"status\": \"affected\", \"versionType\": \"git\"}, {\"version\": \"d8e408a82704\", \"lessThan\": \"4b4cff994a27\", \"status\": \"affected\", \"versionType\": \"git\"}, {\"version\": \"d8e408a82704\", \"lessThan\": \"6186c9356088\", \"status\": \"affected\", \"versionType\": \"git\"}, {\"version\": \"d8e408a82704\", \"lessThan\": \"be4a2a81b6b9\", \"status\": \"affected\", \"versionType\": \"git\"}]}, {\"product\": \"Linux\", \"vendor\": \"Linux\", \"defaultStatus\": \"affected\", \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"programFiles\": [\"drivers/gpu/drm/amd/amdkfd/kfd_chardev.c\"], \"versions\": [{\"version\": \"5.3\", \"status\": \"affected\"}, {\"version\": \"0\", \"lessThan\": \"5.3\", \"status\": \"unaffected\", \"versionType\": \"custom\"}, {\"version\": \"5.4.283\", \"lessThanOrEqual\": \"5.4.*\", \"status\": \"unaffected\", \"versionType\": \"custom\"}, {\"version\": \"5.10.225\", \"lessThanOrEqual\": \"5.10.*\", \"status\": \"unaffected\", \"versionType\": \"custom\"}, {\"version\": \"5.15.166\", \"lessThanOrEqual\": \"5.15.*\", \"status\": \"unaffected\", \"versionType\": \"custom\"}, {\"version\": \"6.1.91\", \"lessThanOrEqual\": \"6.1.*\", \"status\": \"unaffected\", \"versionType\": \"custom\"}, {\"version\": \"6.6.31\", \"lessThanOrEqual\": \"6.6.*\", \"status\": \"unaffected\", \"versionType\": \"custom\"}, {\"version\": \"6.8.10\", \"lessThanOrEqual\": \"6.8.*\", \"status\": \"unaffected\", \"versionType\": \"custom\"}, {\"version\": \"6.9\", \"lessThanOrEqual\": \"*\", \"status\": \"unaffected\", \"versionType\": \"original_commit_for_fix\"}]}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884\"}, {\"url\": \"https://git.kernel.org/stable/c/f7276cdc1912325b64c33fcb1361952c06e55f63\"}, {\"url\": \"https://git.kernel.org/stable/c/8ad4838040e5515939c071a0f511ce2661a0889d\"}, {\"url\": \"https://git.kernel.org/stable/c/89fffbdf535ce659c1a26b51ad62070566e33b28\"}, {\"url\": \"https://git.kernel.org/stable/c/4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724\"}, {\"url\": \"https://git.kernel.org/stable/c/6186c93560889265bfe0914609c274eff40bbeb5\"}, {\"url\": \"https://git.kernel.org/stable/c/be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7\"}], \"title\": \"drm/amdkfd: don\u0027t allow mapping the MMIO HDP page with large pages\", \"x_generator\": {\"engine\": \"bippy-c9c4e1df01b2\"}}, \"adp\": [{\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-41011\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T16:25:05.897243Z\"}}}], \"providerMetadata\": {\"shortName\": \"CISA-ADP\", \"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"dateUpdated\": \"2024-09-11T12:42:20.702Z\"}, \"title\": \"CISA ADP Vulnrichment\"}]}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-41011\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"state\": \"PUBLISHED\", \"assignerShortName\": \"Linux\", \"dateReserved\": \"2024-07-12T12:17:45.610Z\", \"datePublished\": \"2024-07-18T07:04:04.823Z\", \"dateUpdated\": \"2024-09-04T12:02:04.809Z\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


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 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…