CVE-2026-68203: media: vivid: fix cleanup bugs in vivid_init()

Published Aug 10, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

media: vivid: fix cleanup bugs in vividinit()

When platformdeviceregister() fails in vividinit(), the embedded struct device in vividpdev has already been initialized by deviceinitialize(), but the failure path jumps to freeoutputstrings without dropping the device reference for the current platform device:

vividinit() -> platformdeviceregister(&vividpdev) -> deviceinitialize(&vividpdev.dev) -> setuppdevdmamasks(&vividpdev) -> platformdeviceadd(&vividpdev)

This leads to a reference leak when platformdeviceregister() fails. Fix this by calling platformdeviceput() before jumping to the common cleanup path.

Also, the unregdriver label incorrectly calls platformdriverregister() instead of platformdriverunregister(), which breaks cleanup when workqueue creation fails after successful driver registration. Fix that as well.

The reference leak was identified by a static analysis tool I developed and confirmed by manual review. The incorrect cleanup call was found during code inspection.

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 10, 2026
CVE Published
via MITRE·12:00 PM
Data Sourced
via MITRE·12:00 PM
Description
Data Sourced
via NVD·01:20 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68203?

CVE-2026-68203 has a risk score of 12, indicating a high severity level.

2

What systems are affected by CVE-2026-68203?

CVE-2026-68203 affects the Linux kernel specifically in the media handling component.

3

How do I fix CVE-2026-68203?

To fix CVE-2026-68203, ensure your Linux kernel is updated to include the patches addressing this vulnerability.

4

What type of vulnerability is CVE-2026-68203?

CVE-2026-68203 is related to cleanup bugs in the initialization process of a media device in the Linux kernel.

5

When was CVE-2026-68203 published?

CVE-2026-68203 was published on August 10, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203