Back

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

Published Oct 6, 2026

Description

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.

Affected products

Remediation

No remediation recorded yet.

Weaknesses (0)

No CWE recorded.

References (9)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published Oct 6, 2026
Updated Oct 6, 2026
Reserved Sep 25, 2026

CISA Vulnrichment

No data

NVD

Status Received
Modified Oct 6, 2026

Red Hat

No data

ENISA EUVD

Assigner Linux
Published Oct 6, 2026
Updated Oct 6, 2026

GitHub

No data