CVE-2026-142812

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-142813In the Linux kernel, the following vulnerability has been resolved: ksmbd: use the existing xattr name for a named stream SMB stream namesCVE-2026-142814In the Linux kernel, the following vulnerability has been resolved: ksmbd: retry break notifications on another connection An oplock or leCVE-2026-142815In the Linux kernel, the following vulnerability has been resolved: ksmbd: track delivery of queued TCP writes A nonblocking break send muCVE-2026-142816In the Linux kernel, the following vulnerability has been resolved: HID: hid-lenovo-go-s: Use devm_kzalloc for drvdata Changes drvdata froCVE-2026-142817In the Linux kernel, the following vulnerability has been resolved: fork: move the coredump and exec checks into create_io_thread() Only aCVE-2026-142818In the Linux kernel, the following vulnerability has been resolved: ns: don't add init_ipc_ns and init_net without namespace support When CVE-2026-142819In the Linux kernel, the following vulnerability has been resolved: kgdb: Fix buffer overflow in the qRcmd packet handler gdb_cmd_query() CVE-2026-142829.8The GoDAM – Organize WordPress Media Library & File Manager with Unlimited Folders for Images, Videos & more plugin for WordPress is vulneraCVE-2026-142820In the Linux kernel, the following vulnerability has been resolved: kgdb: Fix buffer overflow in the 'm' packet handler gdb_cmd_memread() CVE-2026-142821In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: validate SRAT subtables before parsing The KFD SRAT walkerCVE-2026-142822In the Linux kernel, the following vulnerability has been resolved: ipmr: drop packets with unknown ingress VIF A packet can race with VIFCVE-2026-142823In the Linux kernel, the following vulnerability has been resolved: bonding: fix out-of-bounds read of arp_ip_target arp_ip_target is a mo
CVE-2026-142812: Unscored | Vulnix