{"id":"CVE-2026-72484","published":"2026-08-15T05:57:21Z","modified":"2026-08-17T05:15:34Z","title":"staging: most: video: avoid double free on video register failure","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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    -> __video_register_device()\n       -> device_register() fails\n          -> put_device(&vdev->dev)\n             -> v4l2_device_release()\n                -> vdev->release(vdev)\n                   -> video_device_release(vdev)\n\n  comp_register_videodev()\n    -> video_device_release(mdev->vdev)\n\nUse video_device_release_empty() while registering the device so that\nregistration failure paths do not free mdev->vdev through vdev->release().\ncomp_register_videodev() then releases mdev->vdev 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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0022,"percentile":0.07311,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/009d58b73500d0b49f6ae3833f8afcb0ebd9ddbb","tags":[]},{"url":"https://git.kernel.org/stable/c/430ad4ea06a0767fb44a08e2212ceb3a996607ee","tags":[]},{"url":"https://git.kernel.org/stable/c/46ea51f5b2ee1a3b40c05b7c750cbc5cabe94062","tags":[]},{"url":"https://git.kernel.org/stable/c/4928096212b78262dbbeab3b3abf2352278ce22d","tags":[]},{"url":"https://git.kernel.org/stable/c/80ed79787da3311f76b4d71d0ce7ab992a9e134d","tags":[]},{"url":"https://git.kernel.org/stable/c/43078449ad6236d839e4d707954d2e36b10a6706","tags":[]},{"url":"https://git.kernel.org/stable/c/7fc162453cfb7b8e93edb16287a84ba0130cac38","tags":[]},{"url":"https://git.kernel.org/stable/c/7cb1c5b32a2bfde961fff8d5204526b609bcb30a","tags":[]}],"priority":{"score":1.5,"factors":[{"name":"EPSS percentile","points":1.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= eab231c0398a91fbd294672bfe9e0ff45b368246, < 009d58b73500d0b49f6ae3833f8afcb0ebd9ddbb",">= eab231c0398a91fbd294672bfe9e0ff45b368246, < 430ad4ea06a0767fb44a08e2212ceb3a996607ee",">= eab231c0398a91fbd294672bfe9e0ff45b368246, < 46ea51f5b2ee1a3b40c05b7c750cbc5cabe94062",">= eab231c0398a91fbd294672bfe9e0ff45b368246, < 4928096212b78262dbbeab3b3abf2352278ce22d",">= eab231c0398a91fbd294672bfe9e0ff45b368246, < 80ed79787da3311f76b4d71d0ce7ab992a9e134d",">= eab231c0398a91fbd294672bfe9e0ff45b368246, < 43078449ad6236d839e4d707954d2e36b10a6706",">= eab231c0398a91fbd294672bfe9e0ff45b368246, < 7fc162453cfb7b8e93edb16287a84ba0130cac38",">= eab231c0398a91fbd294672bfe9e0ff45b368246, < 7cb1c5b32a2bfde961fff8d5204526b609bcb30a"]},{"vendor":"Linux","product":"Linux","versions":["4.9"]}],"euvd":{"id":"EUVD-2026-59383","exploited":false,"provenance":"source"}}