Oracle could do what they did with DTrace in 2017, and release it under the GPL in addition to the CDDL. Then the OpenZFS folks would have to track down every contributor to OpenZFS, and get their permission to re-license their contribution. Contributions from folks who refused or couldn't be found would have to be re-implemented or dropped.
It is a pain in the ass, but it has been done before.