I'm currently seeing kernel panics in the fec driver when configuring and re-configuring my network with netplan.io in ubuntu.
I'm seeing this on our own hardware as well as the iMX6ULL EVK. The kernel version is 4.14.98. I've also tried using 5.4 from git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git.
I noticed the panic happens when unbinding and then binding the device to the driver, which netplan.io seems to by running strace.
eg. running the following commands can cause the kernel panic.
~# echo -n "20b4000.ethernet" > /sys/bus/platform/drivers/fec/ubind
~# echo -n "20b4000.ethernet" > /sys/bus/platform/drivers/fec/bind