[lkml]   [2001]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [CHECKER] two probable security holes
On Mon, 24 Sep 2001, David S. Miller wrote:
> ifreq copied safely to kernel space, ifr.ifr_name[] is inside the
> struct and NOT a user pointer.

Sorry, my explanation of the checker may not have been clear enough-- a
format string error does not occur because the kernel dereferences a user
pointer. It happens because the format string to a printing function is
set by the user. You are correct that ifr_name[] is not a user pointer,
but the contents of that array could contain dangerous placeholders set by
the user. I hope that clears things up.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.070 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site