mmc: sdio_uart: fix xmit_fifo leak when the port table is full
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fd8223c53ad9553b2a349d2a40e19bbc6e60fc48, Kernel 53823e25793a97d07e6e98e0904bbf74cac8bc76, Kernel 5e142adbbdc54afbd01fad476c91cded41d22594 and 12 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=8b197a5ce7a7218bb9fc721647ba0d5734f27348 <fd8223c53ad9553b2a349d2a40e19bbc6e60fc48, >=8b197a5ce7a7218bb9fc721647ba0d5734f27348 <53823e25793a97d07e6e98e0904bbf74cac8bc76, >=8b197a5ce7a7218bb9fc721647ba0d5734f27348 <5e142adbbdc54afbd01fad476c91cded41d22594, >=8b197a5ce7a7218bb9fc721647ba0d5734f27348 <72f4c2b7a48423c708f2c348585419a1b71ab04c, >=8b197a5ce7a7218bb9fc721647ba0d5734f27348 <8a2c1bf209ba04cbd14153a771724bd5aa522fcd, >=8b197a5ce7a7218bb9fc721647ba0d5734f27348 <9e992d59138fcfaa4bad7cc0750265b0a8bca100, >=8b197a5ce7a7218bb9fc721647ba0d5734f27348 <ac866db277a4c73e84b4263773652e3aba326249, >=8b197a5ce7a7218bb9fc721647ba0d5734f27348 <b97b5b66c93cb4aaf6358727a73fff880a774dfd, =2.6.34 | fd8223c53ad9553b2a349d2a40e19bbc6e60fc48, 53823e25793a97d07e6e98e0904bbf74cac8bc76, 5e142adbbdc54afbd01fad476c91cded41d22594, 72f4c2b7a48423c708f2c348585419a1b71ab04c, 8a2c1bf209ba04cbd14153a771724bd5aa522fcd, 9e992d59138fcfaa4bad7cc0750265b0a8bca100, ac866db277a4c73e84b4263773652e3aba326249, b97b5b66c93cb4aaf6358727a73fff880a774dfd |
| linux-kernel: Kernel | >=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.54, >=6.19.0 <7.2.8, >=6.2.0 <6.6.158, >=6.7.0 <6.12.112, >=2.6.34 <5.10.271 | 5.15.222, 6.1.189, 6.18.54, 7.2.8, 6.6.158, 6.12.112, 5.10.271 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket