# CVE-2026-68203: media: vivid: fix cleanup bugs in vivid\_init()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-08-10T12:00:22.319Z
- **Modified:** 2026-10-30T13:19:41.567Z

## Who should check

- Anyone running Linux \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< 6c7307c1b45da4fef6b445ca5c113457d86a7806; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< ae6ccae32f51f788035d2c5cec898491dd7150ef; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< 4385092a86b94e1f332db35a3766108978c0722f; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< 1349af7f87df57940619f5b87990b799dac9ed8a; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< 6d51ad8f1c50c50d1abcc97fd243179967184c6a; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< a07c179a92e949172ca52f6d4a13202ea88cd4b7
- Anyone running Linux 4.1

## Description

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

media: vivid: fix cleanup bugs in vivid\_init()

When platform\_device\_register() fails in vivid\_init(), the embedded
struct device in vivid\_pdev has already been initialized by
device\_initialize(), but the failure path jumps to free\_output\_strings
without dropping the device reference for the current platform device:

  vivid\_init()
    -\> platform\_device\_register(&vivid\_pdev)
       -\> device\_initialize(&vivid\_pdev.dev)
       -\> setup\_pdev\_dma\_masks(&vivid\_pdev)
       -\> platform\_device\_add(&vivid\_pdev)

This leads to a reference leak when platform\_device\_register() fails.
Fix this by calling platform\_device\_put() before jumping to the common
cleanup path.

Also, the unreg\_driver label incorrectly calls
platform\_driver\_register() instead of platform\_driver\_unregister(),
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 and fixed versions

- Linux: \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< 6c7307c1b45da4fef6b445ca5c113457d86a7806; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< ae6ccae32f51f788035d2c5cec898491dd7150ef; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< 4385092a86b94e1f332db35a3766108978c0722f; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< 1349af7f87df57940619f5b87990b799dac9ed8a; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< 6d51ad8f1c50c50d1abcc97fd243179967184c6a; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< a07c179a92e949172ca52f6d4a13202ea88cd4b7 (cvelist)
- Linux: 4.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68203. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68203.md
Affected: Linux >= f46d740fb0258982f00ffdbddc6486e674edafb5, < 6c7307c1b45da4fef6b445ca5c113457d86a7806; >= f46d740fb0258982f00ffdbddc6486e674edafb5, < ae6ccae32f51f788035d2c5cec898491dd7150ef; >= f46d740fb0258982f00ffdbddc6486e674edafb5, < 4385092a86b94e1f332db35a3766108978c0722f; >= f46d740fb0258982f00ffdb…
Fixed in: Linux 6c7307c1b45da4fef6b445ca5c113457d86a7806, Linux 4385092a86b94e1f332db35a3766108978c0722f, Linux 1349af7f87df57940619f5b87990b799dac9ed8a, Linux 6d51ad8f1c50c50d1abcc97fd243179967184c6a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68203 being exploited?

There is no confirmed exploitation: CVE-2026-68203 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68203?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-68203?

Linux \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< 6c7307c1b45da4fef6b445ca5c113457d86a7806; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< ae6ccae32f51f788035d2c5cec898491dd7150ef; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< 4385092a86b94e1f332db35a3766108978c0722f; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< 1349af7f87df57940619f5b87990b799dac9ed8a; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< 6d51ad8f1c50c50d1abcc97fd243179967184c6a; \>= f46d740fb0258982f00ffdbddc6486e674edafb5, \< a07c179a92e949172ca52f6d4a13202ea88cd4b7; Linux 4.1.

### Is there a fix for CVE-2026-68203?

Yes. Fixed in Linux 6c7307c1b45da4fef6b445ca5c113457d86a7806, Linux 4385092a86b94e1f332db35a3766108978c0722f, Linux 1349af7f87df57940619f5b87990b799dac9ed8a, Linux 6d51ad8f1c50c50d1abcc97fd243179967184c6a. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-68203?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6c7307c1b45da4fef6b445ca5c113457d86a7806>
- other: <https://git.kernel.org/stable/c/ae6ccae32f51f788035d2c5cec898491dd7150ef>
- other: <https://git.kernel.org/stable/c/4385092a86b94e1f332db35a3766108978c0722f>
- other: <https://git.kernel.org/stable/c/1349af7f87df57940619f5b87990b799dac9ed8a>
- other: <https://git.kernel.org/stable/c/6d51ad8f1c50c50d1abcc97fd243179967184c6a>
- other: <https://git.kernel.org/stable/c/a07c179a92e949172ca52f6d4a13202ea88cd4b7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68203>

HTML: <https://flawdb.com/CVE-2026-68203> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68203>
