CVE-2026-142812

medium

Description

In the Linux kernel, the following vulnerability has been resolved: media: rc: fintek-cir: process a full RX buffer instead of overflowing it fintek_get_rx_ir_data() drains the CIR RX FIFO into fintek->buf[], which holds RX_BUF_LEN (32) bytes, for as long as CIR_STATUS reports pending RX data: do { sample = fintek_cir_reg_read(fintek, CIR_RX_DATA); ... fintek->buf[fintek->pkts] = sample; fintek->pkts++; ... } while (status & rx_irqs); Nothing bounds fintek->pkts. If the hardware reports data for more than RX_BUF_LEN reads in one interrupt, the loop writes past the end of buf[], starting with the pkts counter that follows it in struct fintek_dev. Hand a full buffer to fintek_process_rx_ir_data(), which parses the samples and resets fintek->pkts, before storing the next sample. This keeps the parser state consistent and drops no samples. The loop still relies on the status register to terminate. The driver does not document the hardware FIFO depth, so it is not known whether a working device can trigger this. Found by static analysis tool CodeQL.

References

https://git.kernel.org/stable/c/e6cbaa1a56b686b9d3fad44dfbc4148760cdff94

https://git.kernel.org/stable/c/d5e446e0a0541bf76e6e157a310f370699731cfd

https://git.kernel.org/stable/c/d1febef1bcfa7bbc401729f994c375b91a833911

https://git.kernel.org/stable/c/acee0a8e501ec3ba1687e67e62c797745262757c

https://git.kernel.org/stable/c/9bf274b20b17ac76398052f62916f0c633c28307

https://git.kernel.org/stable/c/49d605bfc40bb561f876956688d2a774d100eff9

https://git.kernel.org/stable/c/114c870480277554bf8242a14fa136347da81aef

https://git.kernel.org/stable/c/0b7c968ec9b9d53734cc102260cc211b55ae0d8c

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-142062

Details

Source: Mitre, NVD

Published: 2026-12-03

Updated: 2026-12-03

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00311