{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139043",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.910Z",
        "datePublished": "2026-11-30T13:27:20.360Z",
        "dateUpdated": "2026-11-30T13:27:20.360Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:27:20.360Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: vim2m: keep transaction buffer count stable while streaming\n\nV4L2_CID_TRANS_NUM_BUFS controls how many buffer pairs a vim2m\nmem2mem job processes before the job is completed. The driver stores\nthe value in ctx->translen and device_work() uses it later to decide\nwhether the current transaction should continue.\n\nLetting userspace change this control while streaming is active can\nmake a queued job observe a different transaction length than the one\nit started with. That leaves the transaction state inconsistent with\nthe buffers currently queued for the job.\n\nGrab the transaction buffer count control while either queue is\nstreaming, and release it only after both queues have stopped\nstreaming. The V4L2 control framework then rejects changes with\n-EBUSY while the value is in use, while still allowing userspace to\nconfigure the value before streaming starts.\n\nKeep the control handler alive until after v4l2_m2m_ctx_release(),\nsince releasing the mem2mem context can call stop_streaming(), which\nnow ungrabs the control."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/media/test-drivers/vim2m.c"
                    ],
                    "versions": [
                        {
                            "version": "96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf",
                            "lessThan": "3c1c270cae58369a200205d2d720544dd7874340",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf",
                            "lessThan": "17bf26dd7c73e5375ab14e0eb61726cac0fdf71b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf",
                            "lessThan": "a9bde6eeb51afffb3fea5e609e33307d5a4edd07",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf",
                            "lessThan": "f978da753d6164eca5f5c0fe40bc1b14efd68697",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf",
                            "lessThan": "9b113c0f905cac76c34d7a37132172939824a7e5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf",
                            "lessThan": "b64ea8c8e00850c067bb6f20bcee5b9b45dd72b0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf",
                            "lessThan": "e511ec0459c5b0381fe089db9514d1fcac0b2aa3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf",
                            "lessThan": "50f5fed44d8e24081e8feed5154746fe193f11b8",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/media/test-drivers/vim2m.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.35",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.35",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.35",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.35",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.35",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.35",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.35",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.35",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.35",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.35",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/3c1c270cae58369a200205d2d720544dd7874340"
                },
                {
                    "url": "https://git.kernel.org/stable/c/17bf26dd7c73e5375ab14e0eb61726cac0fdf71b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a9bde6eeb51afffb3fea5e609e33307d5a4edd07"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f978da753d6164eca5f5c0fe40bc1b14efd68697"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9b113c0f905cac76c34d7a37132172939824a7e5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b64ea8c8e00850c067bb6f20bcee5b9b45dd72b0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e511ec0459c5b0381fe089db9514d1fcac0b2aa3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/50f5fed44d8e24081e8feed5154746fe193f11b8"
                }
            ],
            "title": "media: vim2m: keep transaction buffer count stable while streaming",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}