CVE-2026-31781 (GCVE-0-2026-31781)
Vulnerability from cvelistv5
Published
2026-05-01 14:15
Modified
2026-05-01 14:15
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/ioc32: stop speculation on the drm_compat_ioctl path The drm compat ioctl path takes a user controlled pointer, and then dereferences it into a table of function pointers, the signature method of spectre problems. Fix this up by calling array_index_nospec() on the index to the function pointer list.
Impacted products
Vendor Product Version
Linux Linux Version: 505b5240329b922f21f91d5b5d1e535c805eca6d
Version: 505b5240329b922f21f91d5b5d1e535c805eca6d
Version: 505b5240329b922f21f91d5b5d1e535c805eca6d
Version: 505b5240329b922f21f91d5b5d1e535c805eca6d
Version: 505b5240329b922f21f91d5b5d1e535c805eca6d
Version: 505b5240329b922f21f91d5b5d1e535c805eca6d
Version: 505b5240329b922f21f91d5b5d1e535c805eca6d
Version: 505b5240329b922f21f91d5b5d1e535c805eca6d
Version: abc60edcfc87771ff244763d4d19c67766f5dd0f
Version: a2a840d6dcae960c2dfdf3fcb1b759e1b7d90663
Version: 00279b505289f7529d9be2e78915d0483ffbd314
Version: d04e6ea0cec9e7d6cba806508f657d2d0dc6cacf
Version: 7f3ebea19795eb38438cd3709fabf2afd53cf447
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/drm_ioc32.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "46a60ee8956ef1975f00455f614761c7ecedc09d",
              "status": "affected",
              "version": "505b5240329b922f21f91d5b5d1e535c805eca6d",
              "versionType": "git"
            },
            {
              "lessThan": "5bb398991f378ef74d90b14a6ea8b61ff96cc03a",
              "status": "affected",
              "version": "505b5240329b922f21f91d5b5d1e535c805eca6d",
              "versionType": "git"
            },
            {
              "lessThan": "d59c5d8539662d95887b4564f3f72ad38076a2d5",
              "status": "affected",
              "version": "505b5240329b922f21f91d5b5d1e535c805eca6d",
              "versionType": "git"
            },
            {
              "lessThan": "489f2ef2b908898d01df697dc4fe1476674be640",
              "status": "affected",
              "version": "505b5240329b922f21f91d5b5d1e535c805eca6d",
              "versionType": "git"
            },
            {
              "lessThan": "4a41c2b18fc05d30b718d2602cac339eae710b34",
              "status": "affected",
              "version": "505b5240329b922f21f91d5b5d1e535c805eca6d",
              "versionType": "git"
            },
            {
              "lessThan": "f0e441be08a2eab10b2d06fccfa267ee599dd6b3",
              "status": "affected",
              "version": "505b5240329b922f21f91d5b5d1e535c805eca6d",
              "versionType": "git"
            },
            {
              "lessThan": "27ef84bba9b9d7b03418c60fbc6069ea0e87b13c",
              "status": "affected",
              "version": "505b5240329b922f21f91d5b5d1e535c805eca6d",
              "versionType": "git"
            },
            {
              "lessThan": "f8995c2df519f382525ca4bc90553ad2ec611067",
              "status": "affected",
              "version": "505b5240329b922f21f91d5b5d1e535c805eca6d",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "abc60edcfc87771ff244763d4d19c67766f5dd0f",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "a2a840d6dcae960c2dfdf3fcb1b759e1b7d90663",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "00279b505289f7529d9be2e78915d0483ffbd314",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "d04e6ea0cec9e7d6cba806508f657d2d0dc6cacf",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "7f3ebea19795eb38438cd3709fabf2afd53cf447",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/drm_ioc32.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.20"
            },
            {
              "lessThan": "4.20",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.253",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.203",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.168",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.134",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.81",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.22",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.253",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.203",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.168",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.134",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.81",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.22",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.12",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.16.63",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.4.170",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.9.148",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.14.91",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.19.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/ioc32: stop speculation on the drm_compat_ioctl path\n\nThe drm compat ioctl path takes a user controlled pointer, and then\ndereferences it into a table of function pointers, the signature method\nof spectre problems.  Fix this up by calling array_index_nospec() on the\nindex to the function pointer list."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-01T14:15:07.933Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/46a60ee8956ef1975f00455f614761c7ecedc09d"
        },
        {
          "url": "https://git.kernel.org/stable/c/5bb398991f378ef74d90b14a6ea8b61ff96cc03a"
        },
        {
          "url": "https://git.kernel.org/stable/c/d59c5d8539662d95887b4564f3f72ad38076a2d5"
        },
        {
          "url": "https://git.kernel.org/stable/c/489f2ef2b908898d01df697dc4fe1476674be640"
        },
        {
          "url": "https://git.kernel.org/stable/c/4a41c2b18fc05d30b718d2602cac339eae710b34"
        },
        {
          "url": "https://git.kernel.org/stable/c/f0e441be08a2eab10b2d06fccfa267ee599dd6b3"
        },
        {
          "url": "https://git.kernel.org/stable/c/27ef84bba9b9d7b03418c60fbc6069ea0e87b13c"
        },
        {
          "url": "https://git.kernel.org/stable/c/f8995c2df519f382525ca4bc90553ad2ec611067"
        }
      ],
      "title": "drm/ioc32: stop speculation on the drm_compat_ioctl path",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-31781",
    "datePublished": "2026-05-01T14:15:07.933Z",
    "dateReserved": "2026-03-09T15:48:24.141Z",
    "dateUpdated": "2026-05-01T14:15:07.933Z",
    "state": "PUBLISHED"
  },
  "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…