Re: [PATCH net] net: af_key: fix use-after-free in dump_sp() on policy migrate

From: Daniel Wade

Date: Sun Nov 15 2026 - 20:36:23 EST


Discovered by a clanker reading the PF_KEY policy export path. Reproduced on
an unmodified kernel before the patch was written, with no kernel
modification, no injected delay and no error injection, and the fix was
tested against the same reproducer.

Thanks,
Daniel