Unrated severityNVD Advisory· Published Dec 3, 2026
CVE-2026-142995
CVE-2026-142995
Description
In 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.
Affected products
1Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/1a8f4be899b6aa990dbcfd58a7ea9c3600e48592nvd
- git.kernel.org/stable/c/290582b73e3ac10ac413b25f5a6275207bfd1fe7nvd
- git.kernel.org/stable/c/40ea55b20970ed2117b89efcb13f22ec4fe04a97nvd
- git.kernel.org/stable/c/484bb3c78f471ba6d5fa57ea69bf7695a0fbdc6cnvd
- git.kernel.org/stable/c/746f359b7f8488508c0e3a8be0b051356060f681nvd
- git.kernel.org/stable/c/eedf2cf3505c1562a2fb24f8b997056f023d242bnvd
News mentions
0No linked articles in our index yet.