VYPR
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

1

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.