Apple does not state whether the repair is free but if the warranty expires, Apple will still require an exception for these cases. Although not a widespread problem, there have been many complaints about iOS 11.3 users' microphone in the past few months.
See more: