Skip to contentSkip to conversation

CVE-2026-98746: serial: ma35d1: Fix clock reference leak in ma35d1serial_probe()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

serial: ma35d1: Fix clock reference leak in ma35d1serial_probe()

of_clk_get() returns a clock with a reference that has to be released with clk_put(). ma35d1serial_probe() never does that, so the reference is leaked on the probe error paths and also when the port is removed.

Release it on the error paths and in ma35d1serial_remove().

The Linux kernel CVE team has assigned CVE-2026-98746 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.5 with commit 930cbf92db0184e327293d5e7089be0b08d46371 and fixed in 6.12.113 with commit 547c742f3b4acd4634eec47e9bff8731b55059a0
	Issue introduced in 6.5 with commit 930cbf92db0184e327293d5e7089be0b08d46371 and fixed in 6.18.56 with commit d8233d6b391b4cd87df6e89056c21496df7a3012
	Issue introduced in 6.5 with commit 930cbf92db0184e327293d5e7089be0b08d46371 and fixed in 7.2.10 with commit 1b303d383089aae7f20ad19fee15690486b935cb
	Issue introduced in 6.5 with commit 930cbf92db0184e327293d5e7089be0b08d46371 and fixed in 7.3-rc6 with commit 98401cf912fe8a081ef8e500c421b6d957b55a99

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98746

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/tty/serial/ma35d1_serial.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/547c742f3b4acd4634eec47e9bff8731b55059a0
	https://git.kernel.org/stable/c/d8233d6b391b4cd87df6e89056c21496df7a3012
	https://git.kernel.org/stable/c/1b303d383089aae7f20ad19fee15690486b935cb
	https://git.kernel.org/stable/c/98401cf912fe8a081ef8e500c421b6d957b55a99