serial: samsung: don't leak the tty on an RX IRQ
Summary
| CVE | CVE-2026-142996 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:17:24 UTC |
| Updated | 2026-12-03 10:17:24 UTC |
| Description | 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. |
Risk And Classification
EPSS: 0.002090000 probability, percentile 0.116620000 (date 2026-12-03)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected b543c301c2c5fbf24ed160a0c227122f09f38e5f eb989d3941a99a5414a6fe9dc3c800acfb758977 git | Not specified |
| CNA | Linux | Linux | affected b543c301c2c5fbf24ed160a0c227122f09f38e5f bafc3f6fb37459e8a2aba7498c8c0d69997eb669 git | Not specified |
| CNA | Linux | Linux | affected b543c301c2c5fbf24ed160a0c227122f09f38e5f b0cc11d8a36cb1246c4cbe4f4a852302aab233ad git | Not specified |
| CNA | Linux | Linux | affected b543c301c2c5fbf24ed160a0c227122f09f38e5f 58499e9827d70b266e268b994d784507badd076b git | Not specified |
| CNA | Linux | Linux | affected b543c301c2c5fbf24ed160a0c227122f09f38e5f 7ada442f5ef77f8d53f608a0141a5e88a888ca9f git | Not specified |
| CNA | Linux | Linux | affected 4.0 | Not specified |
| CNA | Linux | Linux | unaffected 4.0 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.227 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.120 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.66 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.7 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc4 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/7ada442f5ef77f8d53f608a0141a5e88a888ca9f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/58499e9827d70b266e268b994d784507badd076b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/bafc3f6fb37459e8a2aba7498c8c0d69997eb669 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/eb989d3941a99a5414a6fe9dc3c800acfb758977 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b0cc11d8a36cb1246c4cbe4f4a852302aab233ad | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.