CVE-2026-72484 (GCVE-0-2026-72484)
Vulnerability from cvelistv5
Published
2026-08-15 05:57
Modified
2026-08-17 05:15
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: staging: most: video: avoid double free on video register failure comp_register_videodev() allocates a video_device with video_device_alloc() and releases it if video_register_device() fails. This can double free the video_device when __video_register_device() reaches device_register() and that call fails: video_register_device() -> __video_register_device() -> device_register() fails -> put_device(&vdev->dev) -> v4l2_device_release() -> vdev->release(vdev) -> video_device_release(vdev) comp_register_videodev() -> video_device_release(mdev->vdev) Use video_device_release_empty() while registering the device so that registration failure paths do not free mdev->vdev through vdev->release(). comp_register_videodev() then releases mdev->vdev exactly once on failure. Restore video_device_release() after successful registration so the registered device keeps its normal lifetime handling. This issue was found by a static analysis tool I am developing.
Impacted products
Vendor Product Version
Linux Linux Version: eab231c0398a91fbd294672bfe9e0ff45b368246
Version: eab231c0398a91fbd294672bfe9e0ff45b368246
Version: eab231c0398a91fbd294672bfe9e0ff45b368246
Version: eab231c0398a91fbd294672bfe9e0ff45b368246
Version: eab231c0398a91fbd294672bfe9e0ff45b368246
Version: eab231c0398a91fbd294672bfe9e0ff45b368246
Version: eab231c0398a91fbd294672bfe9e0ff45b368246
Version: eab231c0398a91fbd294672bfe9e0ff45b368246
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/staging/most/video/video.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "009d58b73500d0b49f6ae3833f8afcb0ebd9ddbb",
              "status": "affected",
              "version": "eab231c0398a91fbd294672bfe9e0ff45b368246",
              "versionType": "git"
            },
            {
              "lessThan": "430ad4ea06a0767fb44a08e2212ceb3a996607ee",
              "status": "affected",
              "version": "eab231c0398a91fbd294672bfe9e0ff45b368246",
              "versionType": "git"
            },
            {
              "lessThan": "46ea51f5b2ee1a3b40c05b7c750cbc5cabe94062",
              "status": "affected",
              "version": "eab231c0398a91fbd294672bfe9e0ff45b368246",
              "versionType": "git"
            },
            {
              "lessThan": "4928096212b78262dbbeab3b3abf2352278ce22d",
              "status": "affected",
              "version": "eab231c0398a91fbd294672bfe9e0ff45b368246",
              "versionType": "git"
            },
            {
              "lessThan": "80ed79787da3311f76b4d71d0ce7ab992a9e134d",
              "status": "affected",
              "version": "eab231c0398a91fbd294672bfe9e0ff45b368246",
              "versionType": "git"
            },
            {
              "lessThan": "43078449ad6236d839e4d707954d2e36b10a6706",
              "status": "affected",
              "version": "eab231c0398a91fbd294672bfe9e0ff45b368246",
              "versionType": "git"
            },
            {
              "lessThan": "7fc162453cfb7b8e93edb16287a84ba0130cac38",
              "status": "affected",
              "version": "eab231c0398a91fbd294672bfe9e0ff45b368246",
              "versionType": "git"
            },
            {
              "lessThan": "7cb1c5b32a2bfde961fff8d5204526b609bcb30a",
              "status": "affected",
              "version": "eab231c0398a91fbd294672bfe9e0ff45b368246",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/staging/most/video/video.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.9"
            },
            {
              "lessThan": "4.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.261",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.261",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: most: video: avoid double free on video register failure\n\ncomp_register_videodev() allocates a video_device with\nvideo_device_alloc() and releases it if video_register_device() fails.\n\nThis can double free the video_device when __video_register_device()\nreaches device_register() and that call fails:\n\n  video_register_device()\n    -\u003e __video_register_device()\n       -\u003e device_register() fails\n          -\u003e put_device(\u0026vdev-\u003edev)\n             -\u003e v4l2_device_release()\n                -\u003e vdev-\u003erelease(vdev)\n                   -\u003e video_device_release(vdev)\n\n  comp_register_videodev()\n    -\u003e video_device_release(mdev-\u003evdev)\n\nUse video_device_release_empty() while registering the device so that\nregistration failure paths do not free mdev-\u003evdev through vdev-\u003erelease().\ncomp_register_videodev() then releases mdev-\u003evdev exactly once on failure.\nRestore video_device_release() after successful registration so the\nregistered device keeps its normal lifetime handling.\n\nThis issue was found by a static analysis tool I am developing."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:15:34.687Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/009d58b73500d0b49f6ae3833f8afcb0ebd9ddbb"
        },
        {
          "url": "https://git.kernel.org/stable/c/430ad4ea06a0767fb44a08e2212ceb3a996607ee"
        },
        {
          "url": "https://git.kernel.org/stable/c/46ea51f5b2ee1a3b40c05b7c750cbc5cabe94062"
        },
        {
          "url": "https://git.kernel.org/stable/c/4928096212b78262dbbeab3b3abf2352278ce22d"
        },
        {
          "url": "https://git.kernel.org/stable/c/80ed79787da3311f76b4d71d0ce7ab992a9e134d"
        },
        {
          "url": "https://git.kernel.org/stable/c/43078449ad6236d839e4d707954d2e36b10a6706"
        },
        {
          "url": "https://git.kernel.org/stable/c/7fc162453cfb7b8e93edb16287a84ba0130cac38"
        },
        {
          "url": "https://git.kernel.org/stable/c/7cb1c5b32a2bfde961fff8d5204526b609bcb30a"
        }
      ],
      "title": "staging: most: video: avoid double free on video register failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72484",
    "datePublished": "2026-08-15T05:57:21.528Z",
    "dateReserved": "2026-08-09T03:40:39.935Z",
    "dateUpdated": "2026-08-17T05:15:34.687Z",
    "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…