CVE-2026-142996

Source
https://cve.org/CVERecord?id=CVE-2026-142996
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142996.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142996
Downstream
Published
2026-12-03T09:17:28Z
Modified
2026-12-03T11:00:26Z
Summary
serial: samsung: don't leak the tty on an RX IRQ
Details

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

serial: samsung: don't leak the tty on an RX IRQ

s3c24xx_serial_rx_chars_dma() starts by taking a reference to the tty. If the interrupt is not a receive timeout, it switches the port from PIO back to DMA and leaves through the "finish" label, which does not drop the reference.

A port with RX DMA changes to PIO on every receive timeout, that is at the end of every burst of data, and comes back this way when the next burst starts. So each burst takes a reference which is never dropped, and the tty structure is not freed when the port is closed for the last time.

Drop the reference on both paths.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142996.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
b543c301c2c5fbf24ed160a0c227122f09f38e5f
Fixed
eb989d3941a99a5414a6fe9dc3c800acfb758977
Fixed
bafc3f6fb37459e8a2aba7498c8c0d69997eb669
Fixed
b0cc11d8a36cb1246c4cbe4f4a852302aab233ad
Fixed
58499e9827d70b266e268b994d784507badd076b
Fixed
7ada442f5ef77f8d53f608a0141a5e88a888ca9f

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

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