lkml.org 
[lkml]   [2006]   [Aug]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 22 Aug 2006 07:07:55 +0400
FromSolar Designer <>
Subjectprintk()s of user-supplied strings (Re: [PATCH] binfmt_elf.c : the BAD_ADDR macro again)
On Mon, Aug 21, 2006 at 07:36:01PM -0400, Ernie Petrides wrote:
> -			printk(KERN_ERR "Unable to load interpreter %.128s\n",
> -				elf_interpreter);

I'd rather have this message rate-limited, not dropped completely.

Another long-time concern that I had is that we've got some printk()s
of user-supplied string data.  What about embedded linefeeds - can this
be used to produce fake kernel messages with arbitrary log level (syslog
priority)?  It certainly seems so.

Also, there are terminal controls...

Alexander
-
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/

\
 
 \ /
  Last update: 2006-08-22 05:15    [from the cache]
©2003-2008