DragonFlyBSD Kernel Audit
← triage · dashboard
DF-2581

radix_node_head leak on table_delete and on table re-create enables kernel memory exhaustion DoS

Summary

table_delete_dispatch sets type=0 and rn_flush node tree but never frees radix_node_head structures themselves XXX comment. table_create_dispatch unconditionally calls rn_inithead on both mask and node overwriting pointer without freeing prior heads. Repeated create->delete cycles leak 2*sizeof(radix_node_head)(~600 bytes) per cycle per CPU no upper bound. ip_fw3_table_fini_dispatch repeats same XXX.

Discussion (0)

No comments yet.