[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170818.162219.1082889879381171834.davem@davemloft.net>
Date: Fri, 18 Aug 2017 16:22:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: netdev@...r.kernel.org, samuel@...tiz.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] irda: do not leak initialized list.dev to userspace
From: Colin King <colin.king@...onical.com>
Date: Thu, 17 Aug 2017 23:14:58 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> list.dev has not been initialized and so the copy_to_user is copying
> data from the stack back to user space which is a potential
> information leak. Fix this ensuring all of list is initialized to
> zero.
>
> Detected by CoverityScan, CID#1357894 ("Uninitialized scalar variable")
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists