K 10 svn:author V 7 git2svn K 8 svn:date V 27 2021-03-28T00:26:49.414521Z K 7 svn:log V 673 accept_filter: Fix filter parameter handling For filters which implement accf_create, the setsockopt(2) handler caches the filter name in the socket, but it also incorrectly frees the buffer containing the copy, leaving a dangling pointer. Note that no accept filters provided in the base system are susceptible to this, as they don't implement accf_create. Reported by: Alexey Kulaev Discussed with: emaste Security: kernel use-after-free MFC after: 3 days Sponsored by: The FreeBSD Foundation (cherry picked from commit 653a437c04440495cd8e7712c7cf39444f26f1ee) Git Hash: 6008a5fad3c110c4ec03cc3fe60ce41c4e548b98 Git Author: markj@FreeBSD.org END