Skip to content
  • Mateusz Guzik's avatar
    mmc: fix 1-byte reallocs (when it should have been sizeof device_t) · 13c63ae0
    Mateusz Guzik authored
    Reported by KASAN:
    panic: ASan: Invalid access, 8-byte write at 0xfffffe00f0992610, RedZonePartial(1)
    panic() at panic+0xb5/frame 0xffffffff86a595b0
    __asan_store8_noabort() at __asan_store8_noabort+0x376/frame 0xffffffff86a59670
    mmc_go_discovery() at mmc_go_discovery+0x6c61/frame 0xffffffff86a5a790
    mmc_delayed_attach() at mmc_delayed_attach+0x35/frame 0xffffffff86a5a7b0
    [snip]
    
    Sponsored by:	Rubicon Communications, LLC ("Netgate")
    13c63ae0