[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101027.113450.35054379.davem@davemloft.net>
Date: Wed, 27 Oct 2010 11:34:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: drosenberg@...curity.com
Cc: torvalds@...ux-foundation.org, jon.maloy@...csson.com,
allan.stephens@...driver.com, netdev@...r.kernel.org,
security@...nel.org
Subject: Re: [Security] TIPC security issues
From: Dan Rosenberg <drosenberg@...curity.com>
Date: Wed, 27 Oct 2010 14:26:19 -0400
> The proposed fix is a start, but it's not sufficient to completely fix
> the problem. What if the total of the iovecs wraps around back to 0?
> The total size will be returned as a small number, but large amounts of
> data will be copied into the allocated buffer since the individual
> iovecs can have arbitrary sizes.
The calculated length total is what should be used by the calling function
to decide how much to copy.
Sorry, I assumed the TIPC doing was sane like the rest of the networking.
:-(
I'll fix this up.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists