Skip to contentSkip to conversation

CVE-2026-98208: mmc: sdio_uart: fix xmit_fifo leak when the port table is full

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

lore
Share & tools
lore
#0 lore raw

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

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

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

mmc: sdio_uart: fix xmit_fifo leak when the port table is full

sdio_uart_add_port() allocates the transmit fifo before claiming a slot in sdio_uart_table[]. When all UART_NR slots are taken, it returns -EBUSY with the fifo still allocated, but the probe error path only kfree()s the port, leaking the transmit fifo.

Free the fifo in the failure path of sdio_uart_add_port() itself so the function retains nothing on error.

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

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

	Issue introduced in 2.6.34 with commit 8b197a5ce7a7218bb9fc721647ba0d5734f27348 and fixed in 5.10.271 with commit 9e992d59138fcfaa4bad7cc0750265b0a8bca100
	Issue introduced in 2.6.34 with commit 8b197a5ce7a7218bb9fc721647ba0d5734f27348 and fixed in 5.15.222 with commit b97b5b66c93cb4aaf6358727a73fff880a774dfd
	Issue introduced in 2.6.34 with commit 8b197a5ce7a7218bb9fc721647ba0d5734f27348 and fixed in 6.1.189 with commit 8a2c1bf209ba04cbd14153a771724bd5aa522fcd
	Issue introduced in 2.6.34 with commit 8b197a5ce7a7218bb9fc721647ba0d5734f27348 and fixed in 6.6.158 with commit 72f4c2b7a48423c708f2c348585419a1b71ab04c
	Issue introduced in 2.6.34 with commit 8b197a5ce7a7218bb9fc721647ba0d5734f27348 and fixed in 6.12.112 with commit fd8223c53ad9553b2a349d2a40e19bbc6e60fc48
	Issue introduced in 2.6.34 with commit 8b197a5ce7a7218bb9fc721647ba0d5734f27348 and fixed in 6.18.54 with commit ac866db277a4c73e84b4263773652e3aba326249
	Issue introduced in 2.6.34 with commit 8b197a5ce7a7218bb9fc721647ba0d5734f27348 and fixed in 7.2.8 with commit 5e142adbbdc54afbd01fad476c91cded41d22594
	Issue introduced in 2.6.34 with commit 8b197a5ce7a7218bb9fc721647ba0d5734f27348 and fixed in 7.3-rc4 with commit 53823e25793a97d07e6e98e0904bbf74cac8bc76

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-98208

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/mmc/core/sdio_uart.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/9e992d59138fcfaa4bad7cc0750265b0a8bca100
	https://git.kernel.org/stable/c/b97b5b66c93cb4aaf6358727a73fff880a774dfd
	https://git.kernel.org/stable/c/8a2c1bf209ba04cbd14153a771724bd5aa522fcd
	https://git.kernel.org/stable/c/72f4c2b7a48423c708f2c348585419a1b71ab04c
	https://git.kernel.org/stable/c/fd8223c53ad9553b2a349d2a40e19bbc6e60fc48
	https://git.kernel.org/stable/c/ac866db277a4c73e84b4263773652e3aba326249
	https://git.kernel.org/stable/c/5e142adbbdc54afbd01fad476c91cded41d22594
	https://git.kernel.org/stable/c/53823e25793a97d07e6e98e0904bbf74cac8bc76