CVE-2026-142995

Source
https://cve.org/CVERecord?id=CVE-2026-142995
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142995.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142995
Downstream
Published
2026-12-03T09:17:27Z
Modified
2026-12-03T11:00:24Z
Summary
serial: samsung: put the previous baud clock
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142995.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5f5a7a5578c5885201cf9c85856f023fe8b81765
Fixed
484bb3c78f471ba6d5fa57ea69bf7695a0fbdc6c
Fixed
746f359b7f8488508c0e3a8be0b051356060f681
Fixed
40ea55b20970ed2117b89efcb13f22ec4fe04a97
Fixed
1a8f4be899b6aa990dbcfd58a7ea9c3600e48592
Fixed
290582b73e3ac10ac413b25f5a6275207bfd1fe7
Show 1 more event Show fewer events
Fixed
eedf2cf3505c1562a2fb24f8b997056f023d242b

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142995.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.3.0
Fixed
5.10.276
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142995.json"