← Back to CVE Explorer

CVE-2026-89816

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: drm: Fix drm_crtc_commit leak if signaled when PAGE_FLIP_EVENT is used Commit 1c6ceeee6ebb ("drm/atomic: Fix memleak on ERESTARTSYS during non-blocking commits") fixed a very similar issue when the event was allocated by drm_atomic_helper_setup_commit() itself. However, if the event is allocated in prepare_signaling(), it will also be set to NULL in complete_signaling(), which prevents drm_crtc_commit from being put in __drm_atomic_helper_crtc_destroy_state(). Dropping the reference when the event is set to NULL at complete_signaling() fixes the leak. The leak can be reproduced by sending a signal to the thread using DRM_MODE_PAGE_FLIP_EVENT and using a sw_sync fence to cause the atomic ioctl to block at drm_atomic_helper_wait_for_fences(). It happened both with amdgpu and vkms.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-16 11:16:46.837000
Last modified
2026-10-19 09:18:25.443000
View original CVE JSON
{
  "id": "CVE-2026-89816",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-16T11:16:46.837",
  "lastModified": "2026-10-19T09:18:25.443",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: Fix drm_crtc_commit leak if signaled when PAGE_FLIP_EVENT is used\n\nCommit 1c6ceeee6ebb (\"drm/atomic: Fix memleak on ERESTARTSYS during\nnon-blocking commits\") fixed a very similar issue when the event was\nallocated by drm_atomic_helper_setup_commit() itself.\n\nHowever, if the event is allocated in prepare_signaling(), it will also be\nset to NULL in complete_signaling(), which prevents drm_crtc_commit from\nbeing put in __drm_atomic_helper_crtc_destroy_state().\n\nDropping the reference when the event is set to NULL at\ncomplete_signaling() fixes the leak.\n\nThe leak can be reproduced by sending a signal to the thread using\nDRM_MODE_PAGE_FLIP_EVENT and using a sw_sync fence to cause the atomic\nioctl to block at drm_atomic_helper_wait_for_fences(). It happened both\nwith amdgpu and vkms."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/gpu/drm/drm_atomic_uapi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "24835e442f289813aa568d142a755672a740503c",
              "lessThan": "c5517b71101f61a45144e3cf77a19626355272de",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "24835e442f289813aa568d142a755672a740503c",
              "lessThan": "866a04137dac7e82a3848851061ff7ed15c2847e",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "24835e442f289813aa568d142a755672a740503c",
              "lessThan": "6a6a7aae4681a20cd32789fea9a487aaafa0e7a3",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "24835e442f289813aa568d142a755672a740503c",
              "lessThan": "e2f27b5ed9084feb7bae9ef2bc80de37c92280b1",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "24835e442f289813aa568d142a755672a740503c",
              "lessThan": "ff73f5f43d032c3da3c534c517f661e8dfeb358a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "24835e442f289813aa568d142a755672a740503c",
              "lessThan": "66b1b309886337745d395bbc158440ab196305ce",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "24835e442f289813aa568d142a755672a740503c",
              "lessThan": "e6195b941fdc8d81fc431c9f25539cf6c6234b51",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "24835e442f289813aa568d142a755672a740503c",
              "lessThan": "4d4be202165e832d74849b4a68e289a2a377039c",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "c75fe7899538890109aad7bbf92b2f304389e825",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2a3241044b1c4ecc13f73b7158881881fb7534a1",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4.9.19",
              "lessThan": "4.10",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "4.10.7",
              "lessThan": "4.11",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/gpu/drm/drm_atomic_uapi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.11",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.11",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.270",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.221",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.188",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.157",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.110",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.51",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.5",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/4d4be202165e832d74849b4a68e289a2a377039c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/66b1b309886337745d395bbc158440ab196305ce",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/6a6a7aae4681a20cd32789fea9a487aaafa0e7a3",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/866a04137dac7e82a3848851061ff7ed15c2847e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c5517b71101f61a45144e3cf77a19626355272de",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e2f27b5ed9084feb7bae9ef2bc80de37c92280b1",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e6195b941fdc8d81fc431c9f25539cf6c6234b51",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/ff73f5f43d032c3da3c534c517f661e8dfeb358a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}