The only way to fix this problem is to send your devices back to your distributor! This is not a software bug!!!
We have serveral CRS317, CRS328 and the new CRS326 and they worked now without port flappings or other problems.
Now they running with RouterOS 6.46 since last friday.
regards