PT-2026-166535
CVE-2026-142812
·
Publicado
2026-12-03
·
Atualizado
2026-12-03
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾