A song that is built around--or relies so heavily on--a sample from another it might (or might as well) be considered a mashup of the new song and the sampled one.
"Pepperâ by the Butthole Surfers samples âLoserâ by Beck, and âIce Ice Babyâ by Vanilla Ice samples âUnder Pressureâ by Queen so much that each might as well be called a mashup, or at least a "half-mash."