[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110110.160620.133889003.davem@davemloft.net>
Date: Mon, 10 Jan 2011 16:06:20 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: remi.denis-courmont@...ia.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, dan.j.rosenberg@...il.com
Subject: Re: [patch v2] phonet: some signedness bugs
From: Dan Carpenter <error27@...il.com>
Date: Mon, 10 Jan 2011 17:06:58 +0300
> Dan Rosenberg pointed out that there were some signed comparison bugs
> in the phonet protocol.
>
> http://marc.info/?l=full-disclosure&m=129424528425330&w=2
>
> The problem is that we check for array overflows but "protocol" is
> signed and we don't check for array underflows. If you have already
> have CAP_SYS_ADMIN then you could use the bugs to get root, or someone
> could cause an oops by mistake.
>
> Signed-off-by: Dan Carpenter <error27@...il.com>
Applied.
--
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