CVE-2026-31781 (GCVE-0-2026-31781)

Vulnerability from cvelistv5 – Published: 2026-05-01 14:15 – Updated: 2026-05-23 16:05
VLAI
Title
drm/ioc32: stop speculation on the drm_compat_ioctl path
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 CPE status
Linux Linux Affected: 505b5240329b922f21f91d5b5d1e535c805eca6d , < 46a60ee8956ef1975f00455f614761c7ecedc09d (git)
Affected: 505b5240329b922f21f91d5b5d1e535c805eca6d , < 5bb398991f378ef74d90b14a6ea8b61ff96cc03a (git)
Affected: 505b5240329b922f21f91d5b5d1e535c805eca6d , < d59c5d8539662d95887b4564f3f72ad38076a2d5 (git)
Affected: 505b5240329b922f21f91d5b5d1e535c805eca6d , < 489f2ef2b908898d01df697dc4fe1476674be640 (git)
Affected: 505b5240329b922f21f91d5b5d1e535c805eca6d , < 4a41c2b18fc05d30b718d2602cac339eae710b34 (git)
Affected: 505b5240329b922f21f91d5b5d1e535c805eca6d , < f0e441be08a2eab10b2d06fccfa267ee599dd6b3 (git)
Affected: 505b5240329b922f21f91d5b5d1e535c805eca6d , < 27ef84bba9b9d7b03418c60fbc6069ea0e87b13c (git)
Affected: 505b5240329b922f21f91d5b5d1e535c805eca6d , < f8995c2df519f382525ca4bc90553ad2ec611067 (git)
Affected: abc60edcfc87771ff244763d4d19c67766f5dd0f (git)
Affected: a2a840d6dcae960c2dfdf3fcb1b759e1b7d90663 (git)
Affected: 00279b505289f7529d9be2e78915d0483ffbd314 (git)
Affected: d04e6ea0cec9e7d6cba806508f657d2d0dc6cacf (git)
Affected: 7f3ebea19795eb38438cd3709fabf2afd53cf447 (git)
Affected: 3.16.63 , < 3.17 (semver)
Affected: 4.4.170 , < 4.5 (semver)
Affected: 4.9.148 , < 4.10 (semver)
Affected: 4.14.91 , < 4.15 (semver)
Affected: 4.19.13 , < 4.20 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 4.20
Unaffected: 0 , < 4.20 (semver)
Unaffected: 5.10.253 , ≤ 5.10.* (semver)
Unaffected: 5.15.203 , ≤ 5.15.* (semver)
Unaffected: 6.1.168 , ≤ 6.1.* (semver)
Unaffected: 6.6.134 , ≤ 6.6.* (semver)
Unaffected: 6.12.81 , ≤ 6.12.* (semver)
Unaffected: 6.18.22 , ≤ 6.18.* (semver)
Unaffected: 6.19.12 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
guessed 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"
            },
            {
              "lessThan": "3.17",
              "status": "affected",
              "version": "3.16.63",
              "versionType": "semver"
            },
            {
              "lessThan": "4.5",
              "status": "affected",
              "version": "4.4.170",
              "versionType": "semver"
            },
            {
              "lessThan": "4.10",
              "status": "affected",
              "version": "4.9.148",
              "versionType": "semver"
            },
            {
              "lessThan": "4.15",
              "status": "affected",
              "version": "4.14.91",
              "versionType": "semver"
            },
            {
              "lessThan": "4.20",
              "status": "affected",
              "version": "4.19.13",
              "versionType": "semver"
            }
          ]
        },
        {
          "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-23T16:05:56.217Z",
        "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-23T16:05:56.217Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-31781",
      "date": "2026-09-21",
      "epss": "0.00123",
      "percentile": "0.02351"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  },
                  {
                    "lessThan": "3.17",
                    "status": "affected",
                    "version": "3.16.63",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "4.5",
                    "status": "affected",
                    "version": "4.4.170",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "4.10",
                    "status": "affected",
                    "version": "4.9.148",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "4.15",
                    "status": "affected",
                    "version": "4.14.91",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "4.20",
                    "status": "affected",
                    "version": "4.19.13",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "397E9355-802C-42FB-9D2D-91CFA8EA9AD2",
                    "versionEndExcluding": "3.17",
                    "versionStartIncluding": "3.16.63",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6D2CF938-4FA1-416D-AC49-F221731F57ED",
                    "versionEndExcluding": "4.5",
                    "versionStartIncluding": "4.4.170",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "33F3E0D4-C480-40A1-A07F-D8A3FCA24950",
                    "versionEndExcluding": "4.10",
                    "versionStartIncluding": "4.9.148",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5D7F3172-4AC1-481C-9E21-1366A469147F",
                    "versionEndExcluding": "4.15",
                    "versionStartIncluding": "4.14.91",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "9405B32A-678E-4CD1-94D3-4FBB7DD0430F",
                    "versionEndExcluding": "4.20",
                    "versionStartIncluding": "4.19.13",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "99763E34-9798-4EED-94CE-E0AFF0E63F37",
                    "versionEndExcluding": "5.10.253",
                    "versionStartIncluding": "4.20.1",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "20DDB3E9-AABF-4107-ADB0-5362AA067045",
                    "versionEndExcluding": "5.15.203",
                    "versionStartIncluding": "5.11",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E2DDDCA1-6DAB-4018-B920-8F045DDD8D3B",
                    "versionEndExcluding": "6.1.168",
                    "versionStartIncluding": "5.16",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F56F925B-BAF8-4F4B-B62F-1496AF19A307",
                    "versionEndExcluding": "6.6.134",
                    "versionStartIncluding": "6.2",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6EF80433-B33B-43C5-8E64-0FA7B8DCE1BC",
                    "versionEndExcluding": "6.12.81",
                    "versionStartIncluding": "6.7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C9DF8BCE-36D3-475D-9D21-19E4F02F9029",
                    "versionEndExcluding": "6.18.22",
                    "versionStartIncluding": "6.13",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0A2B9540-02D5-41B4-B16A-82AF66FD4F36",
                    "versionEndExcluding": "6.19.12",
                    "versionStartIncluding": "6.19",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:4.20:-:*:*:*:*:*:*",
                    "matchCriteriaId": "1072305B-94A8-4D68-9419-B786885AA310",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
                    "matchCriteriaId": "F253B622-8837-4245-BCE5-A7BF8FC76A16",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
                    "matchCriteriaId": "4AE85AD8-4641-4E7C-A2F4-305E2CD9EE64",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
                    "matchCriteriaId": "F666C8D8-6538-46D4-B318-87610DE64C34",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
                    "matchCriteriaId": "02259FDA-961B-47BC-AE7F-93D7EC6E90C2",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
                    "matchCriteriaId": "58A9FEFF-C040-420D-8F0A-BFDAAA1DF258",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*",
                    "matchCriteriaId": "1D2315C0-D46F-4F85-9754-F9E5E11374A6",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "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."
          }
        ],
        "id": "CVE-2026-31781",
        "lastModified": "2026-06-17T10:34:27.110",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2026-05-01T15:16:41.577",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/27ef84bba9b9d7b03418c60fbc6069ea0e87b13c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/46a60ee8956ef1975f00455f614761c7ecedc09d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/489f2ef2b908898d01df697dc4fe1476674be640"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/4a41c2b18fc05d30b718d2602cac339eae710b34"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/5bb398991f378ef74d90b14a6ea8b61ff96cc03a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/d59c5d8539662d95887b4564f3f72ad38076a2d5"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/f0e441be08a2eab10b2d06fccfa267ee599dd6b3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/f8995c2df519f382525ca4bc90553ad2ec611067"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "NVD-CWE-noinfo"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-28T11:51:10+00:00",
      "cve": "CVE-2026-31781",
      "id": "CVE-2026-31781",
      "initial_release_date": "2026-05-01T00:00:00+00:00",
      "product_status:known_affected": "246",
      "product_status:known_not_affected": "28",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: drm/ioc32: stop speculation on the drm_compat_ioctl path",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31781.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T13:42:21Z",
      "cve": "CVE-2026-31781",
      "id": "CVE-2026-31781",
      "initial_release_date": "2026-05-06T01:42:38Z",
      "product_status:first_fixed": "2",
      "product_status:known_affected": "639",
      "product_status:known_not_affected": "19",
      "product_status:recommended": "273",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-31781",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-31781.json",
      "version": "9"
    }
  }
}



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…

Detection rules are retrieved from Rulezet.

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…