lkml.org 
[lkml]   [2015]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Accessing user-land memory without safe functions
On Thu, 3 Dec 2015 13:54:30 -0700
Scotty Bauer <sbauer@eng.utah.edu> wrote:

> Since I've seen this a couple times now I'm wondering if my
> understanding of touching user-land memory is flawed.
>
> For the above example Ioctl, the proper way to get access to those fields
> through the safe copy_from_user or get_user() functions, correct?
>
> I'm wondering if I should submit patches to fix the issues I've found,
> but now I'm doubting whether they're really issues at all.

They sound like bugs to me, though it would be easier to say for sure with
a pointer to a specific function in the kernel source. Please point
something out, or, perhaps better, send a patch fixing one of them.

Thanks,

jon


\
 
 \ /
  Last update: 2015-12-04 01:21    [W:0.608 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site