GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GHSA-79GV-9P52-G5CR

Vulnerability from github – Published: 2026-08-15 06:32 – Updated: 2026-08-15 06:32
VLAI
Details

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.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-72484"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-08-15T06:22:22Z",
    "severity": null
  },
  "details": "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.",
  "id": "GHSA-79gv-9p52-g5cr",
  "modified": "2026-08-15T06:32:26Z",
  "published": "2026-08-15T06:32:26Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72484"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/009d58b73500d0b49f6ae3833f8afcb0ebd9ddbb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/43078449ad6236d839e4d707954d2e36b10a6706"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/430ad4ea06a0767fb44a08e2212ceb3a996607ee"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/46ea51f5b2ee1a3b40c05b7c750cbc5cabe94062"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4928096212b78262dbbeab3b3abf2352278ce22d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7cb1c5b32a2bfde961fff8d5204526b609bcb30a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7fc162453cfb7b8e93edb16287a84ba0130cac38"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/80ed79787da3311f76b4d71d0ce7ab992a9e134d"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



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…

Loading…