This paper is concerned with the scattering problem of time-harmonic acoustic plane waves by a union of a crack and a penetrable inhomogeneous medium with compact support. The well-posedness of the direct problem is established by the variational method. An uniqueness result for the inverse problem is proved, that is, both the crack and the inhomogeneous medium can be uniquely determined by a knowledge of the far-field pattern for incident plane waves. The linear sampling method is employed to recover the location and shape of the combined scatterer. It is worth noting that we make the first step on reconstructing a mixed-type scatterer of a crack and an inhomogeneous medium by the linear sampling method.