At the molecular level, CTLD and 4-PBA rescued ER stress and ferroptosis but promoted the SHH signaling pathway in cerebral infarction rats. Here, SHH is linked to brain infarction.