{"id":"CVE-2026-142996","summary":"serial: samsung: don't leak the tty on an RX IRQ","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: samsung: don't leak the tty on an RX IRQ\n\ns3c24xx_serial_rx_chars_dma() starts by taking a reference to the tty.\nIf the interrupt is not a receive timeout, it switches the port from PIO\nback to DMA and leaves through the \"finish\" label, which does not drop\nthe reference.\n\nA port with RX DMA changes to PIO on every receive timeout, that is at\nthe end of every burst of data, and comes back this way when the next\nburst starts.  So each burst takes a reference which is never dropped,\nand the tty structure is not freed when the port is closed for the last\ntime.\n\nDrop the reference on both paths.","modified":"2026-12-03T11:00:26.111505931Z","published":"2026-12-03T09:17:28.553Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142996.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/58499e9827d70b266e268b994d784507badd076b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ada442f5ef77f8d53f608a0141a5e88a888ca9f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0cc11d8a36cb1246c4cbe4f4a852302aab233ad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bafc3f6fb37459e8a2aba7498c8c0d69997eb669"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb989d3941a99a5414a6fe9dc3c800acfb758977"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142996.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142996"}],"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}