# CVE-2026-89871: media: video-i2c: fix kthread error pointer left in kthread\_vid\_cap on failure

> 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.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-16T10:31:39.961Z
- **Modified:** 2026-10-19T09:18:31.820Z

## Who should check

- Anyone running Linux \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< db0f4531aa55cfb0171684ebfffe3ff04b79d5a8; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 0fac63cac6689588da530764ccb6ba55ee8e4d8b; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 5c35d380bea60503c4fe0986fe1de6a3263282b3; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 3d1b10d81fe54852ed953f4129577b733bbd6907; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 968c5213e34c48d35febdfd09cf3dc58ad039140; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 52fd9d80c0cea7bf09e7ee36cad316e5c39b7fe6; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 0e7f2cd72a4f9268ee09a13b13f3339e7cc71557; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 76e379754ba618989f6215be608d5c04774a611d
- Anyone running Linux 4.18

## Description

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

media: video-i2c: fix kthread error pointer left in kthread\_vid\_cap on failure

kthread\_run() returns an ERR\_PTR on failure, not NULL.
When start\_streaming() fails, data-\>kthread\_vid\_cap is left holding
this error pointer instead of being cleared.

This causes two subsequent bugs:
1. A future call to start\_streaming() sees a non-NULL kthread\_vid\_cap
   and returns 0 (success) immediately, without actually starting the
   capture thread.
2. A call to stop\_streaming() checks 'kthread\_vid\_cap == NULL' which
   is false for an error pointer, and proceeds to call kthread\_stop()
   on the error pointer, leading to a kernel crash.

Fix this by resetting kthread\_vid\_cap to NULL on failure before
jumping to the error path.

## Affected and fixed versions

- Linux: \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< db0f4531aa55cfb0171684ebfffe3ff04b79d5a8; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 0fac63cac6689588da530764ccb6ba55ee8e4d8b; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 5c35d380bea60503c4fe0986fe1de6a3263282b3; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 3d1b10d81fe54852ed953f4129577b733bbd6907; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 968c5213e34c48d35febdfd09cf3dc58ad039140; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 52fd9d80c0cea7bf09e7ee36cad316e5c39b7fe6; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 0e7f2cd72a4f9268ee09a13b13f3339e7cc71557; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 76e379754ba618989f6215be608d5c04774a611d (cvelist)
- Linux: 4.18 (cvelist)

## Mitigation

- Upgrade Linux to 76e379754ba618989f6215be608d5c04774a611d or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89871.md
Affected: Linux >= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, < db0f4531aa55cfb0171684ebfffe3ff04b79d5a8; >= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, < 0fac63cac6689588da530764ccb6ba55ee8e4d8b; >= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, < 5c35d380bea60503c4fe0986fe1de6a3263282b3; >= 5cebaac609744414463d1ec…
Fixed in: Linux 0fac63cac6689588da530764ccb6ba55ee8e4d8b, Linux 5c35d380bea60503c4fe0986fe1de6a3263282b3, Linux 3d1b10d81fe54852ed953f4129577b733bbd6907, Linux 968c5213e34c48d35febdfd09cf3dc58ad039140, Linux 52fd9d80c0cea7bf09e7ee36cad316e5c39b7fe6, Linux 0e7f2cd72a4f9268ee09a13b13f3339e7cc71557, Linux 76e37…

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-89871 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< db0f4531aa55cfb0171684ebfffe3ff04b79d5a8; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 0fac63cac6689588da530764ccb6ba55ee8e4d8b; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 5c35d380bea60503c4fe0986fe1de6a3263282b3; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 3d1b10d81fe54852ed953f4129577b733bbd6907; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 968c5213e34c48d35febdfd09cf3dc58ad039140; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 52fd9d80c0cea7bf09e7ee36cad316e5c39b7fe6; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 0e7f2cd72a4f9268ee09a13b13f3339e7cc71557; \>= 5cebaac609744414463d1ecc28fdecd26c1b9bc1, \< 76e379754ba618989f6215be608d5c04774a611d; Linux 4.18.

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

Yes. Fixed in Linux 0fac63cac6689588da530764ccb6ba55ee8e4d8b, Linux 5c35d380bea60503c4fe0986fe1de6a3263282b3, Linux 3d1b10d81fe54852ed953f4129577b733bbd6907, Linux 968c5213e34c48d35febdfd09cf3dc58ad039140, Linux 52fd9d80c0cea7bf09e7ee36cad316e5c39b7fe6, Linux 0e7f2cd72a4f9268ee09a13b13f3339e7cc71557, Linux 76e379754ba618989f6215be608d5c04774a611d. Upgrade Linux to 76e379754ba618989f6215be608d5c04774a611d or later.

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

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/db0f4531aa55cfb0171684ebfffe3ff04b79d5a8>
- other: <https://git.kernel.org/stable/c/0fac63cac6689588da530764ccb6ba55ee8e4d8b>
- other: <https://git.kernel.org/stable/c/5c35d380bea60503c4fe0986fe1de6a3263282b3>
- other: <https://git.kernel.org/stable/c/3d1b10d81fe54852ed953f4129577b733bbd6907>
- other: <https://git.kernel.org/stable/c/968c5213e34c48d35febdfd09cf3dc58ad039140>
- other: <https://git.kernel.org/stable/c/52fd9d80c0cea7bf09e7ee36cad316e5c39b7fe6>
- other: <https://git.kernel.org/stable/c/0e7f2cd72a4f9268ee09a13b13f3339e7cc71557>
- other: <https://git.kernel.org/stable/c/76e379754ba618989f6215be608d5c04774a611d>

## 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-89871>

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