Description
The kernel handler for IPV6_MSFILTER dropped a serializing lock in order to copy the source-filter list from userspace, then reacquired the lock. During this window another thread could free the multicast filter structure, leaving the handler with a stale pointer to freed memory. An unprivileged local user can exploit this use-after-free to escalate privileges.
Problem types
Product status
15.0-RELEASE (release) before p10
14.4-RELEASE (release) before p6
14.3-RELEASE (release) before p15
Credits
Andrew Griffiths at Calif.io
Maik Münch
References
security.freebsd.org/...s/FreeBSD-SA-26:29.ip6_multicast.asc