Psychiatry

A 60 year man had undergone cardiac bypass surgery 2 days back. Now he started forgetting things and was not able to recall names and phone numbers of his relatives. What is the probable diagnosis :