CVE-2026-142812

Unknown

Last modified

CVE-2026-142812 is a vulnerability of currently unknown severity. 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.

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.

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < acee0a8e501ec3ba1687e67e62c797745262757c; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < 49d605bfc40bb561f876956688d2a774d100eff9; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < e6cbaa1a56b686b9d3fad44dfbc4148760cdff94; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < 9bf274b20b17ac76398052f62916f0c633c28307; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < 114c870480277554bf8242a14fa136347da81aef; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < d5e446e0a0541bf76e6e157a310f370699731cfd; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < 0b7c968ec9b9d53734cc102260cc211b55ae0d8c; >= 9bdc79ea07d98386b72e1b6b1613742556fba3af, < d1febef1bcfa7bbc401729f994c375b91a833911
LinuxLinux3.0

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-142812?
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.
How severe is CVE-2026-142812?
Severity scoring for CVE-2026-142812 is pending analysis.
How do I fix CVE-2026-142812?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-142812?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST