[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101223.100920.48494288.davem@davemloft.net>
Date: Thu, 23 Dec 2010 10:09:20 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: drosenberg@...curity.com
Cc: samuel@...tiz.org, netdev@...r.kernel.org, security@...nel.org
Subject: Re: [PATCH] irda: prevent integer underflow in IRLMP_ENUMDEVICES
From: Dan Rosenberg <drosenberg@...curity.com>
Date: Wed, 22 Dec 2010 18:58:27 -0500
> If the user-provided len is less than the expected offset, the
> IRLMP_ENUMDEVICES getsockopt will do a copy_to_user() with a very large
> size value. While this isn't be a security issue on x86 because it will
> get caught by the access_ok() check, it may leak large amounts of kernel
> heap on other architectures. In any event, this patch fixes it.
>
> Signed-off-by: Dan Rosenberg <drosenberg@...curity.com>
Applied, thanks.
--
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