STM32F7 CubeMX FreeRTOS and USB CDC
There are two defines in the file usbd_cdc_if.c: 

#define APP_RX_DATA_SIZE  4
#define APP_TX_DATA_SIZE  4


The value 4 should be changed to 64. After that everything works great.