How to resolve I 94 mismatch?

I 94 issued by CBP officer didn’t match the H4 extension application. The H4 extension was pending when I left the US to India but got processed while I was in India.

Did you present the H4 approval notice to CBP while entering back? The mismatch in I-94 number isn’t really an issue and doesn’t impact your legal status in the US. This can be fixed by traveling to Canada or Mexico border.