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

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

fintekgetrxirdata() drains the CIR RX FIFO into fintek->buf[], which holds RXBUFLEN (32) bytes, for as long as CIRSTATUS reports pending RX data:

do { sample = fintekcirregread(fintek, CIRRXDATA); ... fintek->buf[fintek->pkts] = sample; fintek->pkts++; ... } while (status & rxirqs);

Nothing bounds fintek->pkts. If the hardware reports data for more than RXBUFLEN reads in one interrupt, the loop writes past the end of buf[], starting with the pkts counter that follows it in struct fintekdev.

Hand a full buffer to fintekprocessrxirdata(), 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

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the fintek CIR RX handler, process the samples and reset fintek->pkts when the RX buffer is full, before storing the next sample.

Event History

Dec 3, 2026
CVE Published
via MITRE·03:17 AM
Data Sourced
via MITRE·03:17 AM
Description
Data Sourced
via NVD·04:18 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203