PT-2026-166535
CVE-2026-142812
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾