CVE-2026-139043
publishedmedia: vim2m: keep transaction buffer count stable while streaming
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < 3c1c270cae58369a200205d2d720544dd7874340 · 96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < 17bf26dd7c73e5375ab14e0eb61726cac0fdf71b · 96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < a9bde6eeb51afffb3fea5e609e33307d5a4edd07 · 96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < f978da753d6164eca5f5c0fe40bc1b14efd68697 · 96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < 9b113c0f905cac76c34d7a37132172939824a7e5 · 96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < b64ea8c8e00850c067bb6f20bcee5b9b45dd72b0 · 96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < e511ec0459c5b0381fe089db9514d1fcac0b2aa3 · 96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < 50f5fed44d8e24081e8feed5154746fe193f11b8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.35 (affected) · 0 to < 2.6.35 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
In the Linux kernel, the following vulnerability has been resolved: media: vim2m: keep transaction buffer count stable while streaming V4L2_CID_TRANS_NUM_BUFS controls how many buffer pairs a vim2m mem2mem job processes before the job is completed. The driver stores the value in ctx->translen and device_work() uses it later to decide whether the current transaction should continue. Letting userspace change this control while streaming is active can make a queued job observe a different transaction length than the one it started with. That leaves the transaction state inconsistent with the buffers currently queued for the job. Grab the transaction buffer count control while either queue is streaming, and release it only after both queues have stopped streaming. The V4L2 control framework then rejects changes with -EBUSY while the value is in use, while still allowing userspace to configure the value before streaming starts. Keep the control handler alive until after v4l2_m2m_ctx_release(), since releasing the mem2mem context can call stop_streaming(), which now ungrabs the control.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < 3c1c270cae58369a200205d2d720544dd7874340 (affected · git)96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < 17bf26dd7c73e5375ab14e0eb61726cac0fdf71b (affected · git)96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < a9bde6eeb51afffb3fea5e609e33307d5a4edd07 (affected · git)96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < f978da753d6164eca5f5c0fe40bc1b14efd68697 (affected · git)96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < 9b113c0f905cac76c34d7a37132172939824a7e5 (affected · git)96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < b64ea8c8e00850c067bb6f20bcee5b9b45dd72b0 (affected · git)96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < e511ec0459c5b0381fe089db9514d1fcac0b2aa3 (affected · git)96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf to < 50f5fed44d8e24081e8feed5154746fe193f11b8 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.35 (affected)0 to < 2.6.35 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/17bf26dd7c73e5375ab14e0eb61726cac0fdf71b
- https://git.kernel.org/stable/c/3c1c270cae58369a200205d2d720544dd7874340
- https://git.kernel.org/stable/c/50f5fed44d8e24081e8feed5154746fe193f11b8
- https://git.kernel.org/stable/c/9b113c0f905cac76c34d7a37132172939824a7e5
- https://git.kernel.org/stable/c/a9bde6eeb51afffb3fea5e609e33307d5a4edd07
- https://git.kernel.org/stable/c/b64ea8c8e00850c067bb6f20bcee5b9b45dd72b0
- https://git.kernel.org/stable/c/e511ec0459c5b0381fe089db9514d1fcac0b2aa3
- https://git.kernel.org/stable/c/f978da753d6164eca5f5c0fe40bc1b14efd68697
Provider assertions
1Linux · cna
media: vim2m: keep transaction buffer count stable while streaming
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 008053bca373cc04b1d9cbff1f5dc021e8415460e915320f46be7285b88dbab7
- Ingested
- 30 Nov 2026, 13:36:40 UTC
- Source record
- Official CVE record