• Andrew Morton's avatar
    [PATCH] svcsock use-after-free fix · 5c5f1d16
    Andrew Morton authored
    From: Neil Brown <neilb@cse.unsw.edu.au>
    
    Extract ->stamp from skb *before* freeing it in svcsock.c
    
    As we sometime copy and free an skb, and sometime us it in-place, we must
    be careful to extract information from it *before* it might be freed, not
    after.
    
    Manfred's page-unmapping debug patch found this one.
    5c5f1d16
svcsock.c 38.4 KB