A
hearing aid comprises a) an ITE-part adapted for being located at or in an
ear canal of the user, b) a forward path for
processing sound from the environment of the user. The forward path comprises b1) at least one first input
transducer providing at least one first electric input
signal representing said sound as received at the respective at least one first
microphone, said at least one first input
transducer being located to allow picking up sound from the environment of the user, b2) an
audio signal processor comprising a
gain unit for applying a frequency and / or level dependent prescribed
gain to compensate for a hearing impairment of the user to said at least one first electric input
signal, or a
signal or signals originating therefrom, and configured to provide a processed signal in dependence thereof, b3) an output
transducer for providing stimuli perceivable as sound to the user in dependence of said processed signal. The
hearing aid further comprises c) at least one second input transducer providing at least one second electric input signal representing said sound as received at the at least one second input transducer, the at least one second input transducer being located in said ITE-part to pick up sound at the
eardrum of the user, d) a correlator configured to determine a correlation measure between the at least one second electric input signal, or a signal originating therefrom, and a signal of the forward path and e) a
gain modifier configured to modify said gain of the gain unit in dependence of said correlation measure. A method of operating a
hearing aid is further disclosed.