{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "3d713e0e382e6fcfb4bba1501645b66c129ad60b"
            },
            {
              "fixed": "492349e5e4a369a8b62781100a3ade470bf1ce6b"
            },
            {
              "fixed": "9a6086d2a828dd2ff74cf9abcae456670febd71f"
            },
            {
              "fixed": "7c02a9bd7d14a89065fcf672b86d8e1d1a41d3b1"
            },
            {
              "fixed": "edee7ee5a14c3b33f6d54641f5af5c5e9180992d"
            },
            {
              "fixed": "2b38efc05bf7a8568ec74bfffea0f5cfa62bc01d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.17.0"
            },
            {
              "fixed": "6.6.142"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.80"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.21"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31527.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndriver core: platform: use generic driver_override infrastructure\n\nWhen a driver is probed through __driver_attach(), the bus' match()\ncallback is called without the device lock held, thus accessing the\ndriver_override field without a lock, which can cause a UAF.\n\nFix this by using the driver-core driver_override infrastructure taking\ncare of proper locking internally.\n\nNote that calling match() from __driver_attach() without the device lock\nheld is intentional. [1]",
  "id": "CVE-2026-31527",
  "modified": "2026-07-08T05:39:20.533507808Z",
  "published": "2026-04-22T13:54:40.485Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2b38efc05bf7a8568ec74bfffea0f5cfa62bc01d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/492349e5e4a369a8b62781100a3ade470bf1ce6b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7c02a9bd7d14a89065fcf672b86d8e1d1a41d3b1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9a6086d2a828dd2ff74cf9abcae456670febd71f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/edee7ee5a14c3b33f6d54641f5af5c5e9180992d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31527.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31527"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "driver core: platform: use generic driver_override infrastructure"
}