Nut Weevil (Curculio nucum)
Inside an infested nut, a cream/white larva with a brown head surrounded by excrement may be found. A hole in a nut shell is a sign that the larvae has already finished feeding, and left the nut, substantially eaten out.

Nut weevil
Marvellous close-up details.
Thank you. 🙂