- Accueil
- Vulnérabilités
- CVE-2026-142812
CVE-2026-142812
media: rc: fintek-cir: process a full RX buffer instead of overflowing it
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | 3.0 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://git.kernel.org/stable/c/acee0a8e501ec3ba1687e67e62c797745262757c
- https://git.kernel.org/stable/c/49d605bfc40bb561f876956688d2a774d100eff9
- https://git.kernel.org/stable/c/e6cbaa1a56b686b9d3fad44dfbc4148760cdff94
- https://git.kernel.org/stable/c/9bf274b20b17ac76398052f62916f0c633c28307
- https://git.kernel.org/stable/c/114c870480277554bf8242a14fa136347da81aef
- https://git.kernel.org/stable/c/d5e446e0a0541bf76e6e157a310f370699731cfd
- https://git.kernel.org/stable/c/0b7c968ec9b9d53734cc102260cc211b55ae0d8c
- https://git.kernel.org/stable/c/d1febef1bcfa7bbc401729f994c375b91a833911
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)