CVE-2024-44978 (GCVE-0-2024-44978)
Vulnerability from cvelistv5
Published
2024-09-04 19:54
Modified
2026-08-05 11:37
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/xe: Free job before xe_exec_queue_put Free job depends on job->vm being valid, the last xe_exec_queue_put can destroy the VM. Prevent UAF by freeing job before xe_exec_queue_put. (cherry picked from commit 32a42c93b74c8ca6d0915ea3eba21bceff53042f)
Impacted products
Vendor Product Version
Linux Linux Version: dd08ebf6c3525a7ea2186e636df064ea47281987
Version: dd08ebf6c3525a7ea2186e636df064ea47281987
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-44978",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T15:20:40.351052Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-12T17:33:03.653Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/xe/xe_sched_job.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "98aa0330f200b9b8fb9e1298e006eda57a13351c",
              "status": "affected",
              "version": "dd08ebf6c3525a7ea2186e636df064ea47281987",
              "versionType": "git"
            },
            {
              "lessThan": "9e7f30563677fbeff62d368d5d2a5ac7aaa9746a",
              "status": "affected",
              "version": "dd08ebf6c3525a7ea2186e636df064ea47281987",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/xe/xe_sched_job.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": "6.10.*",
              "status": "unaffected",
              "version": "6.10.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.11",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10.7",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe: Free job before xe_exec_queue_put\n\nFree job depends on job-\u003evm being valid, the last xe_exec_queue_put can\ndestroy the VM. Prevent UAF by freeing job before xe_exec_queue_put.\n\n(cherry picked from commit 32a42c93b74c8ca6d0915ea3eba21bceff53042f)"
        }
      ],
      "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 vulnerability is reached only through DRM ioctls on the local Intel Xe render node (/dev/dri/renderD*) \u2014 XE_EXEC, XE_EXEC_QUEUE_CREATE/DESTROY \u2014 requiring an open file descriptor on the device. There is no remote or adjacent-network path to xe_sched_job_destroy().\nAC:L - The attacker controls every input to the bug: they create the VM and exec queue, submit the jobs, and destroy the queue so the final job reference triggers the put-before-free, and can drive the device into the wedged state to hit the fully synchronous kfree path. Where the free is deferred to a workqueue, the attacker owns both sides of the race and can retry indefinitely with heap grooming.\nPR:L - All ioctls on the path are marked DRM_RENDER_ALLOW with no DRM_AUTH, no DRM master requirement, and no capability check, so an ordinary unprivileged user with render-node access (default on desktop distros via logind ACLs, and common in GPU-enabled containers) can trigger it. No root or CAP_SYS_ADMIN is needed.\nUI:N - The attacker triggers the entire sequence from their own process with no victim action required. No file opening, mount, or interaction by another user is involved.\nS:U - The corruption is confined to kernel heap memory managed by the same kernel security authority as the attacking process. No hypervisor, IOMMU, or sandbox boundary is crossed.\nC:H - This is a use-after-free of struct xe_exec_queue plus a dereference of the already-freed xe_vm through a dangling pointer, and the attacker can reallocate the freed queue to control the pointer that is then read. Per kernel UAF guidance this yields attacker-influenced kernel memory disclosure.\nI:H - The stale q-\u003ewidth read selects which kmem_cache the job is returned to, so a sprayed replacement object produces a wrong-cache kmem_cache_free() and SLUB freelist corruption \u2014 a write primitive leveragable for control-flow hijack and privilege escalation. Per guidance, use-after-free is scored High for integrity.\nA:H - Even unexploited, dereferencing the freed exec queue and freed VM causes a kernel oops or panic, and mismatched slab frees corrupt allocator state leading to later crashes. Any unprivileged user with render-node access can repeat this at will."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:37:25.547Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/98aa0330f200b9b8fb9e1298e006eda57a13351c"
        },
        {
          "url": "https://git.kernel.org/stable/c/9e7f30563677fbeff62d368d5d2a5ac7aaa9746a"
        }
      ],
      "title": "drm/xe: Free job before xe_exec_queue_put",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-44978",
    "datePublished": "2024-09-04T19:54:29.559Z",
    "dateReserved": "2024-08-21T05:34:56.670Z",
    "dateUpdated": "2026-08-05T11:37:25.547Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-44978\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T15:20:40.351052Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:13.758Z\"}}], \"cna\": {\"title\": \"drm/xe: Free job before xe_exec_queue_put\", \"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 vulnerability is reached only through DRM ioctls on the local Intel Xe render node (/dev/dri/renderD*) \\u2014 XE_EXEC, XE_EXEC_QUEUE_CREATE/DESTROY \\u2014 requiring an open file descriptor on the device. There is no remote or adjacent-network path to xe_sched_job_destroy().\\nAC:L - The attacker controls every input to the bug: they create the VM and exec queue, submit the jobs, and destroy the queue so the final job reference triggers the put-before-free, and can drive the device into the wedged state to hit the fully synchronous kfree path. Where the free is deferred to a workqueue, the attacker owns both sides of the race and can retry indefinitely with heap grooming.\\nPR:L - All ioctls on the path are marked DRM_RENDER_ALLOW with no DRM_AUTH, no DRM master requirement, and no capability check, so an ordinary unprivileged user with render-node access (default on desktop distros via logind ACLs, and common in GPU-enabled containers) can trigger it. No root or CAP_SYS_ADMIN is needed.\\nUI:N - The attacker triggers the entire sequence from their own process with no victim action required. No file opening, mount, or interaction by another user is involved.\\nS:U - The corruption is confined to kernel heap memory managed by the same kernel security authority as the attacking process. No hypervisor, IOMMU, or sandbox boundary is crossed.\\nC:H - This is a use-after-free of struct xe_exec_queue plus a dereference of the already-freed xe_vm through a dangling pointer, and the attacker can reallocate the freed queue to control the pointer that is then read. Per kernel UAF guidance this yields attacker-influenced kernel memory disclosure.\\nI:H - The stale q-\u003ewidth read selects which kmem_cache the job is returned to, so a sprayed replacement object produces a wrong-cache kmem_cache_free() and SLUB freelist corruption \\u2014 a write primitive leveragable for control-flow hijack and privilege escalation. Per guidance, use-after-free is scored High for integrity.\\nA:H - Even unexploited, dereferencing the freed exec queue and freed VM causes a kernel oops or panic, and mismatched slab frees corrupt allocator state leading to later crashes. Any unprivileged user with render-node access can repeat this at will.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"dd08ebf6c3525a7ea2186e636df064ea47281987\", \"lessThan\": \"98aa0330f200b9b8fb9e1298e006eda57a13351c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"dd08ebf6c3525a7ea2186e636df064ea47281987\", \"lessThan\": \"9e7f30563677fbeff62d368d5d2a5ac7aaa9746a\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/gpu/drm/xe/xe_sched_job.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\": \"6.10.7\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/gpu/drm/xe/xe_sched_job.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/98aa0330f200b9b8fb9e1298e006eda57a13351c\"}, {\"url\": \"https://git.kernel.org/stable/c/9e7f30563677fbeff62d368d5d2a5ac7aaa9746a\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/xe: Free job before xe_exec_queue_put\\n\\nFree job depends on job-\u003evm being valid, the last xe_exec_queue_put can\\ndestroy the VM. Prevent UAF by freeing job before xe_exec_queue_put.\\n\\n(cherry picked from commit 32a42c93b74c8ca6d0915ea3eba21bceff53042f)\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10.7\", \"versionStartIncluding\": \"6.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11\", \"versionStartIncluding\": \"6.8\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T11:37:25.547Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-44978\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T11:37:25.547Z\", \"dateReserved\": \"2024-08-21T05:34:56.670Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-09-04T19:54:29.559Z\", \"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…

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…