Security mailing lists by PureSourceCode

CVE-2026-142812

not scored yet

media: rc: fintek-cir: process a full RX buffer instead of overflowing it

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.

Published
3 Dec 2026
Last modified
3 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < acee0a8e501ec3ba1687e67e62c797745262757c; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < 49d605bfc40bb561f876956688d2a774d100eff9; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < e6cbaa1a56b686b9d3fad44dfbc4148760cdff94; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < 9bf274b20b17ac76398052f62916f0c633c28307; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < 114c870480277554bf8242a14fa136347da81aef; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < d5e446e0a0541bf76e6e157a310f370699731cfd; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < 0b7c968ec9b9d53734cc102260cc211b55ae0d8c; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < d1febef1bcfa7bbc401729f994c375b91a833911 acee0a8e501ec3ba1687e67e62c797745262757c, 49d605bfc40bb561f876956688d2a774d100eff9, e6cbaa1a56b686b9d3fad44dfbc4148760cdff94, 9bf274b20b17ac76398052f62916f0c633c28307, 114c870480277554bf8242a14fa136347da81aef, d5e446e0a0541bf76e6e157a310f370699731cfd, 0b7c968ec9b9d53734cc102260cc211b55ae0d8c, d1febef1bcfa7bbc401729f994c375b91a833911
CVE List Linux Linux = 3.0

References

History

  • 3 Dec 2026 05:06 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 04:06 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.