Topo Hispania by SinRenkor is definitely not legal to upload to osm. It’s said for Garmin that they didn’t release any topo maps in Spain until everyone had already the Topo Hispania installed.

The maps originate from Raster Maps AFAIK - and those were definitely mostly still under copyright.