mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* regression from your recent change to x86's copy_user_handle_tail()
@ 2015-04-22  6:33 Jan Beulich
  2015-04-23 15:33 ` Linus Torvalds
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Beulich @ 2015-04-22  6:33 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

Linus,

while the description of commit cae2a173fe certainly makes sense, the
change itself ignores the __probe_kernel_write() code path, for which
the destination address is expected to be in kernel space but accesses
may still fault. I.e. the use of plain memset() causes
__probe_kernel_write() to oops rather than return an error. Shouldn't
the "(unsigned long)to >= TASK_SIZE_MAX" be relaxed to take the
effect of set_fs() into account?

Thanks, Jan


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-24  6:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-22  6:33 regression from your recent change to x86's copy_user_handle_tail() Jan Beulich
2015-04-23 15:33 ` Linus Torvalds
2015-04-23 15:43   ` Jan Beulich
2015-04-23 15:52     ` Linus Torvalds
2015-04-24  6:51   ` Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®