{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142812",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.330Z",
        "datePublished": "2026-12-03T03:17:43.333Z",
        "dateUpdated": "2026-12-03T03:17:43.333Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:17:43.333Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: rc: fintek-cir: process a full RX buffer instead of overflowing it\n\nfintek_get_rx_ir_data() drains the CIR RX FIFO into fintek->buf[], which\nholds RX_BUF_LEN (32) bytes, for as long as CIR_STATUS reports pending\nRX data:\n\n\tdo {\n\t\tsample = fintek_cir_reg_read(fintek, CIR_RX_DATA);\n\t\t...\n\t\tfintek->buf[fintek->pkts] = sample;\n\t\tfintek->pkts++;\n\t\t...\n\t} while (status & rx_irqs);\n\nNothing bounds fintek->pkts. If the hardware reports data for more than\nRX_BUF_LEN reads in one interrupt, the loop writes past the end of\nbuf[], starting with the pkts counter that follows it in struct\nfintek_dev.\n\nHand a full buffer to fintek_process_rx_ir_data(), which parses the\nsamples and resets fintek->pkts, before storing the next sample. This\nkeeps the parser state consistent and drops no samples. The loop still\nrelies on the status register to terminate.\n\nThe driver does not document the hardware FIFO depth, so it is not\nknown whether a working device can trigger this.\n\nFound by static analysis tool CodeQL."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/media/rc/fintek-cir.c"
                    ],
                    "versions": [
                        {
                            "version": "9bdc79ea07d98386b72e1b6b1613742556fba3af",
                            "lessThan": "acee0a8e501ec3ba1687e67e62c797745262757c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9bdc79ea07d98386b72e1b6b1613742556fba3af",
                            "lessThan": "49d605bfc40bb561f876956688d2a774d100eff9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9bdc79ea07d98386b72e1b6b1613742556fba3af",
                            "lessThan": "e6cbaa1a56b686b9d3fad44dfbc4148760cdff94",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9bdc79ea07d98386b72e1b6b1613742556fba3af",
                            "lessThan": "9bf274b20b17ac76398052f62916f0c633c28307",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9bdc79ea07d98386b72e1b6b1613742556fba3af",
                            "lessThan": "114c870480277554bf8242a14fa136347da81aef",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9bdc79ea07d98386b72e1b6b1613742556fba3af",
                            "lessThan": "d5e446e0a0541bf76e6e157a310f370699731cfd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9bdc79ea07d98386b72e1b6b1613742556fba3af",
                            "lessThan": "0b7c968ec9b9d53734cc102260cc211b55ae0d8c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9bdc79ea07d98386b72e1b6b1613742556fba3af",
                            "lessThan": "d1febef1bcfa7bbc401729f994c375b91a833911",
                            "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/rc/fintek-cir.c"
                    ],
                    "versions": [
                        {
                            "version": "3.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.0",
                            "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.61",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.2",
                            "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": "3.0",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.0",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.0",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.0",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.0",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.0",
                                    "versionEndExcluding": "6.18.61"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.0",
                                    "versionEndExcluding": "7.3.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.0",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/acee0a8e501ec3ba1687e67e62c797745262757c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/49d605bfc40bb561f876956688d2a774d100eff9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e6cbaa1a56b686b9d3fad44dfbc4148760cdff94"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9bf274b20b17ac76398052f62916f0c633c28307"
                },
                {
                    "url": "https://git.kernel.org/stable/c/114c870480277554bf8242a14fa136347da81aef"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d5e446e0a0541bf76e6e157a310f370699731cfd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0b7c968ec9b9d53734cc102260cc211b55ae0d8c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d1febef1bcfa7bbc401729f994c375b91a833911"
                }
            ],
            "title": "media: rc: fintek-cir: process a full RX buffer instead of overflowing it",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}