Let R be a ring, and n a fixed nonnegative integer. An R-module W is called Ln-injective if ExtR1(M,W)=0 for any R-module M with flat dimension at most n. In this paper, we prove first that (Fn,Ln) is a complete hereditary cotorsion theory, where Fn (resp. Ln) denotes the class of all R-modules with flat dimension at most n (resp. Ln-injective R-modules). Then we introduce the Ln-injective dimension of a module and Ln-global dimension of a ring. Finally, over rings with weak global dimension ≤n, perfect rings, and Ln-hereditary rings, more properties and applications of Ln-injective modules, Ln-injective dimensions of modules and Ln-global dimensions of rings are given.