netdev
[Top] [All Lists]

Re: [patch] bug prematurely setting nr_frags

To: bcrl@xxxxxxxxxx (Benjamin LaHaise)
Subject: Re: [patch] bug prematurely setting nr_frags
From: kuznet@xxxxxxxxxxxxx
Date: Wed, 14 Aug 2002 02:27:56 +0400 (MSD)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20020813143120.C12730@redhat.com> from "Benjamin LaHaise" at Aug 13, 2 02:31:20 pm
Sender: owner-netdev@xxxxxxxxxxx
Hello!

> Ah, I see.  Care for a patch to remove it altogether then?

Well, someone wrote it for some purpose. :-) 


>                                                         As for the 
> bug, does anyone else see a place where nr_frags can be set without 
> initializing a page pointer? 

No. When does this happen?


> Otherwise it looks like a random memory corruption... what fun.

Well, even if this is corruption, it is unlikely to be random.
This maybe write beyond end of an skb, corrupting skb_shared_info.
At least, we had such place in netfilter fixed some time ago.

Alexey


<Prev in Thread] Current Thread [Next in Thread>