CVE-2026-74719
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
net/smc: fix qentry overschrijven voor CONFIRM_LINK en ADD_LINK_CONT in smc_llc_event_handler()
De vestiging SMC_LLC_CONFIRM_LINK / SMC_LLC_ADD_LINK_CONT in
smc_llc_event_handler() slaat een inkomende qentry op in de lokale LLC-stroom
zonder eerst te controleren of een qentry al in behandeling is. Als een kwaadwillende of
buggy peer stuurt een tweede CONFIRM_LINK of ADD_LINK_CONT-verzoek terwijl een stroom is
actief en flow->qentry is al ingesteld, smc_llc_flow_qentry_set() overschrijft de
wijzer zonder de vorige toewijzing vrij te maken, lekt één kmalloc-96-object
per vals bericht. De broer of zus SMC_LLC_DELETE_LINK branch heeft al de juiste !flow->qentry
guard. Pas dezelfde beveiliging toe op de tak CONFIRM_LINK/ADD_LINK_CONT, zodat een
dubbele bericht wanneer qentry al bezet valt door te breken en is
bevrijd door de kfree(qentry) bij de out: label, in plaats van stil lekken van de
bestaande toewijzing. De reactierichting (smc_llc_rx_response()) wordt niet beïnvloed: deze bewaakt al
met flow->qentry op de equivalente locatie en laat dubbele antwoorden correct vallen.
Origineel (Engels) tonen
In the Linux kernel, the following vulnerability has been resolved:
net/smc: fix qentry overwrite for CONFIRM_LINK and ADD_LINK_CONT in smc_llc_event_handler()
The SMC_LLC_CONFIRM_LINK / SMC_LLC_ADD_LINK_CONT branch in
smc_llc_event_handler() stores an incoming qentry into the local LLC flow
without first checking whether a qentry is already pending. If a malicious or
buggy peer sends a second CONFIRM_LINK or ADD_LINK_CONT request while a flow is
active and flow->qentry is already set, smc_llc_flow_qentry_set() overwrites the
pointer without freeing the previous allocation, leaking one kmalloc-96 object
per spurious message.
The sibling SMC_LLC_DELETE_LINK branch already has the correct !flow->qentry
guard. Apply the same guard to the CONFIRM_LINK/ADD_LINK_CONT branch so that a
duplicate message when qentry is already occupied falls through to break and is
freed by the kfree(qentry) at the out: label, rather than silently leaking the
existing allocation.
The response direction (smc_llc_rx_response()) is unaffected: it already guards
with flow->qentry at the equivalent site and drops duplicate responses
correctly.