serial: samsung: put the previous baud clock

Summary

CVECVE-2026-142995
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 10:17:24 UTC
Updated2026-12-03 10:17:24 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: serial: samsung: put the previous baud clock s3c24xx_serial_getclk() returns the best baud clock with the reference which clk_get() has taken. s3c24xx_serial_set_termios() stores it in ourport->baudclk and disables the clock which was there before, but does not put it. clk_get() hands out a new handle on every call, so the new clock never equals the old one, and every call of ->set_termios() leaks a handle: a struct clk and a copy of the connection name. Whoever has the port open can repeat that at will with tcsetattr(). Put the old clock when it is replaced, and the new one in case it is not stored.

Risk And Classification

EPSS: 0.002150000 probability, percentile 0.126120000 (date 2026-12-03)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 5f5a7a5578c5885201cf9c85856f023fe8b81765 484bb3c78f471ba6d5fa57ea69bf7695a0fbdc6c git Not specified
CNA Linux Linux affected 5f5a7a5578c5885201cf9c85856f023fe8b81765 746f359b7f8488508c0e3a8be0b051356060f681 git Not specified
CNA Linux Linux affected 5f5a7a5578c5885201cf9c85856f023fe8b81765 40ea55b20970ed2117b89efcb13f22ec4fe04a97 git Not specified
CNA Linux Linux affected 5f5a7a5578c5885201cf9c85856f023fe8b81765 1a8f4be899b6aa990dbcfd58a7ea9c3600e48592 git Not specified
CNA Linux Linux affected 5f5a7a5578c5885201cf9c85856f023fe8b81765 290582b73e3ac10ac413b25f5a6275207bfd1fe7 git Not specified
CNA Linux Linux affected 5f5a7a5578c5885201cf9c85856f023fe8b81765 eedf2cf3505c1562a2fb24f8b997056f023d242b git Not specified
CNA Linux Linux affected 3.3 Not specified
CNA Linux Linux unaffected 3.3 semver Not specified
CNA Linux Linux unaffected 5.10.276 5.10.* 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

ReferenceSourceLinkTags
git.kernel.org/stable/c/40ea55b20970ed2117b89efcb13f22ec4fe04a97 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1a8f4be899b6aa990dbcfd58a7ea9c3600e48592 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/484bb3c78f471ba6d5fa57ea69bf7695a0fbdc6c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/290582b73e3ac10ac413b25f5a6275207bfd1fe7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/eedf2cf3505c1562a2fb24f8b997056f023d242b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/746f359b7f8488508c0e3a8be0b051356060f681 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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report