CVE-2026-142812

Source
https://cve.org/CVERecord?id=CVE-2026-142812
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142812.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142812
Downstream
Published
2026-12-03T03:17:43Z
Modified
2026-12-03T05:00:27Z
Summary
media: rc: fintek-cir: process a full RX buffer instead of overflowing it
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142812.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9bdc79ea07d98386b72e1b6b1613742556fba3af
Fixed
acee0a8e501ec3ba1687e67e62c797745262757c
Fixed
49d605bfc40bb561f876956688d2a774d100eff9
Fixed
e6cbaa1a56b686b9d3fad44dfbc4148760cdff94
Fixed
9bf274b20b17ac76398052f62916f0c633c28307
Fixed
114c870480277554bf8242a14fa136347da81aef
Show 3 more events Show fewer events
Fixed
d5e446e0a0541bf76e6e157a310f370699731cfd
Fixed
0b7c968ec9b9d53734cc102260cc211b55ae0d8c
Fixed
d1febef1bcfa7bbc401729f994c375b91a833911

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142812.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142812.json"