cveboard Feed RSS

CVE-2025-23142

CVE.org · Publicado

Histórico de CVEsJSONInstruções para IA

Status do registro
Publicado
Ano do identificador (não é o ano de publicação)
2025
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

sctp: detect and prevent references to a freed transport in sendmsg

In the Linux kernel, the following vulnerability has been resolved: sctp: detect and prevent references to a freed transport in sendmsg sctp_sendmsg() re-uses associations and transports when possible by doing a lookup based on the socket endpoint and the message destination address, and then sctp_sendmsg_to_asoc() sets the selected transport in all the message chunks to be sent. There's a possible race condition if another thread triggers the removal of that selected transport, for instance, by explicitly unbinding an address with setsockopt(SCTP_SOCKOPT_BINDX_REM), after the chunks have been set up and before the message is sent. This can happen if the send buffer is full, during the period when the sender thread temporarily releases the socket lock in sctp_wait_for_sndbuf(). This causes the access to the transport data in sctp_outq_select_transport(), when the association outqueue is flushed, to result in a use-after-free read. This change avoids this scenario by having sctp_transport_free() signal the freeing of the transport, tagging it as "dead". In order to do this, the patch restores the "dead" bit in struct sctp_transport, which was removed in commit 47faa1e4c50e ("sctp: remove the dead field of sctp_transport"). Then, in the scenario where the sender thread has released the socket lock in sctp_wait_for_sndbuf(), the bit is checked again after re-acquiring the socket lock to detect the deletion. This is done while holding a reference to the transport to prevent it from being freed in the process. If the transport was deleted while the socket lock was relinquished, sctp_sendmsg_to_asoc() will return -EAGAIN to let userspace retry the send. The bug was found by a private syzbot instance (see the error report [1] and the C reproducer that triggers it [2]).

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)
df132eff463873e14e019a07f387b4d577d6d1f9affectedgit547762250220325d350d0917a7231480e0f4142bIndisponívelNenhuma listada
df132eff463873e14e019a07f387b4d577d6d1f9affectedgit3257386be6a7eb8a8bfc9cbfb746df4eb4fc70e8IndisponívelNenhuma listada
df132eff463873e14e019a07f387b4d577d6d1f9affectedgit0f7df4899299ce4662e5f95badb9dbc57cc37fa5IndisponívelNenhuma listada
df132eff463873e14e019a07f387b4d577d6d1f9affectedgit7a63f4fb0efb4e69efd990cbb740a848679ec4b0IndisponívelNenhuma listada
df132eff463873e14e019a07f387b4d577d6d1f9affectedgitc6fefcb71d246baaf3bacdad1af7ff50ebcfe652IndisponívelNenhuma listada
df132eff463873e14e019a07f387b4d577d6d1f9affectedgit9e7c37fadb3be1fc33073fcf10aa96d166caa697IndisponívelNenhuma listada
df132eff463873e14e019a07f387b4d577d6d1f9affectedgit5bc83bdf5f5b8010d1ca5a4555537e62413ab4e2IndisponívelNenhuma listada
df132eff463873e14e019a07f387b4d577d6d1f9affectedgit2e5068b7e0ae0a54f6cfd03a2f80977da657f1eeIndisponívelNenhuma listada
df132eff463873e14e019a07f387b4d577d6d1f9affectedgitf1a69a940de58b16e8249dff26f74c8cc59b32beIndisponívelNenhuma listada
26e51e5287eed4d96ea66a3da95429f42940f013affectedgitIndisponívelIndisponívelNenhuma listada
8b97e045bd6d37f96f161e4d371ae174148e1587affectedgitIndisponívelIndisponívelNenhuma listada
e044554e97e812eb257d073bcc130e0ea653858faffectedgitIndisponívelIndisponívelNenhuma listada
8376fdc999be008f0e9918db52f1ed8c08f5a1c9affectedgitIndisponívelIndisponívelNenhuma listada
cd947138e8c31e8cfcd489c12e9b97271beb6e79affectedgitIndisponívelIndisponívelNenhuma listada
3.18.128affectedsemver3.19IndisponívelNenhuma listada
4.4.166affectedsemver4.5IndisponívelNenhuma listada
4.9.142affectedsemver4.10IndisponívelNenhuma listada
4.14.85affectedsemver4.15IndisponívelNenhuma listada
4.19.6affectedsemver4.20Indisponí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.20affectedIndisponívelIndisponívelIndisponívelNenhuma listada
0unaffectedsemver4.20IndisponívelNenhuma listada
5.4.293unaffectedsemverIndisponível5.4.*Nenhuma listada
5.10.237unaffectedsemverIndisponível5.10.*Nenhuma listada
5.15.181unaffectedsemverIndisponível5.15.*Nenhuma listada
6.1.135unaffectedsemverIndisponível6.1.*Nenhuma listada
6.6.88unaffectedsemverIndisponível6.6.*Nenhuma listada
6.12.24unaffectedsemverIndisponível6.12.*Nenhuma listada
6.13.12unaffectedsemverIndisponível6.13.*Nenhuma listada
6.14.3unaffectedsemverIndisponível6.14.*Nenhuma listada
6.15unaffectedoriginal_commit_for_fixIndisponível*Nenhuma listada