Which of the following is the cardinal symptom of Korsakoff syndrome?