Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1283471

Re: Accessing user-land memory without safe functions

From Jonathan Corbet <corbet@lwn.net>
Newsgroups linux.kernel
Subject Re: Accessing user-land memory without safe functions
Date 2015-12-04 01:20 +0100
Message-ID <qBMgp-3Ms-11@gated-at.bofh.it> (permalink)
References <qBJ8U-1Cs-79@gated-at.bofh.it>
Organization LWN.net

Show all headers | View raw


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Accessing user-land memory without safe functions Scotty Bauer <sbauer@eng.utah.edu> - 2015-12-03 22:00 +0100
  Re: Accessing user-land memory without safe functions Jonathan Corbet <corbet@lwn.net> - 2015-12-04 01:20 +0100
    Re: Accessing user-land memory without safe functions Scotty Bauer <sbauer@eng.utah.edu> - 2015-12-04 01:40 +0100

csiph-web