etcp: etcp_inflight_nullify_link читал entry->data вместо entry — last_link не обнулялся (UAF в bbr/retrans)

This commit is contained in:
evgeny committed 2026-09-10 17:53:14 +03:00
1 parent 66bdfe7c47
commit fbfefdef16
1 file changed
+1 -1
+1 -1
View File
@@ -951,7 +951,7 @@ static void etcp_inflight_nullify_link(struct ll_queue* q, struct ETCP_LINK* dea
if (!q) return;
struct ll_entry* entry = q->head;
while (entry) {
struct INFLIGHT_PACKET* inf = (struct INFLIGHT_PACKET*)entry->data;
struct INFLIGHT_PACKET* inf = (struct INFLIGHT_PACKET*)entry;
if (inf->last_link == dead_link) inf->last_link = NULL;
entry = entry->next;
}