A class of linear kinetic equations in a Krein space setting