{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "6093d3002eabd7c2913d97f1d1f4ce34b072acf9"
            },
            {
              "fixed": "331242998a7ade5c2f65e14988901614629f3db5"
            },
            {
              "fixed": "2c685e99efb3b3bd2b78699fba6b1cf321975db0"
            },
            {
              "fixed": "585fd9a2063dacce8b2820f675ef23d5d17434c5"
            },
            {
              "fixed": "1a0d9083c24fbd5d22f7100f09d11e4d696a5f01"
            },
            {
              "fixed": "d8549a453d5bdc0a71de66ad47a1106703406a56"
            },
            {
              "fixed": "72b9e81e0203f03c40f3adb457f55bd4c8eb112d"
            },
            {
              "fixed": "cf2023e84f0888f96f4b65dc0804e7f3651969c1"
            },
            {
              "fixed": "bef4f4a88b73e4cc550d25f665b8a9952af22773"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.20.0"
            },
            {
              "fixed": "5.10.253"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.203"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.168"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.131"
            }
          ],
          "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-31473.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mc, v4l2: serialize REINIT and REQBUFS with req_queue_mutex\n\nMEDIA_REQUEST_IOC_REINIT can run concurrently with VIDIOC_REQBUFS(0)\nqueue teardown paths. This can race request object cleanup against vb2\nqueue cancellation and lead to use-after-free reports.\n\nWe already serialize request queueing against STREAMON/OFF with\nreq_queue_mutex. Extend that serialization to REQBUFS, and also take\nthe same mutex in media_request_ioctl_reinit() so REINIT is in the\nsame exclusion domain.\n\nThis keeps request cleanup and queue cancellation from running in\nparallel for request-capable devices.",
  "id": "CVE-2026-31473",
  "modified": "2026-07-08T05:37:28.117777433Z",
  "published": "2026-04-22T13:54:00.970Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1a0d9083c24fbd5d22f7100f09d11e4d696a5f01"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2c685e99efb3b3bd2b78699fba6b1cf321975db0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/331242998a7ade5c2f65e14988901614629f3db5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/585fd9a2063dacce8b2820f675ef23d5d17434c5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/72b9e81e0203f03c40f3adb457f55bd4c8eb112d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bef4f4a88b73e4cc550d25f665b8a9952af22773"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cf2023e84f0888f96f4b65dc0804e7f3651969c1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d8549a453d5bdc0a71de66ad47a1106703406a56"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31473.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31473"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "media: mc, v4l2: serialize REINIT and REQBUFS with req_queue_mutex"
}