cveboard Feed RSS

CVE-2021-47527

CVE.org · Publicado

Histórico de CVEsJSONInstruções para IA

Status do registro
Publicado
Ano do identificador (não é o ano de publicação)
2021
Publicação na fonte
Atualização na fonte
Importado pelo cveboard
Snapshot da fonte
cve_2026-10-24_midnight_baseline ·

Texto simples

Texto da CNA em inglês

serial: core: fix transmit-buffer reset and memleak

In the Linux kernel, the following vulnerability has been resolved: serial: core: fix transmit-buffer reset and memleak Commit 761ed4a94582 ("tty: serial_core: convert uart_close to use tty_port_close") converted serial core to use tty_port_close() but failed to notice that the transmit buffer still needs to be freed on final close. Not freeing the transmit buffer means that the buffer is no longer cleared on next open so that any ioctl() waiting for the buffer to drain might wait indefinitely (e.g. on termios changes) or that stale data can end up being transmitted in case tx is restarted. Furthermore, the buffer of any port that has been opened would leak on driver unbind. Note that the port lock is held when clearing the buffer pointer due to the ldisc race worked around by commit a5ba1d95e46e ("uart: fix race between uart_put_char() and uart_shutdown()"). Also note that the tty-port shutdown() callback is not called for console ports so it is not strictly necessary to free the buffer page after releasing the lock (cf. d72402145ace ("tty/serial: do not free trasnmit buffer page under port lock")).

Fatos de produtos e versões por escopo

Dados de correção desconhecidos; nenhuma versão corrigida é deduzida aqui. Dados ausentes não comprovam ausência de correção.

Exploração desconhecida; este catálogo não avalia exploração.

Linux

Fornecedor
Linux
Produto
Linux
Plataformas
Desconhecido
Status padrão
unaffected
Linux · Fatos de produtos e versões por escopo
Versão (version)Status (status)Esquema de versões (versionType)Fim exclusivo (lessThan)Fim inclusivo (lessThanOrEqual)Mudanças de status (at → status)
761ed4a94582ab291aa24dcbea4e01e8936488c8affectedgit011f6c92b5bf6e1fbfdedc8b5232f64c1c493206IndisponívelNenhuma listada
761ed4a94582ab291aa24dcbea4e01e8936488c8affectedgite74d9663fd57640fc3394abb5c76fa95b9cc2f2eIndisponívelNenhuma listada
761ed4a94582ab291aa24dcbea4e01e8936488c8affectedgit1179b168fa3f3a6aae3bd140000455a0e58457dbIndisponívelNenhuma listada
761ed4a94582ab291aa24dcbea4e01e8936488c8affectedgitc5da8aa441053958594f94254592bb41264bdfbfIndisponívelNenhuma listada
761ed4a94582ab291aa24dcbea4e01e8936488c8affectedgite1722acf4f0d4d67b60f57e08ce16f8b66cd4b8fIndisponívelNenhuma listada
761ed4a94582ab291aa24dcbea4e01e8936488c8affectedgit64e491c1634b73d3bddc081d08620bdc92ab2c12IndisponívelNenhuma listada
761ed4a94582ab291aa24dcbea4e01e8936488c8affectedgit00de977f9e0aa9760d9a79d1e41ff780f74e3424IndisponívelNenhuma listada

Linux

Fornecedor
Linux
Produto
Linux
Plataformas
Desconhecido
Status padrão
affected
Linux · Fatos de produtos e versões por escopo
Versão (version)Status (status)Esquema de versões (versionType)Fim exclusivo (lessThan)Fim inclusivo (lessThanOrEqual)Mudanças de status (at → status)
4.9affectedIndisponívelIndisponívelIndisponívelNenhuma listada
0unaffectedsemver4.9IndisponívelNenhuma listada
4.9.292unaffectedsemverIndisponível4.9.*Nenhuma listada
4.14.257unaffectedsemverIndisponível4.14.*Nenhuma listada
4.19.220unaffectedsemverIndisponível4.19.*Nenhuma listada
5.4.164unaffectedsemverIndisponível5.4.*Nenhuma listada
5.10.84unaffectedsemverIndisponível5.10.*Nenhuma listada
5.15.7unaffectedsemverIndisponível5.15.*Nenhuma listada
5.16unaffectedoriginal_commit_for_fixIndisponível*Nenhuma listada