I went through the same thing with my 2017 Canyon a couple years ago. Put a K&N filter on because why not, its supposed to be quality products and the K&N website swears up and down their filters don't damage MAF sensors. Well they do. Got around 15k miles with it before CIL started popping up. I even opened a claim with K&N and had a personal service rep who was supposed to "go to bat" for me with my warranty claim at the stealership as I was still under the impression that I was right, dealership was wrong or misdiagnosed my truck as it was still under warranty.
I lost a lot of respect for K&N after that experience as it become obvious they'll say anything to get the sale and keep customers buying filters. They never talked to the dealership about my case, and wouldn't contact me or return calls after the initial conversation. They said something like "don't worry, this happens all the time, the dealerships have no idea what their talking about, we have all this data, and bla bla we'll sort this out." Replaced the MAF sensor and back to OEM filter about 50k miles ago and haven't seen another CIL sense.
But don't take my word for it. Open a claim with K&N and see what they tell you. Also there is overwhelming anecdotal evidence on forums like these, that oil bath filters (like K&N) will absolutely interfere or damage modern MAF sensors. To be honest if K&N were a decent company, they wouldn't even sell filters for vehicles with modern MAF sensors, but hey there's a sucker born every minute.