[lkml]   [2001]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [CHECKER] free bugs in 2.4.4 and 2.4.4-ac8

    Alan Cox writes:
    > > [BUG] seems possible --- or is some precondition guarenteed?
    > > /u2/engler/mc/oses/linux/2.4.4-ac8/net/ipv6/udp.c:438:udpv6_recvmsg: ERROR:FREE:453:438: WARN: Use-after-free of "skb"! set by 'kfree_skb':453
    > Looks right. Left for DaveM

    It's wrong, in the MSG_PEEK case skb->users is incremented by
    skb_recv_datagram, so to truly get rid of it we do indeed need to
    unlink it from the receive_queue then free it twice :-)

    David S. Miller
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:53    [W:0.035 / U:5.656 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site