# CVE-2026-89894: media: cx231xx: reject geometry changes while the VBI queue is busy

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **Published:** 2026-09-16T10:31:56.101Z
- **Modified:** 2026-10-19T09:18:34.557Z

## Who should check

- Anyone running Linux \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< aa3314506deb9703bcf0e889db08959440228fbf; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 90d50648af36a1fbf5dbc99238de6fd0e58a13e0; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< a5dd3d7fba358ff9486f3f51b2a9038348c0970a; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 54ac6df8b8d97eddc3ae97fd2045bdedc8541b6d; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 1d1079db8d1807e259a1d2679ed314949797aad9; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 7087bef6510c7df5df0b19192633b8ecc0f33a6f; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< a636c72c7f522d984fa498fc0631f33a2d0be3fd; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 627a121c15fe05a541f44d86016294b80bada75d
- Anyone running Linux 5.5

## Description

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

media: cx231xx: reject geometry changes while the VBI queue is busy

vidioc\_s\_fmt\_vid\_cap() and vidioc\_s\_std() change the device-wide
dev-\>width / dev-\>norm but only refuse the change when the \*video\* queue
(dev-\>vidq) is busy. The VBI queue (dev-\>vbiq) shares that same geometry:
cx231xx\_init\_vbi\_isoc() latches dma\_q-\>lines\_per\_field from dev-\>norm,
the VBI videobuf2 plane is sized from dev-\>width / dev-\>norm in
vbi\_queue\_setup() and vbi\_buf\_prepare(), and cx231xx\_do\_vbi\_copy() then
recomputes the destination offset from the \*live\* dev-\>width and the
latched lines\_per\_field on every URB completion:

	offset = lines\_completed \* (dev-\>width \<\< 1) + ...;
	if (dma\_q-\>current\_field == 2)
		offset += dev-\>width \* 2 \* dma\_q-\>lines\_per\_field;
	memcpy(plane + offset, p\_buffer, lencopy);

Because the VBI node shares video\_ioctl\_ops with the video node, an
application can size a small VBI plane (REQBUFS/QBUF with a small width,
or with the NTSC standard), then enlarge dev-\>width (or switch dev-\>norm
to PAL) through the video node while the VBI stream is running -- the
change is allowed because only dev-\>vidq is checked -- and let the device
deliver a field-2 VBI payload. cx231xx\_do\_vbi\_copy() now computes the
offset with the larger geometry and memcpy()s past the end of the smaller
plane that was already allocated, a heap out-of-bounds write whose offset
is attacker-chosen and whose contents come from the device. The
per-field guard in cx231xx\_copy\_vbi\_line() does not help: it bounds the
copy against the latched lines\_per\_field, not the plane's real capacity,
and vb2 does not re-run buf\_prepare() for an already prepared buffer.

Refuse the format/standard change when the VBI queue is busy as well, so
the geometry cannot change underneath an allocated VBI buffer.

## Affected and fixed versions

- Linux: \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< aa3314506deb9703bcf0e889db08959440228fbf; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 90d50648af36a1fbf5dbc99238de6fd0e58a13e0; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< a5dd3d7fba358ff9486f3f51b2a9038348c0970a; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 54ac6df8b8d97eddc3ae97fd2045bdedc8541b6d; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 1d1079db8d1807e259a1d2679ed314949797aad9; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 7087bef6510c7df5df0b19192633b8ecc0f33a6f; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< a636c72c7f522d984fa498fc0631f33a2d0be3fd; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 627a121c15fe05a541f44d86016294b80bada75d (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 627a121c15fe05a541f44d86016294b80bada75d 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-89894. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89894.md
Affected: Linux >= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, < aa3314506deb9703bcf0e889db08959440228fbf; >= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, < 90d50648af36a1fbf5dbc99238de6fd0e58a13e0; >= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, < a5dd3d7fba358ff9486f3f51b2a9038348c0970a; >= 7c617138b8254a6bb60bfb5…
Fixed in: Linux 90d50648af36a1fbf5dbc99238de6fd0e58a13e0, Linux 54ac6df8b8d97eddc3ae97fd2045bdedc8541b6d, Linux 1d1079db8d1807e259a1d2679ed314949797aad9, Linux 7087bef6510c7df5df0b19192633b8ecc0f33a6f, Linux 627a121c15fe05a541f44d86016294b80bada75d

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

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< aa3314506deb9703bcf0e889db08959440228fbf; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 90d50648af36a1fbf5dbc99238de6fd0e58a13e0; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< a5dd3d7fba358ff9486f3f51b2a9038348c0970a; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 54ac6df8b8d97eddc3ae97fd2045bdedc8541b6d; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 1d1079db8d1807e259a1d2679ed314949797aad9; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 7087bef6510c7df5df0b19192633b8ecc0f33a6f; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< a636c72c7f522d984fa498fc0631f33a2d0be3fd; \>= 7c617138b8254a6bb60bfb5b8fc53eb8b3d6c3ab, \< 627a121c15fe05a541f44d86016294b80bada75d; Linux 5.5.

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

Yes. Fixed in Linux 90d50648af36a1fbf5dbc99238de6fd0e58a13e0, Linux 54ac6df8b8d97eddc3ae97fd2045bdedc8541b6d, Linux 1d1079db8d1807e259a1d2679ed314949797aad9, Linux 7087bef6510c7df5df0b19192633b8ecc0f33a6f, Linux 627a121c15fe05a541f44d86016294b80bada75d. Upgrade Linux to 627a121c15fe05a541f44d86016294b80bada75d or later.

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

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/aa3314506deb9703bcf0e889db08959440228fbf>
- other: <https://git.kernel.org/stable/c/90d50648af36a1fbf5dbc99238de6fd0e58a13e0>
- other: <https://git.kernel.org/stable/c/a5dd3d7fba358ff9486f3f51b2a9038348c0970a>
- other: <https://git.kernel.org/stable/c/54ac6df8b8d97eddc3ae97fd2045bdedc8541b6d>
- other: <https://git.kernel.org/stable/c/1d1079db8d1807e259a1d2679ed314949797aad9>
- other: <https://git.kernel.org/stable/c/7087bef6510c7df5df0b19192633b8ecc0f33a6f>
- other: <https://git.kernel.org/stable/c/a636c72c7f522d984fa498fc0631f33a2d0be3fd>
- other: <https://git.kernel.org/stable/c/627a121c15fe05a541f44d86016294b80bada75d>

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

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