cvelo
P4 · InfoEPSS 0.2%

serial: samsung: put the previous baud clock

  • CVE-2026-142995
  • GHSA-rcj3-wx2j-j75x
  • EUVD-2026-142611

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    3.3none stated
    before 3.3: not affectednone stated
    from 5.10.276 up to 5.10.*: not affectednone stated
    from 5.15.227 up to 5.15.*: not affectednone stated
    from 6.12.120 up to 6.12.*: not affectednone stated
    from 6.18.66 up to 6.18.*: not affectednone stated
    from 7.3.7 up to 7.3.*: not affectednone stated
    from 7.4-rc4 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.