Its an airline rule to travel with 6 months validity period, its not upon the visa. Maybe you can extend the validity in your country like some country do.