CVE-2026-142995

Unknown

Last modified

CVE-2026-142995 is a vulnerability of currently unknown severity. 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.

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 Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 5f5a7a5578c5885201cf9c85856f023fe8b81765, < 484bb3c78f471ba6d5fa57ea69bf7695a0fbdc6c; >= 5f5a7a5578c5885201cf9c85856f023fe8b81765, < 746f359b7f8488508c0e3a8be0b051356060f681; >= 5f5a7a5578c5885201cf9c85856f023fe8b81765, < 40ea55b20970ed2117b89efcb13f22ec4fe04a97; >= 5f5a7a5578c5885201cf9c85856f023fe8b81765, < 1a8f4be899b6aa990dbcfd58a7ea9c3600e48592; >= 5f5a7a5578c5885201cf9c85856f023fe8b81765, < 290582b73e3ac10ac413b25f5a6275207bfd1fe7; >= 5f5a7a5578c5885201cf9c85856f023fe8b81765, < eedf2cf3505c1562a2fb24f8b997056f023d242b
LinuxLinux3.3

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-142995?
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.
How severe is CVE-2026-142995?
Severity scoring for CVE-2026-142995 is pending analysis.
How do I fix CVE-2026-142995?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-142995?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST