{"api_version":"1","generated_at":"2026-12-04T12:51:44+00:00","cve":"CVE-2026-142996","urls":{"html":"https://cve.report/CVE-2026-142996","api":"https://cve.report/api/cve/CVE-2026-142996.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142996","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142996"},"summary":{"title":"serial: samsung: don't leak the tty on an RX IRQ","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:24","updated_at":"2026-12-03 10:17:24"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/7ada442f5ef77f8d53f608a0141a5e88a888ca9f","name":"https://git.kernel.org/stable/c/7ada442f5ef77f8d53f608a0141a5e88a888ca9f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/58499e9827d70b266e268b994d784507badd076b","name":"https://git.kernel.org/stable/c/58499e9827d70b266e268b994d784507badd076b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bafc3f6fb37459e8a2aba7498c8c0d69997eb669","name":"https://git.kernel.org/stable/c/bafc3f6fb37459e8a2aba7498c8c0d69997eb669","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/eb989d3941a99a5414a6fe9dc3c800acfb758977","name":"https://git.kernel.org/stable/c/eb989d3941a99a5414a6fe9dc3c800acfb758977","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b0cc11d8a36cb1246c4cbe4f4a852302aab233ad","name":"https://git.kernel.org/stable/c/b0cc11d8a36cb1246c4cbe4f4a852302aab233ad","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142996","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142996","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b543c301c2c5fbf24ed160a0c227122f09f38e5f eb989d3941a99a5414a6fe9dc3c800acfb758977 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b543c301c2c5fbf24ed160a0c227122f09f38e5f bafc3f6fb37459e8a2aba7498c8c0d69997eb669 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b543c301c2c5fbf24ed160a0c227122f09f38e5f b0cc11d8a36cb1246c4cbe4f4a852302aab233ad git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b543c301c2c5fbf24ed160a0c227122f09f38e5f 58499e9827d70b266e268b994d784507badd076b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b543c301c2c5fbf24ed160a0c227122f09f38e5f 7ada442f5ef77f8d53f608a0141a5e88a888ca9f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc4 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"142996","cve":"CVE-2026-142996","epss":"0.002090000","percentile":"0.116620000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/tty/serial/samsung_tty.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"eb989d3941a99a5414a6fe9dc3c800acfb758977","status":"affected","version":"b543c301c2c5fbf24ed160a0c227122f09f38e5f","versionType":"git"},{"lessThan":"bafc3f6fb37459e8a2aba7498c8c0d69997eb669","status":"affected","version":"b543c301c2c5fbf24ed160a0c227122f09f38e5f","versionType":"git"},{"lessThan":"b0cc11d8a36cb1246c4cbe4f4a852302aab233ad","status":"affected","version":"b543c301c2c5fbf24ed160a0c227122f09f38e5f","versionType":"git"},{"lessThan":"58499e9827d70b266e268b994d784507badd076b","status":"affected","version":"b543c301c2c5fbf24ed160a0c227122f09f38e5f","versionType":"git"},{"lessThan":"7ada442f5ef77f8d53f608a0141a5e88a888ca9f","status":"affected","version":"b543c301c2c5fbf24ed160a0c227122f09f38e5f","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/tty/serial/samsung_tty.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.0"},{"lessThan":"4.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.227","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc4","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc4","versionStartIncluding":"4.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:17:28.553Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/eb989d3941a99a5414a6fe9dc3c800acfb758977"},{"url":"https://git.kernel.org/stable/c/bafc3f6fb37459e8a2aba7498c8c0d69997eb669"},{"url":"https://git.kernel.org/stable/c/b0cc11d8a36cb1246c4cbe4f4a852302aab233ad"},{"url":"https://git.kernel.org/stable/c/58499e9827d70b266e268b994d784507badd076b"},{"url":"https://git.kernel.org/stable/c/7ada442f5ef77f8d53f608a0141a5e88a888ca9f"}],"title":"serial: samsung: don't leak the tty on an RX IRQ","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142996","datePublished":"2026-12-03T09:17:28.553Z","dateReserved":"2026-12-03T03:10:28.342Z","dateUpdated":"2026-12-03T09:17:28.553Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:24","lastModifiedDate":"2026-12-03 10:17:24","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142996","Ordinal":"1","Title":"serial: samsung: don't leak the tty on an RX IRQ","CVE":"CVE-2026-142996","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142996","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"serial: samsung: don't leak the tty on an RX IRQ"}]}}}