# CVE-2026-72484: staging: most: video: avoid double free on video register failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-08-15T05:57:21.528Z
- Modified: 2026-08-17T06:19:16.603Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from eab231c0398a91fbd294672bfe9e0ff45b368246 before 009d58b73500d0b49f6ae3833f8afcb0ebd9ddbb; from eab231c0398a91fbd294672bfe9e0ff45b368246 before 430ad4ea06a0767fb44a08e2212ceb3a996607ee; from eab231c0398a91fbd294672bfe9e0ff45b368246 before 46ea51f5b2ee1a3b40c05b7c750cbc5cabe94062; from eab231c0398a91fbd294672bfe9e0ff45b368246 before 4928096212b78262dbbeab3b3abf2352278ce22d; from eab231c0398a91fbd294672bfe9e0ff45b368246 before 80ed79787da3311f76b4d71d0ce7ab992a9e134d; from eab231c0398a91fbd294672bfe9e0ff45b368246 before 43078449ad6236d839e4d707954d2e36b10a6706; from eab231c0398a91fbd294672bfe9e0ff45b368246 before 7fc162453cfb7b8e93edb16287a84ba0130cac38; from eab231c0398a91fbd294672bfe9e0ff45b368246 before 7cb1c5b32a2bfde961fff8d5204526b609bcb30a; 4.9 (not affected: before 4.9; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/009d58b73500d0b49f6ae3833f8afcb0ebd9ddbb>
- <https://git.kernel.org/stable/c/430ad4ea06a0767fb44a08e2212ceb3a996607ee>
- <https://git.kernel.org/stable/c/46ea51f5b2ee1a3b40c05b7c750cbc5cabe94062>
- <https://git.kernel.org/stable/c/4928096212b78262dbbeab3b3abf2352278ce22d>
- <https://git.kernel.org/stable/c/80ed79787da3311f76b4d71d0ce7ab992a9e134d>
- <https://git.kernel.org/stable/c/43078449ad6236d839e4d707954d2e36b10a6706>
- <https://git.kernel.org/stable/c/7fc162453cfb7b8e93edb16287a84ba0130cac38>
- <https://git.kernel.org/stable/c/7cb1c5b32a2bfde961fff8d5204526b609bcb30a>

## Sources

- CVE List: [CVE-2026-72484](https://www.cve.org/CVERecord?id=CVE-2026-72484), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-72484](https://nvd.nist.gov/vuln/detail/CVE-2026-72484), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-72484 · Whole record: https://cve.day/CVE-2026-72484.json · Rebuilt by cve.day 2026-11-25T22:59:33.138Z
