lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140729080538.GA16199@distanz.ch>
Date:	Tue, 29 Jul 2014 10:05:38 +0200
From:	Tobias Klauser <tklauser@...tanz.ch>
To:	Anil Belur <askb23@...il.com>
Cc:	bjorn@...k.no, silvio.fricke@...il.com, gregkh@...uxfoundation.org,
	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] drivers: staging: vt6655: ioctl.c - missing __user
 annotation

On 2014-07-28 at 09:58:12 +0200, Anil Belur <askb23@...il.com> wrote:
> From: Anil Belur <askb23@...il.com>
> 
> - private_ioctl() the internally calls copy_{to,from}_user() and does
>   not use '__user' while refrencing user space pointers.
> - this patch passes __user annotation as a cast, when the pointer is
>  being refernced.

Wouldn't it be better to annotate the data member in struct tagSCmdRequest
with __user instead of introducing all these casts?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ