tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 85% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error
If clk_get_rate() fails, the clk that has just been allocated needs to be
freed.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/073dbbe5743779faf24f233cc95459b47c7198ddhttps://git.kernel.org/stable/c/1694fc8ad734e2909a9e40d2be03cc4423e0bee6https://git.kernel.org/stable/c/30962268fa1a7466413b3d83037688129021d470https://git.kernel.org/stable/c/34f5b826dd509b76644f83094b4af7e7668a6a38https://git.kernel.org/stable/c/755289d67eb9a74ae71bb624902e979c66859444https://git.kernel.org/stable/c/a49e5a05121c8bc471a57b4916c5393749c24de5https://git.kernel.org/stable/c/a9c09546e903f1068acfa38e1ee18bded7114b37https://git.kernel.org/stable/c/f47e6631a8fcc6fe05b8644aa4222a60f3b0a927