CVE-2026-99480 (GCVE-0-2026-99480)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:43 – Updated: 2026-11-22 11:08
VLAI
Title
drm/panthor: Fix TOCTOU race between GROUP_REGISTERED check and erase
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Fix TOCTOU race between GROUP_REGISTERED check and erase panthor_group_destroy() checks the GROUP_REGISTERED mark and then calls xa_erase() without holding the xarray lock across both. If the handle is destroyed by another thread in between, and a concurrent GROUP_CREATE reuses the freed ID, the first destroy erases and releases the new, still-initializing group, leading to a use-after-free in panthor_group_create(). Do the mark check and erase atomically under xa_lock().
Impacted products
Vendor Product Version
Linux Linux Affected: c6bbec068a9accd6f1df05f3df9a5254c99292ee , < 01806613d39191f530e72926960b20638e8cde93 (git)
Affected: c646ebff3fa571e7ea974235286fb9ed3edc260c , < aa0be226ff227b051205d05dcfd6d38c0200e5ae (git)
Affected: eec7e23d848d2194dd8791fcd0f4a54d4378eecd , < 4fa318e637dc83ed621073b058bcf404a2ff0845 (git)
Affected: eec7e23d848d2194dd8791fcd0f4a54d4378eecd , < 7764289d76a38c3a2f9b093bf17e193ab54acd70 (git)
Affected: deb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05 (git)
Affected: 6.12.114 , < 6.12.117 (semver)
Affected: 6.18.2 , < 6.18.61 (semver)
Affected: 6.17.13 , < 6.18 (semver)
Create a notification for this product.
Linux Linux Affected: 6.19
Unaffected: 0 , < 6.19 (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.61 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/panthor/panthor_sched.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "01806613d39191f530e72926960b20638e8cde93",
              "status": "affected",
              "version": "c6bbec068a9accd6f1df05f3df9a5254c99292ee",
              "versionType": "git"
            },
            {
              "lessThan": "aa0be226ff227b051205d05dcfd6d38c0200e5ae",
              "status": "affected",
              "version": "c646ebff3fa571e7ea974235286fb9ed3edc260c",
              "versionType": "git"
            },
            {
              "lessThan": "4fa318e637dc83ed621073b058bcf404a2ff0845",
              "status": "affected",
              "version": "eec7e23d848d2194dd8791fcd0f4a54d4378eecd",
              "versionType": "git"
            },
            {
              "lessThan": "7764289d76a38c3a2f9b093bf17e193ab54acd70",
              "status": "affected",
              "version": "eec7e23d848d2194dd8791fcd0f4a54d4378eecd",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "deb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05",
              "versionType": "git"
            },
            {
              "lessThan": "6.12.117",
              "status": "affected",
              "version": "6.12.114",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18.61",
              "status": "affected",
              "version": "6.18.2",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18",
              "status": "affected",
              "version": "6.17.13",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/panthor/panthor_sched.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.19"
            },
            {
              "lessThan": "6.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "6.12.114",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.61",
                  "versionStartIncluding": "6.18.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.17.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panthor: Fix TOCTOU race between GROUP_REGISTERED check and erase\n\npanthor_group_destroy() checks the GROUP_REGISTERED mark and then calls\nxa_erase() without holding the xarray lock across both. If the handle is\ndestroyed by another thread in between, and a concurrent GROUP_CREATE\nreuses the freed ID, the first destroy erases and releases the new,\nstill-initializing group, leading to a use-after-free in\npanthor_group_create().\n\nDo the mark check and erase atomically under xa_lock()."
        }
      ],
      "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 - DRM_IOCTL_PANTHOR_GROUP_DESTROY enters panthor_group_destroy() via drm_ioctl() and panthor_ioctl_group_destroy() on the fd opened by drm_open() (panthor_drm_driver_fops.unlocked_ioctl). The raced value is that ioctl\u0027s group_handle, supplied by the local process that owns pfile-\u003egroups.\nAC:L - The attacker races two threads on one panthor_file: panthor_group_destroy() sees xa_get_mark(GROUP_REGISTERED) and later calls xa_erase(), while panthor_group_create() reuses that id through xa_alloc() (XA_FLAGS_ALLOC1, ids 1..MAX_GROUPS_PER_POOL) before xa_set_mark(). Both calls are the attacker\u0027s ioctls, retried across the group_create_queue() window.\nPR:L - GROUP_CREATE and GROUP_DESTROY are registered with only DRM_RENDER_ALLOW. drm_ioctl_permit() accepts any render-node opener, group_priority_permit() accepts priority \u003c= PANTHOR_GROUP_PRIORITY_MEDIUM without CAP_SYS_NICE, and panthor_open() allocates the file with no capability check.\nUI:N - The attacker opens the Panthor render node, calls DRM_IOCTL_PANTHOR_VM_CREATE, then races DRM_IOCTL_PANTHOR_GROUP_CREATE with DRM_IOCTL_PANTHOR_GROUP_DESTROY on that fd. Every step is the attacker\u0027s own ioctl.\nS:U - The prematurely dropped kref frees the panthor_group allocated by kzalloc_obj() in panthor_group_create() and can splice group-\u003erun_node into sched-\u003egroups.idle[]. Both objects belong to the host kernel, so the impact is a kernel privilege escalation in the same security authority.\nC:H - The racing group_put() lets group_release_work() kfree() the panthor_group after synchronize_rcu() while panthor_group_create() still loads group-\u003evm, group-\u003equeues[], and group-\u003esuspend_buf in group_create_queue() and add_group_kbo_sizes(). That is a use-after-free read of a reclaimable kmalloc object.\nI:H - panthor_group_create() still runs list_add_tail(\u0026group-\u003erun_node, \u0026sched-\u003egroups.idle[group-\u003epriority]) on the erased group, and group_release_work() calls group_free_queue() and panthor_kernel_bo_destroy() on the ringbuf, iface.mem, and suspend_buf that creation is still initializing.\nA:H - group_release_work() kfree()s the live panthor_group and group_free_queue() calls drm_sched_fini() while group_create_queue() may be inside drm_sched_entity_init(), and the scheduler can walk a run_node linked after that free. Those faults oops the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-22T11:08:36.087Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/01806613d39191f530e72926960b20638e8cde93"
        },
        {
          "url": "https://git.kernel.org/stable/c/aa0be226ff227b051205d05dcfd6d38c0200e5ae"
        },
        {
          "url": "https://git.kernel.org/stable/c/4fa318e637dc83ed621073b058bcf404a2ff0845"
        },
        {
          "url": "https://git.kernel.org/stable/c/7764289d76a38c3a2f9b093bf17e193ab54acd70"
        }
      ],
      "title": "drm/panthor: Fix TOCTOU race between GROUP_REGISTERED check and erase",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99480",
    "datePublished": "2026-11-19T14:43:15.555Z",
    "dateReserved": "2026-09-25T10:25:14.417Z",
    "dateUpdated": "2026-11-22T11:08:36.087Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99480",
      "date": "2026-11-22",
      "epss": "0.00168",
      "percentile": "0.06225"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/panthor/panthor_sched.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "01806613d39191f530e72926960b20638e8cde93",
                    "status": "affected",
                    "version": "c6bbec068a9accd6f1df05f3df9a5254c99292ee",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "aa0be226ff227b051205d05dcfd6d38c0200e5ae",
                    "status": "affected",
                    "version": "c646ebff3fa571e7ea974235286fb9ed3edc260c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4fa318e637dc83ed621073b058bcf404a2ff0845",
                    "status": "affected",
                    "version": "eec7e23d848d2194dd8791fcd0f4a54d4378eecd",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7764289d76a38c3a2f9b093bf17e193ab54acd70",
                    "status": "affected",
                    "version": "eec7e23d848d2194dd8791fcd0f4a54d4378eecd",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "deb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.12.117",
                    "status": "affected",
                    "version": "6.12.114",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.18.61",
                    "status": "affected",
                    "version": "6.18.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.18",
                    "status": "affected",
                    "version": "6.17.13",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/gpu/drm/panthor/panthor_sched.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.19"
                  },
                  {
                    "lessThan": "6.19",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.61",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panthor: Fix TOCTOU race between GROUP_REGISTERED check and erase\n\npanthor_group_destroy() checks the GROUP_REGISTERED mark and then calls\nxa_erase() without holding the xarray lock across both. If the handle is\ndestroyed by another thread in between, and a concurrent GROUP_CREATE\nreuses the freed ID, the first destroy erases and releases the new,\nstill-initializing group, leading to a use-after-free in\npanthor_group_create().\n\nDo the mark check and erase atomically under xa_lock()."
          }
        ],
        "id": "CVE-2026-99480",
        "lastModified": "2026-11-22T11:16:53.990",
        "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"
            }
          ]
        },
        "published": "2026-11-19T15:18:02.620",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/01806613d39191f530e72926960b20638e8cde93"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/4fa318e637dc83ed621073b058bcf404a2ff0845"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7764289d76a38c3a2f9b093bf17e193ab54acd70"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/aa0be226ff227b051205d05dcfd6d38c0200e5ae"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-11-22T11:31:16+00:00",
      "cve": "CVE-2026-99480",
      "id": "CVE-2026-99480",
      "initial_release_date": "2026-11-19T14:43:15.555000+00:00",
      "product_status:known_not_affected": "204",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: panthor: Use-after-free via race condition in panthor_group_destroy()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99480.json",
      "version": "3"
    }
  }
}



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…