Re: [PATCH nf v4] netfilter: ipset: fix double free on kernel-side delete during resize
From: Xue Boyang
Date: Tue Nov 17 2026 - 06:45:22 EST
Thanks for the pointer. I had not taken that series into account when
preparing v4.
I have now looked through it. The rhashtable conversion removes the
ipset-specific table-copy resize path, so it appears to avoid this
double-free/UAF class at its root rather than fixing the individual
races in the old resize implementation.
I will run the reproducer and the related GC/dump tests against v10 and
report the results.
Since that series targets nf-next and is a fairly large conversion,
while this issue also affects existing and stable kernels, would you
prefer that I replace this v4 synchronization rework with a smaller
targeted fix for nf/stable, leaving the complete cleanup to the
rhashtable series?